List the customer terms' documents
GET
/api/legal
const url = 'https://forge.example.com/api/legal';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/legalThe terms of service, the acceptable use policy and the data processing terms: for each that is published, the version in effect with the day it took effect, and the next version when one is announced. Empty until the hosted service publishes its terms. contact is where to write about them. Needs no token.
Responses
Section titled “Responses”OK
Media typeapplication/json
object
applies
required
boolean
contact
required
null | string
Example generated
{ "applies": true, "contact": "example", "documents": [ { "kind": "example", "title": "example", "version": "example", "effective": "2026-04-15", "published": true, "upcoming": { "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"}