Skip to main content
GET
Python

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

Caller identity

object
enum<string>
required
Available options:
identity
user_id
string
required

The ID of the authenticated user.

current_teamspace_id
string
required

The teamspace ID this request is scoped to. Resolution depends on the caller type:

  • Org-scoped API keys (default): always the teamspace the key was minted in. The Datagrid-Teamspace header is ignored.
  • Account-scoped API keys (scopeLevel: "account"): the teamspace selected by the Datagrid-Teamspace header, when that teamspace lives under the same account as the key. Falls back to the key's home teamspace when the header is absent.
  • JWT callers: the Datagrid-Teamspace header when present (and the user is a member), otherwise the user's default teamspace.
teamspaces
object[]
required

All teamspaces the authenticated user is a member of.