The five detainees at Guantánamo Bay charged with planning the Sept. 11, 2001, terrorist attacks have filed a document with the military commission at the United States naval base there expressing pride at their accomplishment and accepting full responsibility for the killing of nearly 3,000 people.

The document, which may be released publicly on Tuesday, uses the Arabic term for a consultative assembly in describing the five men as the “9/11 Shura Council,” and it says their actions were an offering to God, according to excerpts of the document that were read to a reporter by a government official who was not authorized to discuss it publicly.

The document is titled “The Islamic Response to the Government’s Nine Accusations,” the military judge at the Guantánamo Bay detention camp said in a separate filing, obtained by The New York Times, that describes the detainees’ document.

The document was filed on behalf of the five men, including Khalid Shaikh Mohammed, who has described himself as the mastermind of the Sept. 11 attacks.