List documents
const url = 'https://api.adversarial.com/api/v1/documents?version=2024.4.1';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.adversarial.com/api/v1/documents?version=2024.4.1'Returns one row per (slug, version) the organization can see: its current documents, a version held for adoption, and any retired versions it previously used. Workflow state is absent only on retired rows.
Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Responses
Section titled “Responses”List all documents
A list of compliance documents with their current status.
Provides basic information about one version of a document. The document list contains one row per (slug, version) the organization can see.
object
When the organization retired this version. Only set on archived rows.
The compliance-program section containing a document.
The edition of a document as YYYY.M.N: the year and month it was issued, then a sequence number counting editions issued in that month. Components carry no leading zeros.
The document has not been initialized yet. It is possible for the document to have details, meaning that a proposal is “open” to initialize it.
object
The initial proposal is being opened
object
The initial proposal is being opened
object
The edition of a document as YYYY.M.N: the year and month it was issued, then a sequence number counting editions issued in that month. Components carry no leading zeros.
The document has been initialized and is ready for use
object
The document has been initialized and is ready for use
object
The edition of a document as YYYY.M.N: the year and month it was issued, then a sequence number counting editions issued in that month. Components carry no leading zeros.
The version this row describes.
Whether a document version is the organization’s current one, a retired one it previously used, or an in-flight adoption draft.
Example
[ { "category": "governance", "latest_version": "2026.9.1", "slug": "cisp", "state": { "value": "uninitialized" }, "version": "2026.9.1", "version_state": "current" }]