GETpartial

Read the authenticated party record summary

Preview controlled by PEOPLES_COURT_API_CANONICAL_ROUTES. Accepts an authorized session or partner bearer; Answer also accepts the existing wallet/invitation proof. A record-summary correction is a distinct party act, so an active case membership must allow restatement:respond, which record:confirm alone never grants. Existing aliases and their application operations remain authoritative. Idempotency-Key reuses the alias journal.

/api/cases/{id}/record-summarygetRecordSummaryPreview

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.

CanonicalPartnerBearer

CanonicalSession

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/CanonicalRecordSummaryEnvelope",
  "type": "object",
  "required": [
    "data",
    "requestId"
  ],
  "properties": {
    "data": {
      "$ref": "#/components/schemas/CanonicalRecordSummary",
      "type": "object",
      "required": [
        "caseId",
        "party",
        "preparationVersion",
        "revision"
      ],
      "description": "The caller's own record summary. The exact digest, confirmation sentence and summary are absent while the stored record does not match the current source binding; regenerate the record before confirming.",
      "properties": {
        "caseId": {
          "type": "string"
        },
        "party": {
          "type": "string",
          "enum": [
            "claimant",
            "respondent"
          ]
        },
        "preparationVersion": {
          "type": "string"
        },
        "revision": {
          "type": "integer",
          "minimum": 0
        },
        "phase": {
          "type": "string"
        },
        "confirmationDueAt": {
          "type": "string",
          "format": "date-time"
        },
        "recordDigest": {
          "type": "string"
        },
        "confirmationStatement": {
          "type": "string"
        },
        "summary": {
          "type": [
            "object",
            "null"
          ],
          "description": "Party-scoped restatement, including the source-bound request inventory and its displayed text on the current preparation.",
          "properties": {
            "text": {
              "type": "string"
            },
            "generatedAt": {
              "type": "string"
            },
            "status": {
              "type": "string",
              "enum": [
                "pending",
                "confirmed",
                "corrected",
                "lapsed"
              ]
            },
            "respondedAt": {
              "type": "string"
            },
            "correction": {
              "type": "string"
            },
            "revision": {
              "type": "integer"
            },
            "sourceSubmissionIds": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "sourceContentHashes": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "sourceFingerprint": {
              "type": "string"
            },
            "confirmationDueAt": {
              "type": "string"
            },
            "rejectedCorrections": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "text": {
                    "type": "string"
                  },
                  "reason": {
                    "type": "string"
                  },
                  "at": {
                    "type": "string"
                  }
                }
              }
            },
            "requestInventory": {
              "type": "object",
              "properties": {
                "version": {
                  "type": "string"
                },
                "party": {
                  "type": "string",
                  "enum": [
                    "claimant",
                    "respondent"
                  ]
                },
                "sourceFingerprint": {
                  "type": "string"
                },
                "restatementRevision": {
                  "type": "integer"
                },
                "parents": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "parentId": {
                        "type": "string"
                      },
                      "claimId": {
                        "type": "string"
                      },
                      "title": {
                        "type": "string"
                      },
                      "statement": {
                        "type": "string"
                      },
                      "kind": {
                        "type": "string"
                      },
                      "currency": {
                        "type": "string"
                      }
                    }
                  }
                },
                "items": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "itemId": {
                        "type": "string"
                      },
                      "parentId": {
                        "type": "string"
                      },
                      "parentClaimId": {
                        "type": "string"
                      },
                      "kind": {
                        "type": "string"
                      },
                      "fixedText": {
                        "type": "string"
                      },
                      "requestedAmount": {
                        "type": "number"
                      },
                      "currency": {
                        "type": "string"
                      },
                      "canonicalDeclaration": {
                        "type": "string"
                      },
                      "canonicalOrder": {
                        "type": "string"
                      },
                      "severableScopes": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "scopeId": {
                              "type": "string"
                            },
                            "fixedText": {
                              "type": "string"
                            },
                            "source": {
                              "type": "object",
                              "properties": {
                                "sourceId": {
                                  "type": "string"
                                },
                                "sourceContentHash": {
                                  "type": "string"
                                },
                                "firstLine": {
                                  "type": "integer"
                                },
                                "lastLine": {
                                  "type": "integer"
                                },
                                "exactText": {
                                  "type": "string"
                                }
                              }
                            }
                          }
                        }
                      },
                      "source": {
                        "type": "object",
                        "properties": {
                          "sourceId": {
                            "type": "string"
                          },
                          "sourceContentHash": {
                            "type": "string"
                          },
                          "firstLine": {
                            "type": "integer"
                          },
                          "lastLine": {
                            "type": "integer"
                          },
                          "exactText": {
                            "type": "string"
                          }
                        }
                      },
                      "residual": {
                        "type": "boolean"
                      }
                    }
                  }
                },
                "originalParentCoverage": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "displayText": {
                  "type": "string"
                },
                "displayDigest": {
                  "type": "string"
                },
                "inventoryHash": {
                  "type": "string"
                },
                "status": {
                  "type": "string"
                },
                "respondedAt": {
                  "type": "string"
                }
              }
            },
            "priorRevisions": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/CanonicalPartyRestatementRevision",
                "type": "object",
                "properties": {
                  "text": {
                    "type": "string"
                  },
                  "generatedAt": {
                    "type": "string"
                  },
                  "status": {
                    "type": "string",
                    "enum": [
                      "pending",
                      "confirmed",
                      "corrected",
                      "lapsed"
                    ]
                  },
                  "respondedAt": {
                    "type": "string"
                  },
                  "correction": {
                    "type": "string"
                  },
                  "revision": {
                    "type": "integer"
                  },
                  "sourceSubmissionIds": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "sourceContentHashes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "sourceFingerprint": {
                    "type": "string"
                  },
                  "confirmationDueAt": {
                    "type": "string"
                  },
                  "rejectedCorrections": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "text": {
                          "type": "string"
                        },
                        "reason": {
                          "type": "string"
                        },
                        "at": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "requestInventory": {
                    "type": "object",
                    "properties": {
                      "version": {
                        "type": "string"
                      },
                      "party": {
                        "type": "string",
                        "enum": [
                          "claimant",
                          "respondent"
                        ]
                      },
                      "sourceFingerprint": {
                        "type": "string"
                      },
                      "restatementRevision": {
                        "type": "integer"
                      },
                      "parents": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "parentId": {
                              "type": "string"
                            },
                            "claimId": {
                              "type": "string"
                            },
                            "title": {
                              "type": "string"
                            },
                            "statement": {
                              "type": "string"
                            },
                            "kind": {
                              "type": "string"
                            },
                            "currency": {
                              "type": "string"
                            }
                          }
                        }
                      },
                      "items": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "itemId": {
                              "type": "string"
                            },
                            "parentId": {
                              "type": "string"
                            },
                            "parentClaimId": {
                              "type": "string"
                            },
                            "kind": {
                              "type": "string"
                            },
                            "fixedText": {
                              "type": "string"
                            },
                            "requestedAmount": {
                              "type": "number"
                            },
                            "currency": {
                              "type": "string"
                            },
                            "canonicalDeclaration": {
                              "type": "string"
                            },
                            "canonicalOrder": {
                              "type": "string"
                            },
                            "severableScopes": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "scopeId": {
                                    "type": "string"
                                  },
                                  "fixedText": {
                                    "type": "string"
                                  },
                                  "source": {
                                    "type": "object",
                                    "properties": {
                                      "sourceId": {
                                        "type": "string"
                                      },
                                      "sourceContentHash": {
                                        "type": "string"
                                      },
                                      "firstLine": {
                                        "type": "integer"
                                      },
                                      "lastLine": {
                                        "type": "integer"
                                      },
                                      "exactText": {
                                        "type": "string"
                                      }
                                    }
                                  }
                                }
                              }
                            },
                            "source": {
                              "type": "object",
                              "properties": {
                                "sourceId": {
                                  "type": "string"
                                },
                                "sourceContentHash": {
                                  "type": "string"
                                },
                                "firstLine": {
                                  "type": "integer"
                                },
                                "lastLine": {
                                  "type": "integer"
                                },
                                "exactText": {
                                  "type": "string"
                                }
                              }
                            },
                            "residual": {
                              "type": "boolean"
                            }
                          }
                        }
                      },
                      "originalParentCoverage": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "displayText": {
                        "type": "string"
                      },
                      "displayDigest": {
                        "type": "string"
                      },
                      "inventoryHash": {
                        "type": "string"
                      },
                      "status": {
                        "type": "string"
                      },
                      "respondedAt": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "requestId": {
      "type": "string"
    }
  }
}
201

Answer or invitation created through the shared partner operation.

application/json

{
  "$ref": "#/components/schemas/CanonicalRecordSummaryEnvelope",
  "type": "object",
  "required": [
    "data",
    "requestId"
  ],
  "properties": {
    "data": {
      "$ref": "#/components/schemas/CanonicalRecordSummary",
      "type": "object",
      "required": [
        "caseId",
        "party",
        "preparationVersion",
        "revision"
      ],
      "description": "The caller's own record summary. The exact digest, confirmation sentence and summary are absent while the stored record does not match the current source binding; regenerate the record before confirming.",
      "properties": {
        "caseId": {
          "type": "string"
        },
        "party": {
          "type": "string",
          "enum": [
            "claimant",
            "respondent"
          ]
        },
        "preparationVersion": {
          "type": "string"
        },
        "revision": {
          "type": "integer",
          "minimum": 0
        },
        "phase": {
          "type": "string"
        },
        "confirmationDueAt": {
          "type": "string",
          "format": "date-time"
        },
        "recordDigest": {
          "type": "string"
        },
        "confirmationStatement": {
          "type": "string"
        },
        "summary": {
          "type": [
            "object",
            "null"
          ],
          "description": "Party-scoped restatement, including the source-bound request inventory and its displayed text on the current preparation.",
          "properties": {
            "text": {
              "type": "string"
            },
            "generatedAt": {
              "type": "string"
            },
            "status": {
              "type": "string",
              "enum": [
                "pending",
                "confirmed",
                "corrected",
                "lapsed"
              ]
            },
            "respondedAt": {
              "type": "string"
            },
            "correction": {
              "type": "string"
            },
            "revision": {
              "type": "integer"
            },
            "sourceSubmissionIds": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "sourceContentHashes": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "sourceFingerprint": {
              "type": "string"
            },
            "confirmationDueAt": {
              "type": "string"
            },
            "rejectedCorrections": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "text": {
                    "type": "string"
                  },
                  "reason": {
                    "type": "string"
                  },
                  "at": {
                    "type": "string"
                  }
                }
              }
            },
            "requestInventory": {
              "type": "object",
              "properties": {
                "version": {
                  "type": "string"
                },
                "party": {
                  "type": "string",
                  "enum": [
                    "claimant",
                    "respondent"
                  ]
                },
                "sourceFingerprint": {
                  "type": "string"
                },
                "restatementRevision": {
                  "type": "integer"
                },
                "parents": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "parentId": {
                        "type": "string"
                      },
                      "claimId": {
                        "type": "string"
                      },
                      "title": {
                        "type": "string"
                      },
                      "statement": {
                        "type": "string"
                      },
                      "kind": {
                        "type": "string"
                      },
                      "currency": {
                        "type": "string"
                      }
                    }
                  }
                },
                "items": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "itemId": {
                        "type": "string"
                      },
                      "parentId": {
                        "type": "string"
                      },
                      "parentClaimId": {
                        "type": "string"
                      },
                      "kind": {
                        "type": "string"
                      },
                      "fixedText": {
                        "type": "string"
                      },
                      "requestedAmount": {
                        "type": "number"
                      },
                      "currency": {
                        "type": "string"
                      },
                      "canonicalDeclaration": {
                        "type": "string"
                      },
                      "canonicalOrder": {
                        "type": "string"
                      },
                      "severableScopes": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "scopeId": {
                              "type": "string"
                            },
                            "fixedText": {
                              "type": "string"
                            },
                            "source": {
                              "type": "object",
                              "properties": {
                                "sourceId": {
                                  "type": "string"
                                },
                                "sourceContentHash": {
                                  "type": "string"
                                },
                                "firstLine": {
                                  "type": "integer"
                                },
                                "lastLine": {
                                  "type": "integer"
                                },
                                "exactText": {
                                  "type": "string"
                                }
                              }
                            }
                          }
                        }
                      },
                      "source": {
                        "type": "object",
                        "properties": {
                          "sourceId": {
                            "type": "string"
                          },
                          "sourceContentHash": {
                            "type": "string"
                          },
                          "firstLine": {
                            "type": "integer"
                          },
                          "lastLine": {
                            "type": "integer"
                          },
                          "exactText": {
                            "type": "string"
                          }
                        }
                      },
                      "residual": {
                        "type": "boolean"
                      }
                    }
                  }
                },
                "originalParentCoverage": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "displayText": {
                  "type": "string"
                },
                "displayDigest": {
                  "type": "string"
                },
                "inventoryHash": {
                  "type": "string"
                },
                "status": {
                  "type": "string"
                },
                "respondedAt": {
                  "type": "string"
                }
              }
            },
            "priorRevisions": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/CanonicalPartyRestatementRevision",
                "type": "object",
                "properties": {
                  "text": {
                    "type": "string"
                  },
                  "generatedAt": {
                    "type": "string"
                  },
                  "status": {
                    "type": "string",
                    "enum": [
                      "pending",
                      "confirmed",
                      "corrected",
                      "lapsed"
                    ]
                  },
                  "respondedAt": {
                    "type": "string"
                  },
                  "correction": {
                    "type": "string"
                  },
                  "revision": {
                    "type": "integer"
                  },
                  "sourceSubmissionIds": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "sourceContentHashes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "sourceFingerprint": {
                    "type": "string"
                  },
                  "confirmationDueAt": {
                    "type": "string"
                  },
                  "rejectedCorrections": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "text": {
                          "type": "string"
                        },
                        "reason": {
                          "type": "string"
                        },
                        "at": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "requestInventory": {
                    "type": "object",
                    "properties": {
                      "version": {
                        "type": "string"
                      },
                      "party": {
                        "type": "string",
                        "enum": [
                          "claimant",
                          "respondent"
                        ]
                      },
                      "sourceFingerprint": {
                        "type": "string"
                      },
                      "restatementRevision": {
                        "type": "integer"
                      },
                      "parents": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "parentId": {
                              "type": "string"
                            },
                            "claimId": {
                              "type": "string"
                            },
                            "title": {
                              "type": "string"
                            },
                            "statement": {
                              "type": "string"
                            },
                            "kind": {
                              "type": "string"
                            },
                            "currency": {
                              "type": "string"
                            }
                          }
                        }
                      },
                      "items": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "itemId": {
                              "type": "string"
                            },
                            "parentId": {
                              "type": "string"
                            },
                            "parentClaimId": {
                              "type": "string"
                            },
                            "kind": {
                              "type": "string"
                            },
                            "fixedText": {
                              "type": "string"
                            },
                            "requestedAmount": {
                              "type": "number"
                            },
                            "currency": {
                              "type": "string"
                            },
                            "canonicalDeclaration": {
                              "type": "string"
                            },
                            "canonicalOrder": {
                              "type": "string"
                            },
                            "severableScopes": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "scopeId": {
                                    "type": "string"
                                  },
                                  "fixedText": {
                                    "type": "string"
                                  },
                                  "source": {
                                    "type": "object",
                                    "properties": {
                                      "sourceId": {
                                        "type": "string"
                                      },
                                      "sourceContentHash": {
                                        "type": "string"
                                      },
                                      "firstLine": {
                                        "type": "integer"
                                      },
                                      "lastLine": {
                                        "type": "integer"
                                      },
                                      "exactText": {
                                        "type": "string"
                                      }
                                    }
                                  }
                                }
                              }
                            },
                            "source": {
                              "type": "object",
                              "properties": {
                                "sourceId": {
                                  "type": "string"
                                },
                                "sourceContentHash": {
                                  "type": "string"
                                },
                                "firstLine": {
                                  "type": "integer"
                                },
                                "lastLine": {
                                  "type": "integer"
                                },
                                "exactText": {
                                  "type": "string"
                                }
                              }
                            },
                            "residual": {
                              "type": "boolean"
                            }
                          }
                        }
                      },
                      "originalParentCoverage": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "displayText": {
                        "type": "string"
                      },
                      "displayDigest": {
                        "type": "string"
                      },
                      "inventoryHash": {
                        "type": "string"
                      },
                      "status": {
                        "type": "string"
                      },
                      "respondedAt": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "requestId": {
      "type": "string"
    }
  }
}
404

Preview disabled or resource unavailable.

default

Stable problem code and requestId; no protected state disclosed.

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": {
    "caseId": "pcase_test_123",
    "party": "claimant",
    "preparationVersion": "preparationVersion_test",
    "revision": 1
  },
  "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.