Get a legal document
Returns the revision of one document that is currently in force, or a
specific revision when version is supplied.
Pass the version you displayed back as legal_document_version when
submitting an attestation, so the acceptance record names the exact text
the customer saw rather than whichever revision happened to be current
when the request arrived.
Path Parameters
Document identifier, e.g. dakota_tos.
Query Parameters
A specific published revision. Omit for the revision in force now.
Response
The requested revision.
One published revision of a legal document.
A revision is IMMUTABLE: version identifies an exact text, and that
text never changes once published. Correcting a document produces a new
revision rather than editing an existing one, so an acceptance recorded
against a version always refers to the same words.
Stable identifier for the document across all its revisions.
"dakota_tos"
The published revision identifier, taken from the document itself. Treat it as opaque — do not parse or compare it for ordering.
"2026-07-23"
Monotonic ordinal within key. Unlike version, this is ordered:
a higher number is a later revision.
4
Media type of content.
"text/markdown"
"Dakota Terms of Service"
The document text, in content_type format. Render this to your
customer before capturing acceptance.
Present when a single document is fetched by key. OMITTED from the
GET /legal/documents index, which carries identity and revision
only — fetch the document you intend to display.
"This Platform Services Agreement (the \"Agreement\")…"
Where the document is published for humans to read.
"https://dakota.xyz/terms"
The date printed inside the document — what the customer reads as "Last Updated". Show this alongside the text.
Absent for imported historical revisions whose stated date could not be established.
"2026-07-23"

