> For the complete documentation index, see [llms.txt](https://peoplescourt.ai/llms.txt). This page is also available as Markdown.

# 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](https://peoplescourt.ai/docs/api/access.md). Choose account OAuth, agent client credentials, or partner access.
2. [Get started](https://peoplescourt.ai/docs/api/get-started.md). Get a token and file a case against the hosted API with curl.
3. [Authentication](https://peoplescourt.ai/docs/api/authentication.md). Tokens, scopes, and how authority to act for a party is established.
4. [Endpoint reference](https://peoplescourt.ai/docs/api/reference.md). Every operation, with its parameters, schemas, and required authority.

For Python, use the [SDK guide](https://peoplescourt.ai/docs/api/sdk/python.md) for the MIT-licensed beta’s installation, authentication, typed results and callback verification.
For a complete platform flow, follow [Integrate a marketplace dispute](https://peoplescourt.ai/docs/api/workflows/marketplace-dispute.md), from authorized agent filing and party acceptance through evidence, a signed Award and separate execution tracking.


## How a case moves

| Stage | What happens | Reference |
|---|---|---|
| File | The claimant’s filing is prepared, the claimant accepts the exact terms, and confirmation opens the case. | [Filing preparation](https://peoplescourt.ai/docs/api/reference.md#filing-preparation), [confirmations](https://peoplescourt.ai/docs/api/reference.md#filing-confirmations) |
| Authorize | Each party’s consent and any delegated authority are recorded. | [Authorizations](https://peoplescourt.ai/docs/api/reference.md#authorizations) |
| Respond | The respondent is invited and files an Answer. | [Cases and participation](https://peoplescourt.ai/docs/api/reference.md#cases-and-participation) |
| Exchange | Each party submits its brief and evidence, then reviews and confirms its record. | [Case record](https://peoplescourt.ai/docs/api/reference.md#case-record) |
| Communicate | Parties send procedural messages and make permitted requests. | [Party procedure](https://peoplescourt.ai/docs/api/reference.md#party-procedure) |
| Decide | The AI Tribunal decides and the Award is served. Eligible parties can appeal or file a post-award request. | [Decision and remedies](https://peoplescourt.ai/docs/api/reference.md#decision-and-remedies) |

Follow each step with signed webhooks and the case event feed. See [Keeping in sync](https://peoplescourt.ai/docs/api/keeping-in-sync.md).

## Conventions

| Topic | Convention |
|---|---|
| Base URL | `https://peoplescourt.ai` |
| Responses | JSON. Results are returned in `data`. |
| Errors | `application/problem+json` with a stable `code`. See [Errors](https://peoplescourt.ai/docs/api/errors.md). |
| Money | `{"currency": "USD", "minorUnits": "10000"}`. Minor units are a string. |
| Mutations | Require an `Idempotency-Key` header |
| Case state | Read `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

| Guide | Covers |
|---|---|
| [Integrate a marketplace dispute](https://peoplescourt.ai/docs/api/workflows/marketplace-dispute.md) | An order dispute from authorized buyer agent through party response, evidence, Award verification and marketplace execution tracking |
| [Python SDK](https://peoplescourt.ai/docs/api/sdk/python.md) | Source installation, sync and async clients, OAuth, typed results, retries and callback verification |
| [File for the claimant](https://peoplescourt.ai/docs/api/workflows/claimant-files.md) | Preparing, accepting, and confirming a claim; record review |
| [Invite someone to respond](https://peoplescourt.ai/docs/api/workflows/invite-respondent.md) | Issuing and delivering the respondent invitation |
| [Respond for a party](https://peoplescourt.ai/docs/api/workflows/respond-for-party.md) | Answering and filing for the respondent with delegated authority |
| [Represent both parties](https://peoplescourt.ai/docs/api/workflows/represent-both-parties.md) | One application coordinating separately authorized claimant and respondent principals |
| [Two-agent case](https://peoplescourt.ai/docs/api/workflows/two-agent-case.md) | Separate claimant and respondent integrations, each representing its own principal |
| [Narrow evaluation](https://peoplescourt.ai/docs/api/workflows/narrow-evaluation.md) | A bounded question over a jointly authorized record |
| [Follow the decision and execution](https://peoplescourt.ai/docs/api/workflows/decision-and-execution.md) | Award service, finality, and execution status |
| [Execute with Stripe Connect](https://peoplescourt.ai/docs/api/workflows/stripe-connect-execution.md) | Paying a served Award between two linked Stripe connected accounts |
| [Procedural messages](https://peoplescourt.ai/docs/api/messages.md) | Partner notices and account message threads |
| [Connectors for AI assistants](https://peoplescourt.ai/docs/api/connectors.md) | The hosted MCP connector contract for AI assistants |
| [Partner integration](https://peoplescourt.ai/docs/api/partner-integration.md) | The 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.

## Ready to integrate?

People and single-person agents use account OAuth. Platforms acting for many users apply for partner access.

- [Get access](https://peoplescourt.ai/docs/api/access.md)
- [Apply for partner access](https://peoplescourt.ai/docs/api/request-access.md)
