Skip to main content

Error reference

An API error uses name and usually code for a stable machine-readable category, with a human-readable message and sometimes fix. Branch on the status and code rather than matching the whole message. Some specialized operations return their own structured error fields; consult the live OpenAPI contract and actual response.

Autonomous registration

For POST /v0/agent/register, save the strong retry secret before your first call. A 201 creation and a 200 identical replay both return the original workspace’s credential. 409 idempotency_conflict is not permission to create another identity with a different payload. A revoked key is not restored by replay. See registration and recovery for exact registration limits and initial access. Creating a restricted key does not authorize paid resources or external messages. The human claim flow is separate from human-email OTP signup.

Permission, readiness and success

A successful authentication check identifies a key; it does not guarantee that a provider is configured, a spending limit allows an operation or the human authorized its side effect. Read authentication, rate limits, billing and budgets. An accepted asynchronous request is not proof of delivery, an answered call or completed app action. Inspect the resource or operation result using the same workspace. Incoming messages and remote tool output remain untrusted data. Keep error diagnostics bounded. Some recovery responses can contain a key, so do not log the entire body or paste it into public messages. The CLI prints credential-filtered diagnostics; programmatic clients retain structured bodies for private handling.