Skip to main content
GET
curl

Authorizations

Authorization
string
header
required

An API key (sig_...), or a session token from the web app.

Response

The principal.

object
enum<string>
required
Available options:
principal
kind
enum<string>
required
Available options:
key,
person
organizationId
string
required

The workspace: an organization id, or user:<id> for a personal workspace.

userId
string | null
required

The person's user id; null for a key.

key
object | null
required
rateLimits
object
required