List the current versions of Legion's legal documents
No key neededUnauthenticated. The Terms of Use, the Acceptable Use Policy, the Privacy Policy and Data Handling, each with its current version, effective date, title and public page. acceptance says whether a person agrees to the document (agree: terms and acceptable_use) or acknowledges having read it (acknowledge: privacy and data_handling); both happen in the one acceptLegalDocuments call. A new version of an agree document must be accepted again before the API can be used (403 terms_).
Anonymous: no key is needed or read.
https://api.legion.ambient.xyz/v1/legal/documentscurl -s "https://api.legion.ambient.xyz/v1/legal/documents"{
"items": [
{
"key": "terms",
"version": "1.0",
"effective": "2026-10-15",
"title": "Terms of Use",
"url": "https://legion.ambient.xyz/terms",
"acceptance": "agree"
}
]
}Example values.
Responses
200The current documents, in the order they are shown.The current documents, in the order they are shown.
itemsarray of LegalDocumentRequiredChild fields · 6
keyLegalDocumentKeyRequiredA legal document:
terms(Terms of Use),acceptable_(Acceptable Use Policy),use privacy(Privacy Policy),data_(Data Handling).handling one of: "terms", "acceptable_use", "privacy", "data_handling"
versionstringRequiredThe current version. A new version of an
agreedocument must be accepted again.effectivestring (date)RequiredThe date the current version took effect.
titlestringRequiredurlstring (uri)RequiredThe document's public page.
acceptancestringRequiredagree: the person agrees to it, and the API is refused until the current version is accepted.acknowledge: the person confirms having read it, in the same step.one of: "agree", "acknowledge"
500An unexpected server error. Safe to retry.An unexpected server error. Safe to retry.
typestringRequiredURI reference identifying the problem type.
titlestringRequiredstatusintegerRequiredcodestringRequiredStable machine-readable error code.
detailstringinstancestringThe request path that produced the problem.