GETpartial

List the caller's authorized evidence for a case

Controlled by PEOPLES_COURT_API_CANONICAL_ROUTES. The shared operation rechecks current authority and pinned Rules. Returns the caller's own exhibits plus opposing exhibits that disclosure has already revealed; simultaneous exchange is unchanged and sanitization internals are never projected. A partner bearer credential also receives the adoption candidates for its own membership side, the same listing the evidence-candidates alias returns. Download one original file with /api/cases/{id}/evidence/{evidenceId}.

/api/cases/{id}/evidencelistCaseEvidencePreview

Authentication and authority

Use one listed account-session, scoped OAuth, or partner credential alternative. Account tokens retain the approving account’s authority. Cookie-authenticated writes require same-origin authorization. Alternatives are OR; schemes in one alternative are AND.

CanonicalSession

CanonicalPartnerBearer

AccountOAuth

Account tokens authorize only their approving account and case scope. S256 PKCE is mandatory on the code flow. Explicit reacceptance is required after Rules/disclosure changes.

Parameters

NameLocationRequirementSchema
idpathRequired{"type":"string"}
x-arb-party-token

Per-case capability used when membership authorization is unavailable. Optional with active membership for the matching side.

headerOptional{"type":"string"}

Responses

200

Caller-scoped evidence collection.

application/json

{
  "type": "object",
  "required": [
    "data",
    "requestId"
  ],
  "properties": {
    "data": {
      "$ref": "#/components/schemas/CanonicalCaseEvidenceCollection",
      "type": "object",
      "additionalProperties": true,
      "required": [
        "schemaVersion",
        "caseId",
        "evidence"
      ],
      "properties": {
        "schemaVersion": {
          "type": "string",
          "const": "case-evidence-v1"
        },
        "caseId": {
          "type": "string"
        },
        "party": {
          "type": "string",
          "enum": [
            "claimant",
            "respondent"
          ],
          "description": "The authorized side, when the credential resolves to one."
        },
        "evidence": {
          "type": "array",
          "description": "Current caller-visible exhibits.",
          "items": {
            "$ref": "#/components/schemas/CanonicalEvidenceObject",
            "type": "object",
            "additionalProperties": true,
            "required": [
              "id",
              "submittedBy",
              "phase"
            ],
            "properties": {
              "id": {
                "type": "string"
              },
              "submittedBy": {
                "type": "string",
                "enum": [
                  "claimant",
                  "respondent"
                ]
              },
              "phase": {
                "type": "string",
                "enum": [
                  "submitted",
                  "exchanged",
                  "admitted",
                  "quarantined",
                  "excluded"
                ]
              },
              "label": {
                "type": "string"
              },
              "filename": {
                "type": "string"
              },
              "mimeType": {
                "type": "string"
              },
              "sizeBytes": {
                "type": "integer"
              },
              "contentHash": {
                "type": "string"
              },
              "revealedAt": {
                "type": "string",
                "format": "date-time"
              }
            }
          }
        },
        "evidenceHistory": {
          "type": "array",
          "description": "Caller-visible exhibits including superseded record entries.",
          "items": {
            "$ref": "#/components/schemas/CanonicalEvidenceObject",
            "type": "object",
            "additionalProperties": true,
            "required": [
              "id",
              "submittedBy",
              "phase"
            ],
            "properties": {
              "id": {
                "type": "string"
              },
              "submittedBy": {
                "type": "string",
                "enum": [
                  "claimant",
                  "respondent"
                ]
              },
              "phase": {
                "type": "string",
                "enum": [
                  "submitted",
                  "exchanged",
                  "admitted",
                  "quarantined",
                  "excluded"
                ]
              },
              "label": {
                "type": "string"
              },
              "filename": {
                "type": "string"
              },
              "mimeType": {
                "type": "string"
              },
              "sizeBytes": {
                "type": "integer"
              },
              "contentHash": {
                "type": "string"
              },
              "revealedAt": {
                "type": "string",
                "format": "date-time"
              }
            }
          }
        },
        "candidates": {
          "type": "array",
          "description": "Partner adoption candidates for the caller's own side. Present only for a partner bearer credential; identical to the evidence-candidates compatibility alias.",
          "items": {
            "type": "object",
            "additionalProperties": true
          }
        }
      }
    },
    "requestId": {
      "type": "string"
    }
  }
}
404

Preview disabled or authorized resource unavailable.

default

RFC 9457 style problem response.

application/problem+json

{
  "$ref": "#/components/schemas/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"
    }
  }
}

Example response

Successful response

{
  "data": {
    "schemaVersion": "case-evidence-v1",
    "caseId": "pcase_test_123",
    "evidence": [
      {
        "id": "id_test",
        "submittedBy": "claimant",
        "phase": "submitted"
      }
    ]
  },
  "requestId": "requestId_test"
}

Errors

Read the response status and stable error code. See errors and rate limits for recovery. Refresh the resource before resolving a state or digest conflict.

Idempotency and retries

  • For throttling, honor Retry-After when present. Back off on retryable server failures.