For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get Me

Retrieve your own user ID, organization, and the workspaces you can see.

Call this first when building against a new token. It tells you whether the token is scoped to a single workspace (Admin) or your whole organization (Org admin), which decides which endpoints below it can call.

get
/me
Authorizations
AuthorizationstringRequired

A Personal Access Token (PAT).

Responses
200

Successful Response

application/json
get/me
curl -L https://api-external.zenlytic.com/api/v2/me \
  -H 'Authorization: Bearer YOUR_TOKEN'
{
  "data": {
    "user_id": "usr_111",
    "organization": {
      "id": "org_123",
      "name": "Acme Corp"
    },
    "workspaces": [
      {
        "id": "ws_456",
        "name": "acme-prod"
      }
    ]
  },
  "meta": {
    "status": "success",
    "errors": [],
    "warnings": []
  }
}

Last updated

Was this helpful?