Skip to main content
GET
/
v1
/
api-tokens
/
scopes
List available token scopes
curl --request GET \
  --url http://co-mind-platform-host/v1/api-tokens/scopes \
  --header 'Authorization: Bearer <token>'
{
  "scopes": [
    "<string>"
  ],
  "is_admin": true
}

Authorizations

Authorization
string
header
required

Bearer token authentication. Supports two token types:

  • JWT Access Token — obtained via POST /v1/auth/login
  • Personal Access Token (PAT) — created via POST /v1/api-tokens, format: cmnd_<tokenId>.<secret>

Response

Available scopes

scopes
string[]
is_admin
boolean