BeeBridge AIBeeBridge AI
API Reference
Management APIManagement PAT integration and migration
⚠️Compliance notice: Use this project only for lawfully authorized API gateway, internal management, and private deployment scenarios. Follow upstream terms of service, platform rules, regulatory requirements, and content safety requirements.

Create a management PAT

Use the session access_token returned by password or OAuth sign-in. A PAT cannot manage or create PATs.

The plaintext is returned only in this response. If creation has an unknown outcome, reconcile the list before retrying; the list never returns plaintext.

POST
/api/user/access_tokens
AuthorizationBearer <token>

Use the session access_token returned by password or OAuth sign-in. A PAT cannot manage or create PATs.

In: header

Header Parameters

X-Security-Proofstring

Short-lived, single-use security proof bound to the current identity and exact operation. It is neither a PAT nor a model API key.

namestring
Length1 <= length <= 64
scopesarray<string>

Permissions to grant to the PAT. Select from the current account catalog; a PAT cannot elevate the account.

Items1 <= items
expires_atinteger

Unix timestamp in seconds. Zero means no expiry; a positive value must be at least one hour in the future at creation. Reuse the exact value for verification and creation.

Formatint64
Range0 <= value

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://api.beeaicloud.com/api/user/access_tokens" \  -H "X-Security-Proof: string" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "scopes": [      "string"    ],    "expires_at": 0  }'
{
  "success": true,
  "message": "string",
  "data": {
    "token": "string",
    "item": {
      "id": 0,
      "name": "string",
      "token_ref": "string",
      "token_hint": "string",
      "scopes": [
        "string"
      ],
      "expires_at": 0,
      "created_at": 0,
      "last_used_at": 0,
      "last_used_ip": "string"
    }
  }
}
{
  "success": false,
  "message": "string",
  "code": "string",
  "data": {
    "code": "string"
  }
}
{
  "success": false,
  "message": "string",
  "code": "string",
  "data": {
    "code": "string"
  }
}
{
  "success": false,
  "message": "string",
  "code": "string",
  "data": {
    "code": "string"
  }
}
{
  "success": false,
  "message": "string",
  "code": "string",
  "data": {
    "code": "string"
  }
}

How is this guide?

Create a management PAT | BeeBridge AI