Skip to main content
GET
Who Am I

Authorizations

Authorization
string
header
required

Use Tuner API key (tr_api_...) or user session token. Find your API key in Workspace Settings > API Keys.

Query Parameters

agent_remote_identifier
string | null

An agent's Agent ID in Tuner (Agent Settings > Agent Connection > Agent ID). When sent, the matching agent of the key's workspace is returned.

Example:

"booking-staging"

Response

Successful Response

The workspace and key behind an API key, and optionally an agent.

workspace
WhoamiWorkspace · object
required

The workspace the API key belongs to.

api_key
WhoamiApiKey · object
required

The API key the request was made with. The key itself is never returned.

agent
WhoamiAgent · object | null
required

The agent with agent_remote_identifier; null when it was not sent.