GETpartial

Review disclosed source processing for the authorized party

Controlled by PEOPLES_COURT_API_CANONICAL_ROUTES. The shared operation rechecks current authority and pinned Rules. Party-scoped processing projection; successful durable reports require PostgreSQL.

/api/cases/{id}/evidence-processinggetEvidenceProcessingPreview

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"}

Responses

200

Authorized operation result.

application/json

{
  "$ref": "#/components/schemas/CanonicalGetEvidenceProcessingPreviewResponse",
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/CanonicalProcessingRecord",
        "type": "object",
        "properties": {
          "evidenceId": {
            "type": "string"
          },
          "sourceId": {
            "type": "string"
          },
          "filingParty": {
            "type": "string",
            "enum": [
              "claimant",
              "respondent"
            ]
          },
          "filename": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "jobId": {
            "type": "string"
          },
          "processingContractId": {
            "type": "string"
          },
          "sanitizedDerivativeId": {
            "type": "string"
          },
          "manifestId": {
            "type": "string"
          },
          "sanitizedText": {
            "type": "string"
          },
          "warnings": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "code": {
                  "type": "string"
                },
                "classification": {
                  "type": "string"
                }
              },
              "required": [
                "code",
                "classification"
              ]
            }
          },
          "omissions": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "expectedUnitId": {
                  "type": "string"
                },
                "reason": {
                  "type": "string"
                }
              },
              "required": [
                "expectedUnitId",
                "reason"
              ]
            }
          },
          "defectStatus": {
            "type": "string"
          }
        },
        "required": [
          "evidenceId",
          "sourceId",
          "filingParty",
          "filename",
          "status",
          "jobId",
          "processingContractId",
          "sanitizedDerivativeId",
          "manifestId",
          "sanitizedText",
          "warnings",
          "omissions",
          "defectStatus"
        ]
      }
    },
    "requestId": {
      "type": "string"
    }
  },
  "required": [
    "data",
    "requestId"
  ],
  "x-code-source": "lib/evidence/durability/review.ts"
}
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": [
    {
      "evidenceId": "evidenceId_test",
      "sourceId": "sourceId_test",
      "filingParty": "claimant",
      "filename": "filename_test",
      "status": "status_test",
      "jobId": "jobId_test",
      "processingContractId": "processingContractId_test",
      "sanitizedDerivativeId": "sanitizedDerivativeId_test",
      "manifestId": "manifestId_test",
      "sanitizedText": "Test-environment procedural message.",
      "warnings": [
        {
          "code": "code_test",
          "classification": "classification_test"
        }
      ],
      "omissions": [
        {
          "expectedUnitId": "expectedUnitId_test",
          "reason": "reason_test"
        }
      ],
      "defectStatus": "defectStatus_test"
    }
  ],
  "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.