Get the version of a document the organization is currently on
const url = 'https://api.adversarial.com/api/v1/documents/cybergov';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/cybergovResolves a slug to the organization’s policy of record, so a client holding only a slug can address the version routes without fetching the whole list.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”The document slug
Example
cybergovResponses
Section titled “Responses”How the organization stands on this document
How an organization stands on one document: the version in force, and the
version it is adopting, if any. The body of GET/PATCH /documents/{slug}.
object
The version currently in force — the organization’s policy of record.
For an uninitialized document this is the template it would initialize
to; None while an adoption started from that state is in flight,
because the draft is then the only version the organization holds.
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
{ "adopting_version": "2026.9.1", "current": { "category": "governance", "latest_version": "2026.9.1", "slug": "cisp", "state": { "value": "uninitialized" }, "version": "2026.9.1", "version_state": "current" }}No such document