Api
Me
The authenticated principal: who the current API key acts as.
GET
Resolve the API key's user, workspace/project scope, effective permissions, and plan.
HTTPBearerheader
AuthorizationBearer <token>Successful Response
application/json- response
Caller identity returned by the API /me endpoint.
user_id*User IdUser the API key acts as.
Format
uuidemail*EmailThat user's email.
Format
emailworkspace_id*Workspace IdWorkspace the key belongs to.
Format
uuidproject_id*|Project the key is limited to; null for workspace-wide keys.
api_key_id*Api Key IdThe calling API key.
Format
uuidrole_at_issuance*WorkspaceRoleUser's workspace role when the key was created; later role changes do not affect the key.
Value in
"OWNER""ADMIN""MEMBER""GUEST"scopes*array<string>Scopes granted to the key at creation.
permissions*array<>Effective capabilities: scopes intersected with role_at_issuance's permissions.
plan*WorkspacePlanThe workspace's plan, which decides the limits below.
Value in
"FREE""BASIC""STUDENT""TEACHER""PRO""GOLD""TEAM""ENTERPRISE""PAI_API_DEVELOPER""PAI_API_STARTER""PAI_API_GROWTH""PAI_API_SCALE"max_model*DeckGenerationModelHighest model that POST /decks accepts on this plan; a higher one is a 403 FEATURE_NOT_IN_PLAN.
Value in
"STANDARD""PRO""ULTRA"plan_features*array<>Features the plan unlocks.
curl -X GET 'https://api.presentations.ai/api/v1/me'Example Response
{ "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5", "email": "user@example.com", "workspace_id": "0967198e-ec7b-4c6b-b4d3-f71244cadbe9", "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9", "api_key_id": "b0dd218e-3bcf-4bdb-a1e3-0689d60a8afd", "role_at_issuance": "OWNER", "scopes": [ "string" ], "permissions": [ "workspace.read" ], "plan": "FREE", "max_model": "STANDARD", "plan_features": [ "EXPORT_PPTX" ]}