Skip to main content
POST
Credit agent budget

Authorizations

Authorization
string
header
required

Clerk session JWT (deployments with Clerk auth) — validated per request (issuer + signature + lifetime + authorized-party). The internal Boardy tenant/member are resolved from the token's ACTIVE Clerk organization (org_id) → the Boardy tenant it maps to → this user's member in that tenant (#356). A token with no active organization is rejected; production never trusts spoofable X-Tenant-Id/X-Member-Id headers. The same normalized context backs the SPA, this OpenAPI surface, and MCP.

Headers

Idempotency-Key
string

Path Parameters

id
string<uuid>
required

Body

application/json
amountMinor
required

Response

OK

agentMemberId
string<uuid>
required
amountMinor
required
balanceBeforeMinor
required
balanceMinor
required