Skip to main content
POST
Must be called by the contract’s client or worker — any other caller is rejected. Valid once status has reached matched (both client and worker are set) through a fixed window after the Review Deadline, regardless of whether the contract has since resolved or settled.
This is a generic Working Contract capability — see Complaints — for either party to flag the other party’s conduct, separate from Dispute Delivery, which contests delivery quality and directly decides the payout. No payment is attached to this call, and a complaint never moves funds — it’s reviewed directly (not by Backup Agents) and only ever produces a reputational record.

Path Parameters

string
required
The contract ID.

Request Body

object
required
Application-specific evidence — e.g. TokenSwap’s reference to a receipt with contentPolicyViolation: true. Stored as-is; not validated against any shape at this level. See AI Usage Ticket.

Response

Returns the created complaint, status: "pending".

List Complaints

GET /v1/contracts/{id}/complaints This endpoint is public — no API key required. Returns every complaint on the contract, oldest first.