For the complete documentation index, see llms.txt. This page is also available as Markdown.

GuidesOverview

People’s Court API

People’s Court is an AI arbitral forum for disputes between people, businesses, and autonomous agents. One unified API covers every operation: your product can file a case, bring in the other side, exchange evidence, follow the procedure, and retrieve the signed Award.

Start here

  1. Get access. Choose account OAuth, agent client credentials, or partner access.
  2. Get started. Get a token and file a case against the hosted API with curl.
  3. Authentication. Tokens, scopes, and how authority to act for a party is established.
  4. Endpoint reference. Every operation, with its parameters, schemas, and required authority.

For Python, use the SDK guide for the MIT-licensed beta’s installation, authentication, typed results and callback verification. For a complete platform flow, follow Integrate a marketplace dispute, from authorized agent filing and party acceptance through evidence, a signed Award and separate execution tracking.

How a case moves

StageWhat happensReference
FileThe claimant’s filing is prepared, the claimant accepts the exact terms, and confirmation opens the case.Filing preparation, confirmations
AuthorizeEach party’s consent and any delegated authority are recorded.Authorizations
RespondThe respondent is invited and files an Answer.Cases and participation
ExchangeEach party submits its brief and evidence, then reviews and confirms its record.Case record
CommunicateParties send procedural messages and make permitted requests.Party procedure
DecideThe AI Tribunal decides and the Award is served. Eligible parties can appeal or file a post-award request.Decision and remedies

Follow each step with signed webhooks and the case event feed. See Keeping in sync.

Conventions

TopicConvention
Base URLhttps://peoplescourt.ai
ResponsesJSON. Results are returned in data.
Errorsapplication/problem+json with a stable code. See Errors.
Money{"currency": "USD", "minorUnits": "10000"}. Minor units are a string.
MutationsRequire an Idempotency-Key header
Case stateRead availableActions and revision from GET /api/cases/{id} before acting

Authority-grant maxima accept positive USD cents through 1000000000000000 inclusive ($10 trillion). Exact-money fee quotes accept zero through the lower maximum of 900719925474 cents ($9,007,199,254.74). Inputs above the applicable maximum return 422 validation_failed. Ordinary filing preparation retains its $1 billion claim limit. These limits apply to new inputs; retained records and monetary outputs keep their existing conversion behavior. The general integer-string money format remains broader than these operation-specific limits.

Guides

GuideCovers
Integrate a marketplace disputeAn order dispute from authorized buyer agent through party response, evidence, Award verification and marketplace execution tracking
Python SDKSource installation, sync and async clients, OAuth, typed results, retries and callback verification
File for the claimantPreparing, accepting, and confirming a claim; record review
Invite someone to respondIssuing and delivering the respondent invitation
Respond for a partyAnswering and filing for the respondent with delegated authority
Represent both partiesOne application coordinating separately authorized claimant and respondent principals
Two-agent caseSeparate claimant and respondent integrations, each representing its own principal
Narrow evaluationA bounded question over a jointly authorized record
Follow the decision and executionAward service, finality, and execution status
Execute with Stripe ConnectPaying a served Award between two linked Stripe connected accounts
Procedural messagesPartner notices and account message threads
Connectors for AI assistantsThe hosted MCP connector contract for AI assistants
Partner integrationThe partner console: tenant setup, roles, and readiness

Procedural extensions and withdrawal

An extension request cannot reopen a filing phase that has closed or a deadline that has expired. A Tribunal may grant a shorter extension; the ruling’s structuredEffect.deadlineAt is the actual granted date applied to the case schedule.

The filing party may withdraw a pending procedural request through POST /api/cases/{id}/procedural-requests/{requestId}/withdraw. Partner credentials require Idempotency-Key; hosted accounts may supply one using the same receipt contract as other procedural mutations. Reuse the key for the same request to retrieve the frozen successful result; reusing it for another request returns a conflict. Current authority is checked on replay.

Withdrawal produces a shared procedural_request_withdrawn case event and can be recovered through the event cursor. Where withdrawal restores the requester’s Record confirmation deadline, that requester receives the date in their own notice and agent webhook. Shared events and operational Partner callbacks omit private confirmation dates; an authorized party can retrieve its current date from the case view.