POSTlive

Accept a claimant-proposed narrow evaluation

Redeems the one-time respondent invitation and binds the respondent to the exact evaluation digest before evidence opens. Idempotency is resolved before mutable invitation/case-state validation: the same key and body replay the stored 201 without the show-once capability, while a different body returns idempotency_conflict.

/api/v2/cases/{caseId}/evaluation/acceptacceptNarrowEvaluationV2

Authentication and authority

Send one of the allowed bearer credential roles. Alternatives are OR; credentials named within one alternative are AND.

respondentAgentBearer

Credential bound to the respondent_agent role. Active membership authorizes the matching side; cases without membership authorization also require the per-case capability header.

Parameters

NameLocationRequirementSchema
caseIdpathRequired{"type":"string"}
Idempotency-KeyheaderRequired{"type":"string","minLength":8,"maxLength":200}

Request body

Required request body.

application/json

{
  "$ref": "#/components/schemas/NarrowEvaluationAcceptanceInput",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "inviteToken",
    "principalId",
    "actorId",
    "confirmationStatement",
    "confirmationReference"
  ],
  "properties": {
    "inviteToken": {
      "type": "string"
    },
    "principalId": {
      "type": "string"
    },
    "actorId": {
      "type": "string"
    },
    "confirmationStatement": {
      "type": "string",
      "description": "Copy the exact confirmationStatement returned by the respondent handoff; do not reconstruct or rewrite it."
    },
    "confirmationReference": {
      "type": "string"
    }
  }
}

Responses

201

Evaluation accepted; the respondent party capability is returned once.

application/json

{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "data",
    "requestId"
  ],
  "properties": {
    "data": {
      "$ref": "#/components/schemas/NarrowEvaluationAcceptance",
      "type": "object",
      "additionalProperties": false,
      "required": [
        "schemaVersion",
        "caseId",
        "externalEvaluationId",
        "evaluationDigest",
        "accepted",
        "status",
        "evaluationPath",
        "capabilityDelivery"
      ],
      "properties": {
        "schemaVersion": {
          "type": "string",
          "const": "narrow-evaluation-acceptance-v2"
        },
        "caseId": {
          "type": "string"
        },
        "externalEvaluationId": {
          "type": "string"
        },
        "evaluationDigest": {
          "type": "string",
          "pattern": "^[a-f0-9]{64}$"
        },
        "accepted": {
          "type": "boolean",
          "const": true
        },
        "status": {
          "type": "string",
          "const": "awaiting_party_submissions"
        },
        "evaluationPath": {
          "type": "string"
        },
        "capabilityDelivery": {
          "type": "string",
          "const": "show_once_not_replayed"
        },
        "showOnce": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "respondentPartyToken"
          ],
          "properties": {
            "respondentPartyToken": {
              "type": "string"
            }
          }
        }
      }
    },
    "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"
    }
  }
}

Example response

Successful response

{
  "data": {
    "schemaVersion": "narrow-evaluation-acceptance-v2",
    "caseId": "case_test_123",
    "externalEvaluationId": "externalEvaluationId_test",
    "evaluationDigest": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
    "accepted": true,
    "status": "awaiting_party_submissions",
    "evaluationPath": "evaluationPath_test",
    "capabilityDelivery": "show_once_not_replayed"
  },
  "requestId": "requestId_test"
}

Usage notes

  • Responses reflect the current authoritative resource state.
  • Send a unique Idempotency-Key. An exact retry returns the stored result; reusing the key with a different request fails.
  • The request is accepted only when its credential, authority, case state, and resource preconditions are satisfied.

Likely next action: Read the immutable evaluation definition