Marks the context as reviewed by an attorney (confirmedByAttorney: true), after which the AI treats it as confirmed background. Returns 404 when the case has no context yet. Requires owner or admin access to the case and an active plan (403 otherwise); not available to opposing counsel.
POST
/ai/cases/{caseId}/context/confirm
curl \
--request POST 'http://api.example.com/ai/cases/{caseId}/context/confirm' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"data": {
"_id": "65a1b2c3d4e5f6a7b8c9d0e1",
"case": "65a1b2c3d4e5f6a7b8c9d0e2",
"organization": "65a1b2c3d4e5f6a7b8c9d0e3",
"caseType": "custody",
"jurisdiction": "California",
"theoryOfCase": "string",
"legalClaims": [
{
"id": "string",
"claim": "string",
"statuteCitation": "string",
"elements": [
{
"id": "string",
"description": "string"
}
],
"source": "complaint"
}
],
"whatToProve": [
"string"
],
"keyParties": [
{
"name": "string",
"aliases": [
"string"
],
"role": "petitioner",
"handles": [
"string"
],
"significance": "string"
}
],
"keyDates": [
{
"date": "2026-05-04T09:42:00Z",
"event": "string",
"significance": "string"
}
],
"relevantDateRange": {
"start": "2026-05-04T09:42:00Z",
"end": "2026-05-04T09:42:00Z"
},
"sourceDocuments": [
"string"
],
"authoredBy": "65a1b2c3d4e5f6a7b8c9d0e4",
"confirmedByAttorney": false,
"fieldProvenance": {
"theoryOfCase": "attorney_stated"
},
"extractionModelVersion": "string",
"version": 2,
"createdAt": "2026-01-15T10:15:00.000Z",
"updatedAt": "2026-01-15T10:15:00.000Z"
},
"statusCode": 200,
"timestamp": "2026-01-15T10:15:00.000Z"
}