Skip to main content
Organizations are the top-level container for users and projects. Use these endpoints to list orgs visible to your account and update org-level settings.

Basic request and response

List organizations visible to your account with GET /api/v1/app/organization.
curl "https://{BASE_URL}/api/v1/app/organization" \
  -H "Authorization: Bearer {API_TOKEN}"
[
  {
    "name": "Aurora Labs",
    "context": "Enterprise R&D and analytics.",
    "email_regex": ".*@auroralabs.com"
  }
]

Update organization settings

curl -X POST "https://{BASE_URL}/api/v1/app/organization" \
  -H "Authorization: Bearer {API_TOKEN}" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Aurora Labs",
    "context": "Private AI platform for product and support teams.",
    "email_regex": ".*@auroralabs.com"
  }'
HTTP/1.1 200 OK

Errors and edge cases

  • 401/403: missing or invalid API token.
  • 400: invalid regex or payload shape.