Skip to main content
GET
Identify the caller

Authorizations

Authorization
string
header
required

API key for authentication. Format: gcai_xxxxxxxxx

Create API keys in the GC AI app under Settings → API.

Response

The caller identity

token_type
enum<string>
required

Scope of the API key making the request. user for personal keys (u:gcai_...), organization for org keys (gcai_...).

Available options:
user,
organization
api_key_id
string
required

Identifier of the API key used to authenticate the request

organization
object
required
user
object | null
required

The authenticated user, or null for org-scoped keys (which carry no user identity).