getGet current capabilities

Returns the raw RBAC projection of the current token: flat capability list and per-grant scope/propagation tuples. Source is the request context populated by AuthGuard.

Request

Request URL

GET
GET /me/capabilities

Responses

Response

application/json
{
  "capabilities": [
    "withdrawals.create",
    "deposits.read",
    "clients.read"
  ],
  "context": "enterprises/b8e2f1a0-4c3d-4e5f-9a1b-2c3d4e5f6a7b",
  "identity_source": "platform-managed",
  "scope_grants": [
    {
      "anchor_kind": "explicit",
      "capabilities": [
        "withdrawals.create",
        "deposits.read"
      ],
      "propagation": "subtree",
      "scope": "enterprises/b8e2f1a0-4c3d-4e5f-9a1b-2c3d4e5f6a7b"
    }
  ],
  "subject": "b8e2f1a0-4c3d-4e5f-9a1b-2c3d4e5f6a7b",
  "subject_kind": "user"
}

Operation succeeded.