Skip to main content
GET
/
api
/
cli
/
health
Validate API key
curl --request GET \
  --url https://operator.io/api/cli/health \
  --header 'Authorization: Bearer <token>'
{
  "authenticated": true,
  "userId": "<string>",
  "planSlug": "<string>",
  "planName": "<string>",
  "hasPlan": true,
  "tokenLimit": 123
}

Authorizations

Authorization
string
header
required

API key (ck_live_...). Create one in Settings > API Keys.

Response

Key is valid.

authenticated
boolean
userId
string
planSlug
string | null
planName
string | null
hasPlan
boolean
tokenLimit
integer