Skip to main content
POST
Relay Web Agent Confirm Billing

Headers

Moda-Version
enum<string>
default:2026-05-01

Calendar-dated API version pin. New integrations should pin 2026-05-01 to opt into the newest response shapes. For back-compat the server also accepts requests with no header and resolves them to the current default (today: 2026-04-12); that default advances on each sunset date. Any unsupported value returns 400 unsupported_version.

Available options:
2026-04-12,
2026-05-01
Example:

"2026-05-01"

Body

application/json
request_id
string
required
Required string length: 1 - 128

Response

Successful Response

GET /relay/web-agent and POST /relay/web-agent/confirm-billing: the web agent's included time.

web_agent_enabled
boolean
required
web_agent_allowance
enum<string> | null
required
Available options:
ok,
exhausted_free,
needs_confirm,
billing
included_minutes
integer
required
included_used_minutes
integer
required
included_remaining_minutes
integer
required