Skip to main content
POST
Verify an intent

Authorizations

x-api-key
string
header
required

Your Chance API key (chance_sk_…), created in the dashboard.

Body

application/json
intent
string
required

What the agent is mandated to do — its policy, thesis, or rules.

Example:

"Only buy favorites priced >= 95c. Reject longshots. Max $10 per market."

action
string
required

The specific action the agent proposes to take, checked against the intent.

Example:

"Buy YES on the Will-X-win market @ 21c for $10."

context
object

Optional extra context for the judge (any JSON object).

preset
string
default:pretrade

The judge lens to apply.

Response

Verdict produced.

id
string

Verification id (UUID).

requestHash
string

Stable 0x… id for this verification.

status
string
Example:

"COMPLETED"

verdict
enum<string>

ALLOW = matches intent; BLOCK = violates it; ESCALATE = genuinely ambiguous, needs a human.

Available options:
ALLOW,
BLOCK,
ESCALATE
reasoning
string | null
proof
object

The receipt that makes the verdict independently verifiable.

creditsRemaining
integer