Skip to main content
GET
Read the calling token: user, scopes, allowed workspaces, expiry.
Scope: none. Any valid token can call this.

Authorizations

Authorization
string
header
required

CloudThinker token: a personal access token ct_pat_… (fine-grained scopes, created in Settings) or an OAuth access token ct_oat_… (1 hour, from the OAuth flow). Send Authorization: Bearer <token>. Scopes have the form module:resource:read|write; write includes read.

Response

OK

The calling token: user, client, scopes, allowed workspaces, expiry. Never a secret.

token_id
string<uuid> | null
required

Null for a browser session.

user_id
string<uuid>
required
client
enum<string>
required
Available options:
mcp,
cli,
sdk,
web,
machine
scopes
string[]
required
workspace_ids
string<uuid>[]
required

Workspaces this token may name in a path.

expires_at
string<date-time> | null
required
service_account_id
string<uuid> | null

Machine account identity; null for a human token.