Skip to main content
1

Sign in

Sign in at harness.chance.cc/login. Check your balance before running a paid verification.
2

Create an API key

Open harness.chance.cc/keys and click Create key. The key starts with chance_sk_live_ and is shown once. Keep it in a server-side secret, not in client code.
3

Verify an action

Send the user’s rules as intent and the proposed action as action. Authenticate with x-api-key: <key> or Authorization: Bearer <key>.

The response

A completed verification returns 201:
Execute the action only when verdict is "ALLOW". Treat every other value, including null and any non-201 response, as do not execute.

Errors

Next steps

  • Send the exact payload the venue will receive as action (a JSON object) and set venue. The judge then sees exactly what will be submitted, and the receipt records it. See Venues.
  • Fetch a past result with GET /api/v1/intent/{id}. Its response has a different shape: no mode, venue, actionFamily, actionType or creditsRemaining, a proof with anchorStatus (verified, pending or skipped) in place of anchorVerified, transcriptUri and explorerTx, and a createdAt. See Verification request.
  • Give an agent the same check as an MCP tool. See Connectors.