Skip to main content
GET
/
me
Identify the caller
curl --request GET \
  --url https://app.gc.ai/api/external/v1/me \
  --header 'Authorization: <api-key>'
{
  "api_key_id": "<string>",
  "organization": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "<string>"
  },
  "user": {
    "id": 123,
    "email": "<string>"
  }
}

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
required

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