Skip to main content
GET
/
v1
/
legal
/
{type}
Read legal content for a type and the caller's organization
curl --request GET \
  --url https://{host}/v2/workspaces/slug:ai-governance-v2/webhooks/v1/legal/{type} \
  --header 'Authorization: Bearer <token>'
{
  "type": "<string>",
  "orgSlug": "<string>",
  "content": "<string>"
}

Authorizations

Authorization
string
header
required

User-bound credential carrying an identity: either a session JWT or a user access token (at:*) generated from the user settings UI. Send as Authorization: Bearer <token>. Org API keys (iak_*) are not accepted here - they carry no user identity. Use the x-prismeai-api-key header instead (see OrgApiKeyAuth).

Path Parameters

type
string
required

Legal document type slug (e.g. cgu, privacy-policy, secure-chat).

Maximum string length: 64
Pattern: ^[a-z0-9-]+$

Response

Legal document content (or empty when missing).

Per-org legal document for a given type slug. Backed by the platform /files API (file id legal-{orgSlug}-{type}).

type
string
orgSlug
string
content
string

Raw HTML content; empty string when no document is stored.