People’s Court Evaluation API

Accept and read a jointly authorized narrow evaluation.

GitHub OpenAPI

Operations 2

GET /api/cases/{id}/evaluation Read the immutable evaluation definition and any served result #
POST /api/cases/{id}/evaluation/accept Accept a claimant-proposed narrow evaluation #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/peoplescourt-ai:peoplescourt-ai-evaluation-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

peoplescourt-ai-evaluation-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: People’s Court Evaluation API
  version: 2.0.0
  summary: One unified People’s Court API for every operation — file disputes, submit evidence, follow cases, and retrieve signed decisions.
  contact:
    name: People’s Court integration onboarding
    url: https://peoplescourt.ai/request-demo
    email: contact@peoplescourt.ai
  description: 'Use role-bound credentials and the current resource state to create cases, represent an authorized party, build the Record, receive a served decision, and perform separately authorized settlement operations. The platform_native governing-law value leaves substantive-law selection to the Tribunal under Rule 12.2; it is not a jurisdiction. Intake law assertions do not establish a valid bilateral choice. A service_hold indicates that the Award cannot yet be served. Follow https://peoplescourt.ai/docs/api/get-started for account credentials, exact packet acceptance, filing confirmation, respondent Answer and evidence. Partner platforms: requires a partner key for callback management; see https://peoplescourt.ai/docs/api/partner-integration and https://peoplescourt.ai/docs/api/webhooks for partner setup and signed callbacks.'
servers:
- url: https://peoplescourt.ai
tags:
- name: Evaluation
  description: Accept and read a jointly authorized narrow evaluation.
  x-status: partial
paths:
  /api/cases/{id}/evaluation:
    get:
      security:
      - platformOrchestratorBearer: []
      - claimantAgentBearer: []
      - respondentAgentBearer: []
      tags:
      - Evaluation
      operationId: getEvaluationCanonical
      summary: Read the immutable evaluation definition and any served result
      description: Returns pending or review state until an Award is served. A served result maps only to the three outcomes authorized in the evaluation draft.
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/PartyToken'
      responses:
        '200':
          description: Narrow evaluation state and result projection.
          content:
            application/json:
              schema:
                type: object
                required:
                - data
                - requestId
                properties:
                  data:
                    $ref: '#/components/schemas/NarrowEvaluationResource'
                  requestId:
                    type: string
        default:
          $ref: '#/components/responses/Problem'
  /api/cases/{id}/evaluation/accept:
    post:
      security:
      - respondentAgentBearer: []
      tags:
      - Evaluation
      operationId: acceptEvaluationCanonical
      summary: Accept a claimant-proposed narrow evaluation
      description: 'Redeems the one-time respondent invitation and binds the respondent to the exact evaluation digest before evidence opens. Idempotency is resolved before mutable invitation/case-state validation: the same key and body replay the stored 201 without the show-once capability, while a different body returns idempotency_conflict.'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/IdempotencyKey'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/NarrowEvaluationAcceptanceInput'
      responses:
        '201':
          description: Evaluation accepted; the respondent party capability is returned once.
          content:
            application/json:
              schema:
                type: object
                additionalProperties: false
                required:
                - data
                - requestId
                properties:
                  data:
                    $ref: '#/components/schemas/NarrowEvaluationAcceptance'
                  requestId:
                    type: string
        default:
          $ref: '#/components/responses/Problem'
components:
  parameters:
    IdempotencyKey:
      name: Idempotency-Key
      in: header
      required: true
      schema:
        type: string
        minLength: 8
        maxLength: 200
    PartyToken:
      name: x-arb-party-token
      in: header
      required: false
      schema:
        type: string
      description: Per-case capability used when membership authorization is unavailable. Optional with active membership for the matching side.
  schemas:
    AccountReadinessRequirement:
      type: object
      additionalProperties: false
      required:
      - code
      - label
      - section
      - accountUrl
      properties:
        code:
          type: string
        label:
          type: string
        section:
          type: string
          enum:
          - email
          - identity
          - legal_documents
        accountUrl:
          type: string
          format: uri
    NarrowEvaluationOutcome:
      type: object
      additionalProperties: false
      required:
      - code
      - settlementAction
      properties:
        code:
          type: string
          pattern: ^[a-z][a-z0-9_]{0,63}$
        label:
          type: string
          minLength: 1
          maxLength: 200
        settlementAction:
          type: object
          additionalProperties: false
          required:
          - type
          properties:
            type:
              type: string
              enum:
              - release_to_claimant
              - release_to_respondent
              - allocate_by_award
              - none
    NarrowEvaluationRecord:
      type: object
      additionalProperties: false
      required:
      - status
      properties:
        phase:
          type: string
          enum:
          - evidence
          - close
          - merits
        status:
          type: string
          enum:
          - open
          - frozen
    LegalDocumentsRequiredDetails:
      type: object
      additionalProperties: false
      required:
      - legalDocumentsUrl
      properties:
        legalDocumentsUrl:
          type: string
          format: uri
          description: Absolute account-page URL where the person reviews and accepts the current Terms and Privacy Notice. Uses the configured public application origin. After accepting the documents, retry the original operation.
        ready:
          type: boolean
        accountSetupUrl:
          type: string
          format: uri
        missing:
          type: array
          items:
            $ref: '#/components/schemas/AccountReadinessRequirement'
    Problem:
      type: object
      required:
      - type
      - title
      - status
      - code
      - detail
      - requestId
      properties:
        type:
          type: string
          format: uri
        title:
          type: string
        status:
          type: integer
        code:
          type: string
        detail:
          type: string
        requestId:
          type: string
        details:
          description: Account-readiness refusals include a value-free checklist and exact account-page link. Other error codes may provide different details.
          anyOf:
          - $ref: '#/components/schemas/AccountReadinessDetails'
          - $ref: '#/components/schemas/LegalDocumentsRequiredDetails'
          - {}
    NarrowEvaluationCriterionFinding:
      type: object
      additionalProperties: false
      required:
      - criterionId
      - status
      - finding
      - confidence
      properties:
        criterionId:
          type: string
          pattern: ^[a-z][a-z0-9_]{0,63}$
        status:
          type: string
          enum:
          - satisfied
          - not_satisfied
          - indeterminate
        finding:
          type: string
        confidence:
          type: number
          minimum: 0
          maximum: 1
    NarrowEvaluationPendingResult:
      type: object
      additionalProperties: false
      required:
      - status
      - finality
      properties:
        status:
          type: string
          enum:
          - pending
          - under_review
        finality:
          type: string
          const: not_served
    NarrowEvaluationReviewPolicy:
      type: object
      additionalProperties: false
      required:
      - initialPath
      - humanReviewRequired
      properties:
        initialPath:
          type: string
          const: adjudicative
        humanReviewRequired:
          type: boolean
          const: false
    NarrowEvaluationServedResult:
      type: object
      additionalProperties: false
      required:
      - status
      - finality
      - outcomeCode
      - settlementAction
      - criterionFindings
      - determinations
      - award
      properties:
        status:
          type: string
          const: served
        finality:
          type: string
          enum:
          - served
          - appealable
          - appeal_reserved
          - appeal_pending
          - final
        outcomeCode:
          type: string
        settlementAction:
          type: object
          additionalProperties: false
          required:
          - type
          properties:
            type:
              type: string
              enum:
              - release_to_claimant
              - release_to_respondent
              - allocate_by_award
              - none
        criterionFindings:
          type: array
          minItems: 1
          maxItems: 20
          items:
            $ref: '#/components/schemas/NarrowEvaluationCriterionFinding'
        determinations:
          type: object
          additionalProperties: true
        award:
          $ref: '#/components/schemas/NarrowEvaluationAwardReference'
    NarrowEvaluationCriterion:
      type: object
      additionalProperties: false
      required:
      - id
      - text
      properties:
        id:
          type: string
          pattern: ^[a-z][a-z0-9_]{0,63}$
        text:
          type: string
          minLength: 1
          maxLength: 1000
    AccountReadinessDetails:
      type: object
      additionalProperties: false
      required:
      - ready
      - accountSetupUrl
      - missing
      properties:
        ready:
          type: boolean
        accountSetupUrl:
          type: string
          format: uri
        missing:
          type: array
          items:
            $ref: '#/components/schemas/AccountReadinessRequirement'
    NarrowEvaluationAcceptance:
      type: object
      additionalProperties: false
      required:
      - schemaVersion
      - caseId
      - externalEvaluationId
      - evaluationDigest
      - accepted
      - status
      - evaluationPath
      - capabilityDelivery
      properties:
        schemaVersion:
          type: string
          const: narrow-evaluation-acceptance-v2
        caseId:
          type: string
        externalEvaluationId:
          type: string
        evaluationDigest:
          type: string
          pattern: ^[a-f0-9]{64}$
        accepted:
          type: boolean
          const: true
        status:
          type: string
          const: awaiting_party_submissions
        evaluationPath:
          type: string
        capabilityDelivery:
          type: string
          const: show_once_not_replayed
        showOnce:
          type: object
          additionalProperties: false
          required:
          - respondentPartyToken
          properties:
            respondentPartyToken:
              type: string
    NarrowEvaluationAwardReference:
      type: object
      additionalProperties: false
      required:
      - dispositionId
      - awardHash
      - resourcePath
      properties:
        dispositionId:
          type: string
        awardHash:
          type: string
          pattern: ^[a-f0-9]{64}$
        releasedAt:
          type: string
          format: date-time
        resourcePath:
          type: string
    NarrowEvaluationResource:
      type: object
      additionalProperties: false
      required:
      - schemaVersion
      - caseId
      - externalCaseId
      - externalEvaluationId
      - evaluationDigest
      - question
      - allowedOutcomes
      - evidencePolicy
      - reviewPolicy
      - record
      - result
      properties:
        schemaVersion:
          type: string
          const: narrow-evaluation-resource-v2
        caseId:
          type: string
        externalCaseId:
          type: string
        externalEvaluationId:
          type: string
        evaluationDigest:
          type: string
          pattern: ^[a-f0-9]{64}$
        question:
          type: object
          additionalProperties: false
          required:
          - text
          - criteria
          properties:
            text:
              type: string
            criteria:
              type: array
              minItems: 1
              maxItems: 20
              items:
                $ref: '#/components/schemas/NarrowEvaluationCriterion'
        allowedOutcomes:
          type: array
          items:
            $ref: '#/components/schemas/NarrowEvaluationOutcome'
        evidencePolicy:
          $ref: '#/components/schemas/NarrowEvaluationEvidencePolicy'
        reviewPolicy:
          $ref: '#/components/schemas/NarrowEvaluationReviewPolicy'
        record:
          $ref: '#/components/schemas/NarrowEvaluationRecord'
        result:
          oneOf:
          - $ref: '#/components/schemas/NarrowEvaluationPendingResult'
          - $ref: '#/components/schemas/NarrowEvaluationServedResult'
          discriminator:
            propertyName: status
    NarrowEvaluationEvidencePolicy:
      type: object
      additionalProperties: false
      required:
      - sources
      - additionalPartyEvidence
      properties:
        sources:
          type: array
          minItems: 1
          maxItems: 2
          uniqueItems: true
          items:
            type: string
            enum:
            - party_submissions
            - evidence_export_candidates
        additionalPartyEvidence:
          type: boolean
          const: true
    NarrowEvaluationAcceptanceInput:
      type: object
      additionalProperties: false
      required:
      - inviteToken
      - principalId
      - actorId
      - confirmationStatement
      - confirmationReference
      properties:
        inviteToken:
          type: string
        principalId:
          type: string
        actorId:
          type: string
        confirmationStatement:
          type: string
          description: Copy the exact confirmationStatement returned by the respondent handoff; do not reconstruct or rewrite it.
        confirmationReference:
          type: string
  responses:
    Problem:
      description: RFC 9457 style problem response.
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Problem'
  securitySchemes:
    AgenticPlatformKey:
      type: http
      scheme: bearer
      description: Merchant-issued, rotatable platform credential for one enrolled agent host. Every private checkout request also requires its bound item capability.
    PartnerSandboxBearer:
      type: http
      scheme: bearer
      bearerFormat: sb_test_<public-id>.<secret>
      description: Isolated sandbox credential; never accepted by the ordinary Partner API.
    CanonicalPartnerBearer:
      type: http
      scheme: bearer
      description: Partner key issued after partner access is approved. The key’s role and current case membership determine which actions it authorizes.
    CanonicalSession:
      type: apiKey
      in: cookie
      name: arb_session
      description: The signed-in account’s session. Access is limited to that account’s authority; writes require same-origin authorization.
    platformOrchestratorBearer:
      type: http
      scheme: bearer
      description: Credential bound to the platform_orchestrator role.
    claimantAgentBearer:
      type: http
      scheme: bearer
      description: Credential bound to the claimant_agent role. Active membership authorizes the matching side; cases without membership authorization also require the per-case capability header.
    respondentAgentBearer:
      type: http
      scheme: bearer
      description: Credential bound to the respondent_agent role. Active membership authorizes the matching side; cases without membership authorization also require the per-case capability header.
    evidenceExporterBearer:
      type: http
      scheme: bearer
      description: Credential bound to one evidence_exporter resource.
    settlementAdapterBearer:
      type: http
      scheme: bearer
      description: Credential carrying only settlement:execute and bound to one exact adapter resource.
    readOnlyObserverBearer:
      type: http
      scheme: bearer
      description: Credential bound to the read_only_observer role and limited to operational projections.
    AccountOAuth:
      type: oauth2
      description: Account tokens authorize only their approving account and approved scopes. S256 PKCE is mandatory on the code flow. Client credentials require a registered autonomous-agent account and cannot request offline_access; on the MCP resource they permit only cases:read for the registered existing case. Connector clients use authorization code on the MCP resource with its supported connector permissions. Explicit reacceptance is required after Rules or disclosure changes.
      flows:
        authorizationCode:
          authorizationUrl: https://peoplescourt.ai/oauth/authorize
          tokenUrl: https://peoplescourt.ai/api/oauth/token
          refreshUrl: https://peoplescourt.ai/api/oauth/token
          scopes:
            cases:read: cases:read
            fees:agentic:write: Obtain a separately authorized filing payment capability.
            executions:report: Record performance reports and opposite-side responses; no provider release
            filings:write: filings:write
            answers:write: answers:write
            submissions:write: submissions:write
            records:confirm: records:confirm
            records:write: records:write
            invitations:write: invitations:write
            messages:write: messages:write
            remedies:write: remedies:write
            consents:write: consents:write
            offline_access: offline_access
            representatives:manage: representatives:manage
            procedural:request: procedural:request
            termination:write: termination:write
        clientCredentials:
          tokenUrl: https://peoplescourt.ai/api/oauth/token
          scopes:
            cases:read: cases:read
            executions:report: Record performance reports and opposite-side responses; no provider release
            filings:write: filings:write
            answers:write: answers:write
            submissions:write: submissions:write
            records:confirm: records:confirm
            records:write: records:write
            invitations:write: invitations:write
            messages:write: messages:write
            remedies:write: remedies:write
            consents:write: consents:write
            representatives:manage: representatives:manage
            procedural:request: procedural:request
            termination:write: termination:write
            fees:agentic:write: Obtain a separately authorized filing payment capability.