List documents
const url = 'https://api.adversarial.com/api/v1/documents?version=2024.04.01&freetext=incident%20response';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.04.01&freetext=incident%20response'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”Only return rows for this version.
Example
2024.04.01Only return documents matching this text. Every whitespace-separated word must appear in the title, description or slug, so adding words narrows the result rather than widening it. Case-insensitive.
Example
incident responseResponses
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.MM.NN: the year and month it was issued, then a two-digit sequence number counting editions issued in that month.
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.MM.NN: the year and month it was issued, then a two-digit sequence number counting editions issued in that month.
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.MM.NN: the year and month it was issued, then a two-digit sequence number counting editions issued in that month.
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.09.01", "slug": "cisp", "state": { "value": "uninitialized" }, "version": "2026.09.01", "version_state": "current" }]