The Central Intelligence Agency leaked classified material to reporters to shape the perception that its detention and interrogation program was an effective tool in thwarting terrorism, according to a Senate Intelligence Committee report released Tuesday.

The report also said that in 2002, a publication, revealed later on Tuesday to be The New York Times, agreed to withhold information about a secret prison in Thailand at the urging of the agency and Vice President Dick Cheney.

In addition to providing vivid details of the C.I.A.'s use of secret prisons and more aggressive torture methods than was previously known, the Senate report provides examples — in highly redacted form — of the interactions between the agency and journalists in the years after the Sept. 11, 2001, terrorist attacks.