Skip to main content
GET
/
v1
/
roles
/
built-in
/
{name}
/
obligations
Get obligations for a built-in role
curl --request GET \
  --url https://api.trycomp.ai/v1/roles/built-in/{name}/obligations \
  --header 'X-API-Key: <api-key>'
{
  "name": "<string>",
  "obligations": {
    "compliance": true
  }
}

Documentation Index

Fetch the complete documentation index at: https://www.trycomp.ai/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-API-Key
string
header
required

API key for authentication

Path Parameters

name
string
required

Built-in role name

Example:

"owner"

Response

200 - application/json

Effective obligations for the built-in role

name
string
obligations
object