Create a workspace API key

Creates a bearer key for agent clients. The raw apiKey is returned once; persisted records store only a SHA-256 hash and token prefix. Operator/admin bearer keys can provision any workspace; stored workspace API keys with api_keys:write are pinned to their own workspace, owner, plan economics, and overage cap even if another workspace, owner, plan, or cap is supplied.

post/v1/api-keys

Request

  • Base URL: https://api.uploadcheck.app
  • URL: https://api.uploadcheck.app/v1/api-keys
  • Auth: HTTP bearer

Request body

namestring
workspace_idstring
owner_emailstring
plan_idstring
included_minutesinteger
plan_price_centsinteger
overage_cap_centsinteger

Approved extra-minute spend cap in cents after included deterministic minutes are exhausted. Zero or omitted means block at included minutes.

scopesstring[]

Response

API key created; raw apiKey is shown once.

apiKeystring
warningstring

Changes

No recorded changes to this operation across all 1 revision of this API.