American International Group Inc , which has received $180 billion in U.S. taxpayer money, was subpoenaed on Thursday by New York's top legal officer for information on its credit default swaps contracts, sources familiar with the matter said.

Details were being sought on contracts going back seven months, including those that have been wound down by AIG's Financial Products unit and those that have not, involving billions of dollars, one of the sources said.

A spokesman for AIG declined to comment.

The request stems from New York Attorney General Andrew Cuomo's investigation into $165 million paid to employees at the unit in retention bonuses this month.

AIG has said it needed to keep certain employees to help unwind complex derivatives partly blamed for its troubles. Fifteen of the top 20 bonus earners have paid back their bonuses, Cuomo said on March 23.

AIG said on Thursday two top managers in Paris have resigned but will remain in place to oversee an orderly transition, reducing the risk of default on derivatives contracts.

Cuomo's office has been looking into various aspects of the financial industry meltdown since last September, including whether the credit default swaps (CDS) market was manipulated by short sellers spreading false rumors.

At the time AIG did provide the attorney general's office with documents on CDS, another source familiar with the matter said.

One of the sources said Thursday's request was a different look at the unwinding of contracts with the use of federal taxpayer funds to do that.

The sources requested anonymity because they were not authorized to speak publicly on the issue.

The CDS market is largely unregulated and opaque, comprised of privately negotiated contracts among fund managers and broker-dealers. They may be used for emerging market bonds, mortgage backed securities, corporate bonds and local government bonds.

(Reporting by Grant McCool; editing by Carol Bishopric)