Workspaces
Topup Child Workspace
Top up a customer workspace's balance. Returns 404 if not yours, 403 if suspended, 409 if parent has insufficient balance.
Requires Idempotency-Key header for retry safety. amount_usd is parsed as a decimal and converted to microdollars (1 USD = 1,000,000 microdollars). Non-positive or non-integral microdollars are rejected with 422.
post/api/v1/workspaces/{workspace_id}/credits
Request
- Base URL: https://api.dialogbrain.com (the document declares no server; this is the origin it was published from)
- URL: https://api.dialogbrain.com/api/v1/workspaces/{workspace_id}/credits
- Auth: none declared
Path parameters
workspace_idinteger required
Headers
Idempotency-Keystring nullable
Request body
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 5 revisions of this API.