Skip to main content

Documentation Index

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

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

Endpoint

GET /users/org-info

Authentication

This endpoint requires authentication via API key. Include your API key in the X-API-Key header:
X-API-Key: ca_your_api_key_here

Request Example

curl https://platform.chamelio.ai/users/org-info \
  -H "X-API-Key: ca_your_api_key_here"

Response

Success Response

Status Code: 200 OK
{
  "org_name": "Acme Corporation",
  "rate_limit_per_minute": 120,
  "entities": [
    {
      "legal_entity_id": 1,
      "name": "Acme Inc.",
      "entity_type": "corporation",
      "jurisdiction": "Delaware"
    },
    {
      "legal_entity_id": 2,
      "name": "Acme Ltd.",
      "entity_type": "limited_company",
      "jurisdiction": "United Kingdom"
    }
  ],
  "api_key_id": 42
}

Response Fields

FieldTypeDescription
org_namestringThe name of your organization
rate_limit_per_minuteintegerThe maximum number of API requests allowed per minute for this API key
entitiesarrayList of legal entities associated with your organization
api_key_idintegerThe unique identifier for the API key used in this request

Entity Object Fields

Each entity in the entities array contains:
FieldTypeDescription
legal_entity_idintegerUnique identifier for the legal entity
namestringName of the legal entity
entity_typestringType of legal entity (e.g., corporation, limited_company)
jurisdictionstringLegal jurisdiction of the entity

Error Responses

401 Unauthorized

Returned when authentication fails. See the authentication errors section for details.
{
  "detail": "Invalid API key"
}

404 Not Found

Returned when the organization associated with the API key cannot be found.
{
  "detail": "Organization not found"
}

Use Cases

This endpoint is useful for:
  • Verifying API key status - Test that your API key is valid and active
  • Retrieving organization context - Get information about your organization for integration purposes
  • Entity management - Access the list of legal entities configured in your organization
  • Rate limit awareness - Understand the rate limits applied to your API key