Audience: application and coding agent.
Canonical metadata
requestIdtraceparent
Example request
Credit top-ups require a WorkOS bearer session with
billing:manage and are limited to pay-as-you-go organizations with prepaid credits enabled. API keys are rejected, and the body must include a positive amountUsd.Example response
Give this prompt to your agent
Failure posture
- treat non-2xx responses as contract-aware failures, not free-form errors
- preserve
requestIdandtraceparentin logs and downstream reports - if provenance or freshness metadata is present, return it unchanged so trust is not lost in the handoff

