Skip to content

List the customer terms' documents

GET
/api/legal
curl --request GET \
--url https://forge.example.com/api/legal

The 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.

OK

Media typeapplication/json
object
applies
required
boolean
contact
required
null | string
documents
required
Array<object>
object
kind
required
string
title
required
string
version
required
string
effective
required
string format: date
published
required
boolean
upcoming
required
One of:
null

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
}
}
]
}

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"
}