api-keys

Create a new API key for the authenticated user.

post/v1/api-keys

Request

  • Base URL
    https://api.beeble.ai
  • Auth
    API key in header x-api-key

Headers

authorizationstring

Request body

namestring nullable

Optional display name for the key

organization_idstring nullable

Bind to this Team or Enterprise organization; must match the active Clerk organization. Omit for a personal key.

team_idstring nullable

Bind an organization key to one of the issuer's internal teams. Every request with the key then runs in this team without an X-Beeble-Team-Id header.

Response

Successful Response

key_idstring required
api_keystring required

Full API key, shown only once at creation

namestring required
created_atstring required
organization_idstring nullable
team_idstring nullable
default_billing_unit'usd' | 'credits'
product_apiboolean

Whether the key can call the credit-billed /v1/products endpoints.

Changes

    • info

      added the new optional request property

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status