Skip to Content
Open Retainer
Workspace

Verify the caller and workspace

GET
/v1/me

Read the workspace, actor, scopes, and capabilities associated with this credential. Requires a workspace API key.

Authorization

bearerAuth
headerAuthorizationBearer <token>

A workspace API key.

Response Body

Successful response.

application/json
  1. response
workspace*
actor*
scopes*array<>
person*boolean
routinesAvailable?boolean
agentAvailable?boolean
Example Request
curl -X GET 'https://retainer.tamloot.cc/v1/me' \  -H 'Authorization: Bearer YOUR_WORKSPACE_API_KEY'
Example Response
{  "workspace": {    "id": "d2c0648c-2994-4f16-bdf1-a0136be6037d",    "name": "Acme",    "slug": "acme"  },  "actor": {    "type": "agent",    "id": "inbox",    "name": "Inbox agent"  },  "scopes": [    "read",    "write"  ],  "person": false}