Read a document of the customer terms
GET
/api/legal/documents/{kind}
const url = 'https://forge.example.com/api/legal/documents/example';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://forge.example.com/api/legal/documents/examplekind is terms, acceptable-use or data-processing. Without version, the version in effect today; with it, the one named, which is how a person reads the version they accepted. text is Markdown. versions lists every version, newest first. Needs no token.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”kind
required
string
Query Parameters
Section titled “Query Parameters”version
string
Responses
Section titled “Responses”OK
Media typeapplication/json
object
kind
required
string
title
required
string
version
required
string
effective
required
string format: date
published
required
boolean
summary
required
null | string
text
required
string
current
required
boolean
inEffect
required
boolean
contact
required
null | string
versions
required
Array<object>
object
version
required
string
effective
required
string format: date
published
required
boolean
Example generated
{ "kind": "example", "title": "example", "version": "example", "effective": "2026-04-15", "published": true, "summary": "example", "text": "example", "current": true, "inEffect": true, "contact": "example", "versions": [ { "version": "example", "effective": "2026-04-15", "published": true } ]}default
Section titled “default”A refusal or an error, as a problem document. A model or draft you may not see answers 404, as one that does not exist.
Media typeapplication/problem+json
object
type
string
title
string
status
integer
detail
string
instance
string
Example generated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}