Released docs. You are viewing the documentation published with v0.49.0. Development docs are available at Latest.
Answer review ask
const url = 'https://example.com/v1/review-requests/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/asks/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/answer';const options = { method: 'POST', headers: { 'Idempotency-Key': 'example', Authorization: 'Bearer <token>', 'Content-Type': 'application/json' }, body: '{"answeredAt":"2026-04-15T12:00:00Z","subject":{"digest":"example","id":"example","source":"example","type":"example","version":"example"}}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/v1/review-requests/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/asks/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/answer \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'Idempotency-Key: example' \ --data '{ "answeredAt": "2026-04-15T12:00:00Z", "subject": { "digest": "example", "id": "example", "source": "example", "type": "example", "version": "example" } }'Recovery repeats the exact request and caller-supplied idempotency key. Clients do not retry mutations implicitly.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Header Parameters
Section titled “Header Parameters”Retain this exact key and request bytes for explicit recovery.
Query Parameters
Section titled “Query Parameters”Optional governed access profile selector. When omitted, Casework selects the sole admitting profile for this route, or the route’s default profile when several admit.
Request Bodyrequired
Section titled “Request Bodyrequired”The producer’s report that the subject’s owner answered an ask. It carries the subject binding and the time the answer was committed, so it cannot carry the answer itself. The provider judges the answer by that time, at microsecond precision.
object
object
Example generated
{ "answeredAt": "2026-04-15T12:00:00Z", "subject": { "digest": "example", "id": "example", "source": "example", "type": "example", "version": "example" }}Responses
Section titled “Responses”Success
A reviewer’s request for more from the subject’s owner. The provider owns the ask; the producer reads it and reports only that it was answered.
object
object
Example
{ "state": "open", "wants": [ { "kind": "answer" } ]}Headers
Section titled “Headers”W3C trace context.
Problem: access-profile.ambiguous, request.invalid
object
object
Example
{ "code": "request.invalid", "detail": "The Casework request is invalid.", "status": 400, "title": "Invalid request", "type": "https://id.registrystack.org/problems/registry-casework/request/invalid"}Headers
Section titled “Headers”W3C trace context.
Problem: authentication.refused
object
Example
{ "code": "authentication.refused", "detail": "The bearer credential is missing, invalid, or expired. Sign in again.", "status": 401, "title": "Authentication refused", "type": "https://id.registrystack.org/problems/registry-casework/authentication/refused"}Headers
Section titled “Headers”W3C trace context.
Problem: operation.not-authorized, profile.not-authorized
object
object
Example
{ "code": "operation.not-authorized", "detail": "Your current Casework authority does not allow this operation.", "status": 403, "title": "Operation not authorized", "type": "https://id.registrystack.org/problems/registry-casework/operation/not-authorized"}Headers
Section titled “Headers”W3C trace context.
The review request or ask is concealed or unknown.
Headers
Section titled “Headers”W3C trace context.
Problem: idempotency.key-reused, review.ask-not-open
object
object
Example
{ "code": "idempotency.key-reused", "detail": "This idempotency key was used for a different request.", "status": 409, "title": "Idempotency key reused", "type": "https://id.registrystack.org/problems/registry-casework/idempotency/key-reused"}Headers
Section titled “Headers”W3C trace context.
Problem: idempotency.expired
object
Example
{ "code": "idempotency.expired", "detail": "The stored response for this idempotency key has expired. Reconcile the original operation before choosing a new key.", "status": 410, "title": "Idempotency window expired", "type": "https://id.registrystack.org/problems/registry-casework/idempotency/expired"}Headers
Section titled “Headers”W3C trace context.
Problem: request.body-too-large
object
Example
{ "code": "request.body-too-large", "detail": "The request body exceeds the one MiB limit.", "status": 413, "title": "Request body too large", "type": "https://id.registrystack.org/problems/registry-casework/request/body-too-large"}Headers
Section titled “Headers”W3C trace context.
Problem: request.unsupported-media-type
object
Example
{ "code": "request.unsupported-media-type", "detail": "Send a JSON request body with Content-Type application/json.", "status": 415, "title": "Unsupported media type", "type": "https://id.registrystack.org/problems/registry-casework/request/unsupported-media-type"}Headers
Section titled “Headers”W3C trace context.
Problem: request.unprocessable, review.ask-answer-time-invalid
object
object
Example
{ "code": "request.unprocessable", "detail": "The request body does not match the Casework contract.", "status": 422, "title": "Request could not be processed", "type": "https://id.registrystack.org/problems/registry-casework/request/unprocessable"}Headers
Section titled “Headers”Bounded value-free JSON path of the member the request type refused; present together with the validation reason.
Closed value-free validation category, always schema-mismatch for a request shape refusal; present together with the validation path.
W3C trace context.
Problem: runtime.failure
object
Example
{ "code": "runtime.failure", "detail": "Casework could not complete the request.", "status": 500, "title": "Casework runtime failure", "type": "https://id.registrystack.org/problems/registry-casework/runtime/failure"}Headers
Section titled “Headers”W3C trace context.
Problem: service.unavailable
object
Example
{ "code": "service.unavailable", "detail": "Casework storage is unavailable. Try again after the service recovers.", "status": 503, "title": "Casework service unavailable", "type": "https://id.registrystack.org/problems/registry-casework/service/unavailable"}Headers
Section titled “Headers”W3C trace context.
Cookies on Registry Stack
We use optional cookies to understand how you use the main Registry Stack website and this documentation. If you contact us, we may link this activity to your enquiry. You can change your choice at any time. Read the privacy policy.
Your browser asks sites not to track you, so optional tracking stays off.
We could not use or save that choice. Optional tracking remains off.