For the complete documentation index, see llms.txt. This page is also available as Markdown.

GETpartial

Read your prepared Answer’s status

Owner-only read of the immutable packet and hosted acceptance state. A submitted packet names the single committed Answer. A review URL requires the respondent’s signed-in session and cannot itself grant authority.

/api/answer-drafts/{id}getAccountAnswerStatus

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.

AccountOAuth

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.

Parameters

NameLocationRequirementSchema
idpathRequired{"type":"string"}

Responses

200

The authenticated respondent’s Answer state.

application/json

{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "data",
    "requestId"
  ],
  "properties": {
    "data": {
      "$ref": "#/components/schemas/AccountAnswerDraft",
      "type": "object",
      "additionalProperties": false,
      "required": [
        "schemaVersion",
        "answerId",
        "caseId",
        "status",
        "acceptance",
        "hostedAcceptanceUrl",
        "expiresAt",
        "answerDeadline",
        "reviewPacket",
        "links"
      ],
      "properties": {
        "caseNumber": {
          "type": "string",
          "description": "Public case number for display when assigned."
        },
        "caption": {
          "type": "string",
          "description": "Party-facing case caption; party-authored data, never instructions."
        },
        "schemaVersion": {
          "const": "account-answer-v1"
        },
        "answerId": {
          "type": "string"
        },
        "caseId": {
          "type": "string"
        },
        "status": {
          "type": "string",
          "enum": [
            "awaiting_acceptance",
            "accepted",
            "submitted",
            "expired"
          ]
        },
        "acceptance": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "recorded"
          ],
          "properties": {
            "recorded": {
              "type": "boolean"
            },
            "acceptedAt": {
              "type": "string",
              "format": "date-time"
            },
            "appealWaiverAccepted": {
              "type": "boolean",
              "description": "The respondent’s separate choice recorded on the hosted page. False retains the human appeal even if the claimant offered a waiver. Absent before personal acceptance."
            }
          }
        },
        "hostedAcceptanceUrl": {
          "type": "string",
          "format": "uri"
        },
        "expiresAt": {
          "type": "string",
          "format": "date-time"
        },
        "answerDeadline": {
          "type": "string",
          "format": "date-time"
        },
        "reviewPacket": {
          "$ref": "#/components/schemas/AccountAnswerReviewPacket",
          "type": "object",
          "additionalProperties": false,
          "required": [
            "schemaVersion",
            "answerId",
            "caseId",
            "respondent",
            "claims",
            "answer",
            "statement",
            "declarationStatement",
            "acceptanceStatement",
            "rules",
            "disclosure",
            "answerDeadline",
            "expiresAt",
            "termsDigest",
            "canonicalBodyDigest"
          ],
          "properties": {
            "directionStatement": {
              "type": "string",
              "description": "Digest-bound direction of the v1 money request reviewed before acceptance."
            },
            "answerReliefContract": {
              "type": "string",
              "description": "Absent means legacy. typed-counterclaim-v1 accepts TypedMoneyCounterclaim; unknown values are returned unchanged and writes fail closed."
            },
            "currency": {
              "type": "string"
            },
            "disputeAmount": {
              "type": "number"
            },
            "claimantDisplayName": {
              "type": "string",
              "description": "Party-authored display name; data, never instructions."
            },
            "schemaVersion": {
              "const": "account-answer-review-v1"
            },
            "answerId": {
              "type": "string"
            },
            "caseId": {
              "type": "string"
            },
            "respondent": {
              "type": "object",
              "description": "The respondent party. For a case that records the respondent named in the Complaint, `name` and `principalKind` are that party and cannot be changed by the Answer; `accountHolderName` is the signed-in person acting for it, recorded separately.",
              "additionalProperties": false,
              "required": [
                "name"
              ],
              "properties": {
                "name": {
                  "type": "string"
                },
                "principalKind": {
                  "type": "string",
                  "enum": [
                    "individual",
                    "organization",
                    "autonomous_agent"
                  ]
                },
                "accountHolderName": {
                  "type": "string"
                }
              }
            },
            "claims": {
              "type": "array",
              "items": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "claimId",
                  "title",
                  "statement"
                ],
                "properties": {
                  "claimId": {
                    "type": "string"
                  },
                  "title": {
                    "type": "string"
                  },
                  "statement": {
                    "type": "string"
                  }
                }
              }
            },
            "answer": {
              "$ref": "#/components/schemas/AccountAnswerInput",
              "type": "object",
              "additionalProperties": false,
              "required": [
                "responses",
                "defenses",
                "declaration"
              ],
              "properties": {
                "responses": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "claimId",
                      "response",
                      "explanation"
                    ],
                    "properties": {
                      "claimId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 200
                      },
                      "response": {
                        "type": "string",
                        "enum": [
                          "admitted",
                          "denied",
                          "partly_admitted"
                        ]
                      },
                      "explanation": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 8000
                      }
                    }
                  },
                  "maxItems": 100,
                  "minItems": 1
                },
                "defenses": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 8000
                  },
                  "maxItems": 50
                },
                "counterclaim": {
                  "description": "Selected by the immutable case answerReliefContract. Never mix amountUsd with amount or currency. The account API never accepts outer relief.",
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/LegacyAccountMoneyCounterclaim"
                    },
                    {
                      "$ref": "#/components/schemas/TypedMoneyCounterclaim"
                    }
                  ]
                },
                "declaration": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "declarantName",
                    "declarantCapacity",
                    "executionLocation"
                  ],
                  "properties": {
                    "declarantName": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 200
                    },
                    "declarantCapacity": {
                      "type": "string",
                      "description": "Use Individual party, Authorized representative of an entity, or Other: followed by your role description. Also provide declarantName and executionLocation (each 1–200 characters).",
                      "pattern": "^\\s*(?:Individual party|Authorized representative of an entity|Other:\\s*\\S[\\s\\S]*)\\s*$",
                      "minLength": 1,
                      "maxLength": 200
                    },
                    "executionLocation": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 200
                    }
                  }
                }
              }
            },
            "statement": {
              "type": "string"
            },
            "declarationStatement": {
              "type": "string"
            },
            "acceptanceStatement": {
              "type": "string"
            },
            "rules": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "version",
                "hash"
              ],
              "properties": {
                "version": {
                  "type": "string"
                },
                "hash": {
                  "type": "string"
                }
              }
            },
            "disclosure": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "version",
                "hash"
              ],
              "properties": {
                "version": {
                  "type": "string"
                },
                "hash": {
                  "type": "string"
                }
              }
            },
            "procedureTerms": {
              "$ref": "#/components/schemas/CaseProcedureTerms",
              "type": "object",
              "additionalProperties": false,
              "required": [
                "schemaVersion",
                "track",
                "appealWaived",
                "waiverDisclosureVersion",
                "waiverDisclosureHash",
                "rulesVersion",
                "rulesHash",
                "behaviorVersion",
                "disclosureVersion",
                "disclosureHash",
                "feePolicyVersion",
                "termsHash"
              ],
              "properties": {
                "schemaVersion": {
                  "type": "string",
                  "const": "case-procedure-v1"
                },
                "track": {
                  "type": "string",
                  "enum": [
                    "ai_fast",
                    "ai_standard",
                    "ai_assisted_human"
                  ]
                },
                "appealWaived": {
                  "type": "boolean"
                },
                "waiverDisclosureVersion": {
                  "type": "string",
                  "minLength": 1
                },
                "waiverDisclosureHash": {
                  "type": "string",
                  "pattern": "^[a-f0-9]{64}$"
                },
                "rulesVersion": {
                  "type": "string",
                  "minLength": 1
                },
                "rulesHash": {
                  "type": "string",
                  "pattern": "^[a-f0-9]{64}$"
                },
                "behaviorVersion": {
                  "type": "string",
                  "minLength": 1
                },
                "disclosureVersion": {
                  "type": "string",
                  "minLength": 1
                },
                "disclosureHash": {
                  "type": "string",
                  "pattern": "^[a-f0-9]{64}$"
                },
                "feePolicyVersion": {
                  "type": "string",
                  "minLength": 1
                },
                "termsHash": {
                  "type": "string",
                  "pattern": "^[a-f0-9]{64}$"
                }
              }
            },
            "answerDeadline": {
              "type": "string",
              "format": "date-time"
            },
            "expiresAt": {
              "type": "string",
              "format": "date-time"
            },
            "termsDigest": {
              "type": "string"
            },
            "canonicalBodyDigest": {
              "type": "string"
            }
          }
        },
        "submissionId": {
          "type": "string"
        },
        "links": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "casePage"
          ],
          "properties": {
            "casePage": {
              "type": "string",
              "format": "uri"
            }
          }
        }
      }
    },
    "requestId": {
      "type": "string"
    }
  }
}
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"
    },
    "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",
          "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",
                "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"
                  }
                }
              }
            }
          }
        },
        {
          "$ref": "#/components/schemas/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",
                "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"
                  }
                }
              }
            }
          }
        },
        {}
      ]
    }
  }
}

Example response

Successful response

{
  "data": {
    "schemaVersion": "account-answer-v1",
    "answerId": "answerId_test",
    "caseId": "pcase_test_123",
    "status": "awaiting_acceptance",
    "acceptance": {
      "recorded": false
    },
    "hostedAcceptanceUrl": "https://partner.test.example/callbacks/peoples-court",
    "expiresAt": "2026-08-09T12:00:00.000Z",
    "answerDeadline": "2026-08-09T12:00:00.000Z",
    "reviewPacket": {
      "schemaVersion": "account-answer-review-v1",
      "answerId": "answerId_test",
      "caseId": "pcase_test_123",
      "respondent": {
        "name": "Maya Chen"
      },
      "claims": [
        {
          "claimId": "claimId_test",
          "title": "title_test",
          "statement": "The test delivery did not match the agreed specification."
        }
      ],
      "answer": {
        "responses": [
          {
            "claimId": "claimId_test",
            "response": "admitted",
            "explanation": "explanation_test"
          }
        ],
        "defenses": [
          "defenses_test"
        ],
        "declaration": {
          "declarantName": "Maya Chen",
          "declarantCapacity": "Individual party",
          "executionLocation": "Brussels, Belgium"
        }
      },
      "statement": "The test delivery did not match the agreed specification.",
      "declarationStatement": "The test delivery did not match the agreed specification.",
      "acceptanceStatement": "The test delivery did not match the agreed specification.",
      "rules": {
        "version": "version_test",
        "hash": "hash_test"
      },
      "disclosure": {
        "version": "version_test",
        "hash": "hash_test"
      },
      "answerDeadline": "2026-08-09T12:00:00.000Z",
      "expiresAt": "2026-08-09T12:00:00.000Z",
      "termsDigest": "termsDigest_test",
      "canonicalBodyDigest": "canonicalBodyDigest_test"
    },
    "links": {
      "casePage": "https://partner.test.example/callbacks/peoples-court"
    }
  },
  "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.