API reference

Rendered from the frozen contract descriptor at /api/openapi.json.

It is the machine-readable contract this reference is drawn from; you can read or download it directly.

POST /v1/counterparty/criteria-links/address

Read the address bound to a checked counterparty criteria link.

Requires the separately configured cockpit bearer; it is not authenticated with a tenant API key.

Security: cockpitBearer

Request

application/json

Schema: CriteriaLinkAddressRequest

Responses

StatusDescriptionContent typeSchemaExamplesError codes
200The link tenant, counterparty reference, and bound address.application/jsonCriteriaLinkAddressResponse
400Request body must contain only a valid link and subject_ref.application/problem+jsonProbleminvalid_request
401The configured cockpit bearer is required.application/problem+jsonProblemcockpit_caller_required unauthorized
403The criteria link was refused.application/problem+jsonProblemlink_refused
404No address is bound for this checked link.application/problem+jsonProblemaddress_not_bound
405Only POST is allowed.application/problem+jsonProblemmethod_not_allowed
410The criteria link has expired, or the bound address was erased.application/problem+jsonProblemcriteria_link_address_erased link_expired
500The address could not be read.application/problem+jsonProblemaddress_read_failed
503The cockpit criteria-link address reader is not configured.application/problem+jsonProblemcounterparty_link_unconfigured service_unavailable

POST /v1/counterparty/criteria-links/view

Read deliveries and verdicts for a checked counterparty criteria link.

Requires the separately configured cockpit bearer; it is not authenticated with a tenant API key.

Security: cockpitBearer

Request

application/json

Schema: CriteriaLinkViewRequest

Responses

StatusDescriptionContent typeSchemaExamplesError codes
200The checked subject, rubric version, and completed deliveries.application/jsonCriteriaLinkViewResponse
400Request body must contain only a valid link and subject_ref.application/problem+jsonProbleminvalid_request
401The configured cockpit bearer is required.application/problem+jsonProblemcockpit_caller_required unauthorized
403The criteria link was refused.application/problem+jsonProblemlink_refused
405Only POST is allowed.application/problem+jsonProblemmethod_not_allowed
410The criteria link has expired.application/problem+jsonProblemlink_expired
500The deliveries could not be read.application/problem+jsonProbleminternal_error
503The cockpit criteria-link delivery reader is not configured.application/problem+jsonProblemcounterparty_link_unconfigured service_unavailable

POST /v1/counterparty/criteria-links/criteria

Read the criteria and agreement state for a checked counterparty criteria link.

Requires the separately configured cockpit bearer; it is not authenticated with a tenant API key.

Security: cockpitBearer

Request

application/json

Schema: CriteriaLinkCriteriaRequest

Responses

StatusDescriptionContent typeSchemaExamplesError codes
200The checked rubric criteria and agreement state.application/jsonCriteriaLinkCriteriaResponse
400Request body must contain only a valid link and subject_ref.application/problem+jsonProbleminvalid_request
401The configured cockpit bearer is required.application/problem+jsonProblemcockpit_caller_required unauthorized
403The criteria link or its rubric was refused.application/problem+jsonProblemlink_refused
405Only POST is allowed.application/problem+jsonProblemmethod_not_allowed
410The criteria link has expired.application/problem+jsonProblemlink_expired
500The criteria could not be read.application/problem+jsonProbleminternal_error
503The cockpit criteria-link reader is not configured.application/problem+jsonProblemcounterparty_link_unconfigured service_unavailable

POST /v1/counterparty/criteria-links/contest

File a counterparty contest for a checked criteria link.

Requires the separately configured cockpit bearer; it is not authenticated with a tenant API key.

Security: cockpitBearer

Request

application/json

Schema: CriteriaLinkContestRequest

Responses

StatusDescriptionContent typeSchemaExamplesError codes
200The request repeats this party's open contest exactly and nothing new was recorded.application/jsonCriteriaLinkContestAlreadyFiledResponse
201The appended counterparty contest judgment.application/jsonCriteriaLinkContestResponse
400Request body or constructed judgment is invalid.application/problem+jsonProblemcontest_file_ref_invalid contest_reason_invalid contest_reason_required invalid_request judgment_shape_invalid
401The configured cockpit bearer is required.application/problem+jsonProblemcockpit_caller_required unauthorized
403The criteria link was refused.application/problem+jsonProblemlink_refused
404The checked subject has no verification.application/problem+jsonProblemnot_found
405Only POST is allowed.application/problem+jsonProblemmethod_not_allowed
409The contest window is closed or this party already has an open contest.application/problem+jsonProblemcontest_already_open contest_window_closed
410The criteria link has expired.application/problem+jsonProblemlink_expired
422The judgment named an unknown criterion.application/problem+jsonProblemjudgment_criterion_unknown
500The contest could not be appended.application/problem+jsonProbleminternal_error
503The cockpit criteria-link contest writer is not configured.application/problem+jsonProblemcounterparty_link_unconfigured service_unavailable

POST /v1/counterparty/criteria-links/accept

Accept the signed criteria version of a checked counterparty criteria link.

Requires the separately configured cockpit bearer; it is not authenticated with a tenant API key.

Security: cockpitBearer

Request

application/json

Schema: CriteriaLinkAcceptRequest

Responses

StatusDescriptionContent typeSchemaExamplesError codes
201The appended counterparty criteria acceptance.application/jsonCriteriaLinkAcceptResponse
400Request body must contain only a valid checked link, subject, judge, and rubric version.application/problem+jsonProbleminvalid_request
401The configured cockpit bearer is required.application/problem+jsonProblemcockpit_caller_required unauthorized
403The criteria link or its rubric was refused.application/problem+jsonProblemlink_refused
405Only POST is allowed.application/problem+jsonProblemmethod_not_allowed
409The criteria version or agreement state conflicts with this acceptance.application/problem+jsonProblemconflict criteria_version_mismatch
410The criteria link has expired.application/problem+jsonProblemlink_expired
500The criteria acceptance could not be appended.application/problem+jsonProbleminternal_error
503The cockpit criteria-link acceptance writer is not configured.application/problem+jsonProblemcounterparty_link_unconfigured service_unavailable

POST /v1/counterparty/criteria-links/change

Ask for a change to the signed criteria version of a checked counterparty criteria link.

Requires the separately configured cockpit bearer, not a tenant API key. The request text is plain text and never a rubric.

Security: cockpitBearer

Request

application/json

Schema: CriteriaLinkChangeRequest

Responses

StatusDescriptionContent typeSchemaExamplesError codes
201The appended counterparty criteria change request.application/jsonCriteriaLinkChangeResponse
400Request body must contain only a valid checked link, subject, judge, rubric version, and plain-text request.application/problem+jsonProbleminvalid_request
401The configured cockpit bearer is required.application/problem+jsonProblemcockpit_caller_required unauthorized
403The criteria link or its rubric was refused.application/problem+jsonProblemlink_refused
405Only POST is allowed.application/problem+jsonProblemmethod_not_allowed
409The criteria version or agreement state conflicts with this change request.application/problem+jsonProblemconflict criteria_version_mismatch
410The criteria link has expired.application/problem+jsonProblemlink_expired
500The criteria change request could not be appended.application/problem+jsonProbleminternal_error
503The cockpit criteria-link change writer is not configured.application/problem+jsonProblemcounterparty_link_unconfigured service_unavailable

POST /v1/criteria-links

Mint a counterparty criteria link for a Deals criteria subject (deals:<uuid>:criteria or review:<uuid>:criteria).

Requires the configured Deals project API key with rubric:write. The counterparty address is obtained only from Deals and is never accepted from the caller; for review:<uuid>:criteria, its counterparty is the contact Deals returns. When rubric_id is sent, the rubric must exist for the Deals project at rubric_version, and the link carries it so the counterparty can read its criteria.

Security: apiKey

Request

application/json

Schema: object

Responses

StatusDescriptionContent typeSchemaExamplesError codes
201Opaque criteria link minted for the Deals counterparty.application/jsonobject
400Request body must contain only a valid subject_ref, rubric_version and an optional rubric_id.application/problem+jsonProbleminvalid_request
401Missing, invalid or expired bearer API key.application/problem+jsonProblemapi_key_expired key_on_hold unauthorized
403API key lacks rubric:write or is not the configured Deals project.application/problem+jsonProblemagent_key_request_only criteria_link_tenant_refused forbidden identity_contract_tenant_mismatch insufficient_scope
404Deals has no counterparty record for the criteria subject, or the rubric does not exist at that version.application/problem+jsonProblemcriteria_link_no_counterparty_record not_found
409Deals counterparty address conflicts with its existing link binding.application/problem+jsonProblemcriteria_link_address_conflict
422Deals returned an invalid counterparty address.application/problem+jsonProblemcriteria_link_address_invalid
429API key per-minute limit reached; wait Retry-After seconds before retrying.application/problem+jsonProblemapi_key_rate_limited
503Counterparty link is unconfigured or Deals is unavailable.application/problem+jsonProblemcounterparty_link_unconfigured criteria_link_counterparty_unavailable service_unavailable

POST /v1/survival-events/bilateral

Append a bilateral survival lifecycle event.

Authenticated engine ingress for a marketplace bilateral verdict lifecycle fact. The caller is tenant-bound by its bearer key; replaying the same source, verdict_ref, and state is idempotent.

Security: apiKey

Request

application/json

Schema: object

Responses

StatusDescriptionContent typeSchemaExamplesError codes
201Bilateral survival event appended or replayed idempotently.
400Invalid bilateral event payload.application/problem+jsonProbleminvalid_json invalid_request
401Missing or invalid bearer API key.application/problem+jsonProblemapi_key_expired key_on_hold unauthorized
403Access is forbidden.application/problem+jsonProblemagent_key_request_only forbidden identity_contract_tenant_mismatch
413Request body is too large.application/problem+jsonProblempayload_too_large
429API key per-minute limit reached; wait Retry-After seconds before retrying.application/problem+jsonProblemapi_key_rate_limited
500Internal server error.application/problem+jsonProbleminternal_error
503The authentication dependency is unavailable.application/problem+jsonProblemservice_unavailable

GET /v1/requests

List the project's verification requests, newest first.

Requires a project key with rubric:write. An agent key is refused with request_requester_only.

Security: apiKey

Parameters

NameInRequiredSchema type
cursorqueryfalsestring
limitqueryfalseinteger
seriesqueryfalsestring

Responses

StatusDescriptionContent typeSchemaExamplesError codes
200One page of requests, or a series history.application/json
400Invalid cursor, limit or series.application/problem+jsonProbleminvalid_request
401Missing, invalid or expired bearer API key.application/problem+jsonProblemapi_key_expired key_on_hold unauthorized
403The key may not read requests.application/problem+jsonProblemagent_key_request_only forbidden insufficient_scope request_requester_only
404Requests are not enabled.application/problem+jsonProblemrequests_not_enabled
429API key per-minute limit reached; wait Retry-After seconds before retrying.application/problem+jsonProblemapi_key_rate_limited
500Internal server error.application/problem+jsonProbleminternal_error

POST /v1/requests

Create a draft verification request with its first version.

Requires a project key with rubric:write. The rubric version is pinned and each criterion is planned; a criterion that cannot be checked refuses the whole create with request_criterion_uncheckable.

Security: apiKey

Request

application/json

Schema: RequestCreate

Responses

StatusDescriptionContent typeSchemaExamplesError codes
201The draft request with its first version and judging plan.application/jsonVerificationRequest
400Invalid request.application/problem+jsonProbleminvalid_json invalid_request
401Missing, invalid or expired bearer API key.application/problem+jsonProblemapi_key_expired key_on_hold unauthorized
403The key may not create requests.application/problem+jsonProblemagent_key_request_only forbidden insufficient_scope request_requester_only
404Requests are not enabled, or the rubric version was not found.application/problem+jsonProblemnot_found requests_not_enabled
409The request conflicts with its current state.application/problem+jsonProblemconflict request_state_invalid
413Request body is too large.application/problem+jsonProblempayload_too_large
422The version, its review destination or a criterion cannot be accepted.application/problem+jsonProblemrequest_criterion_uncheckable request_input_invalid request_review_unavailable unprocessable
429API key per-minute limit reached; wait Retry-After seconds before retrying.application/problem+jsonProblemapi_key_rate_limited
500Internal server error.application/problem+jsonProbleminternal_error

GET /v1/requests/{id}

Read a verification request with its current version and judging plan.

Requires a project key with rubric:write of the request's tenant. Another tenant's request answers 404.

Security: apiKey

Parameters

NameInRequiredSchema type
idpathtruestring

Responses

StatusDescriptionContent typeSchemaExamplesError codes
200The request.application/jsonVerificationRequest
401Missing, invalid or expired bearer API key.application/problem+jsonProblemapi_key_expired key_on_hold unauthorized
403The key may not read this request.application/problem+jsonProblemagent_key_request_only forbidden insufficient_scope request_requester_only
404Request not found, or requests are not enabled.application/problem+jsonProblemnot_found requests_not_enabled
429API key per-minute limit reached; wait Retry-After seconds before retrying.application/problem+jsonProblemapi_key_rate_limited
500Internal server error.application/problem+jsonProbleminternal_error

POST /v1/requests/{id}/publish

Publish a draft request so granted keys can submit to it.

The current version is re-planned; a criterion that cannot be checked refuses the publish and the request stays a draft.

Security: apiKey

Parameters

NameInRequiredSchema type
idpathtruestring

Responses

StatusDescriptionContent typeSchemaExamplesError codes
200The published request.application/jsonVerificationRequest
401Missing, invalid or expired bearer API key.application/problem+jsonProblemapi_key_expired key_on_hold unauthorized
403The key may not publish this request.application/problem+jsonProblemagent_key_request_only forbidden insufficient_scope request_requester_only
404Request not found, or requests are not enabled.application/problem+jsonProblemnot_found requests_not_enabled
409The request is not a draft.application/problem+jsonProblemconflict request_state_invalid
422A criterion of the pinned rubric version cannot be checked.application/problem+jsonProblemrequest_criterion_uncheckable
429API key per-minute limit reached; wait Retry-After seconds before retrying.application/problem+jsonProblemapi_key_rate_limited
500Internal server error.application/problem+jsonProbleminternal_error

POST /v1/requests/{id}/withdraw

Withdraw a published or suspended request, with a reason.

Security: apiKey

Parameters

NameInRequiredSchema type
idpathtruestring

Request

application/json

Schema: RequestWithdraw

Responses

StatusDescriptionContent typeSchemaExamplesError codes
200The withdrawn request.application/jsonVerificationRequest
400Invalid request.application/problem+jsonProbleminvalid_json invalid_request
401Missing, invalid or expired bearer API key.application/problem+jsonProblemapi_key_expired key_on_hold unauthorized
403The key may not withdraw this request.application/problem+jsonProblemagent_key_request_only forbidden insufficient_scope request_requester_only
404Request not found, or requests are not enabled.application/problem+jsonProblemnot_found requests_not_enabled
409The request cannot move to withdrawn from its state.application/problem+jsonProblemconflict request_state_invalid
413Request body is too large.application/problem+jsonProblempayload_too_large
429API key per-minute limit reached; wait Retry-After seconds before retrying.application/problem+jsonProblemapi_key_rate_limited
500Internal server error.application/problem+jsonProbleminternal_error

POST /v1/requests/{id}/grants

Grant an agent key the right to submit to the request.

Security: apiKey

Parameters

NameInRequiredSchema type
idpathtruestring

Request

application/json

Schema: RequestGrantCreate

Responses

StatusDescriptionContent typeSchemaExamplesError codes
201The grant.application/jsonRequestGrant
400Invalid request.application/problem+jsonProbleminvalid_json invalid_request
401Missing, invalid or expired bearer API key.application/problem+jsonProblemapi_key_expired key_on_hold unauthorized
403The key may not grant on this request.application/problem+jsonProblemagent_key_request_only forbidden insufficient_scope request_requester_only
404Request not found, or requests are not enabled.application/problem+jsonProblemnot_found requests_not_enabled
409The request conflicts with its current state.application/problem+jsonProblemconflict request_state_invalid
413Request body is too large.application/problem+jsonProblempayload_too_large
422The key is not a live agent key of this tenant.application/problem+jsonProblemrequest_grant_key_invalid unprocessable
429API key per-minute limit reached; wait Retry-After seconds before retrying.application/problem+jsonProblemapi_key_rate_limited
500Internal server error.application/problem+jsonProbleminternal_error

DELETE /v1/requests/{id}/grants/{key_id}

Revoke an agent key's grant on the request.

Security: apiKey

Parameters

NameInRequiredSchema type
idpathtruestring
key_idpathtruestring

Responses

StatusDescriptionContent typeSchemaExamplesError codes
204The grant is revoked.
401Missing, invalid or expired bearer API key.application/problem+jsonProblemapi_key_expired key_on_hold unauthorized
403The key may not revoke on this request.application/problem+jsonProblemagent_key_request_only forbidden insufficient_scope request_requester_only
404Request or grant not found, or requests are not enabled.application/problem+jsonProblemnot_found requests_not_enabled
429API key per-minute limit reached; wait Retry-After seconds before retrying.application/problem+jsonProblemapi_key_rate_limited
500Internal server error.application/problem+jsonProbleminternal_error

GET /v1/requests/{id}/attempts

List the attempts on a request, oldest first, across versions.

Security: apiKey

Parameters

NameInRequiredSchema type
idpathtruestring
cursorqueryfalsestring

Responses

StatusDescriptionContent typeSchemaExamplesError codes
200One page of attempts.application/jsonRequestAttemptList
400Invalid cursor.application/problem+jsonProbleminvalid_request
401Missing, invalid or expired bearer API key.application/problem+jsonProblemapi_key_expired key_on_hold unauthorized
403The key may not read this request.application/problem+jsonProblemagent_key_request_only forbidden insufficient_scope request_requester_only
404Request not found, or requests are not enabled.application/problem+jsonProblemnot_found requests_not_enabled
429API key per-minute limit reached; wait Retry-After seconds before retrying.application/problem+jsonProblemapi_key_rate_limited
500Internal server error.application/problem+jsonProbleminternal_error

GET /v1/requests/{id}/task

Read a granted request as the agent key works it.

A granted agent key with verify:read, or the requester's project key, reads it. A key with no live grant is refused.

Security: apiKey

Parameters

NameInRequiredSchema type
idpathtruestring

Responses

StatusDescriptionContent typeSchemaExamplesError codes
200The task.application/jsonRequestTask
401Missing, invalid or expired bearer API key.application/problem+jsonProblemapi_key_expired key_on_hold unauthorized
403The key holds no live grant on this request.application/problem+jsonProblemagent_key_request_only forbidden insufficient_scope request_key_not_granted
404Request not found, or requests are not enabled.application/problem+jsonProblemnot_found requests_not_enabled
429API key per-minute limit reached; wait Retry-After seconds before retrying.application/problem+jsonProblemapi_key_rate_limited
500Internal server error.application/problem+jsonProbleminternal_error

POST /v1/requests/{id}/reports

Report misuse of a request.

The requester's project key, or an agent key that holds or has held a grant on the request, may report.

Security: apiKey

Parameters

NameInRequiredSchema type
idpathtruestring

Request

application/json

Schema: RequestReportCreate

Responses

StatusDescriptionContent typeSchemaExamplesError codes
201The report.application/jsonRequestReport
400Invalid request.application/problem+jsonProbleminvalid_json invalid_request
401Missing, invalid or expired bearer API key.application/problem+jsonProblemapi_key_expired key_on_hold unauthorized
403The key may not report on this request.application/problem+jsonProblemagent_key_request_only forbidden insufficient_scope request_key_not_granted
404Request not found, or requests are not enabled.application/problem+jsonProblemnot_found requests_not_enabled
413Request body is too large.application/problem+jsonProblempayload_too_large
429Rate limit reached; wait Retry-After seconds before retrying.application/problem+jsonProblemapi_key_rate_limited request_report_limited
500Internal server error.application/problem+jsonProbleminternal_error

POST /v1/requests/{id}/results/{verification_id}/confirm

Confirm or decline one met result of the request.

Security: apiKey

Parameters

NameInRequiredSchema type
idpathtruestring
verification_idpathtruestring

Request

application/json

Schema: RequestResultConfirm

Responses

StatusDescriptionContent typeSchemaExamplesError codes
200The confirmation.application/jsonRequestResultConfirmation
400Invalid request.application/problem+jsonProbleminvalid_json invalid_request
401Missing, invalid or expired bearer API key.application/problem+jsonProblemapi_key_expired key_on_hold unauthorized
403The key may not confirm on this request.application/problem+jsonProblemagent_key_request_only forbidden insufficient_scope request_requester_only
404Request or result not found, or requests are not enabled.application/problem+jsonProblemnot_found requests_not_enabled
409The result is not decided yet, is already confirmed, or ran on another rubric.application/problem+jsonProblemrequest_result_already_confirmed request_result_not_decided request_rubric_mismatch
413Request body is too large.application/problem+jsonProblempayload_too_large
422The result did not meet the request.application/problem+jsonProblemrequest_result_not_met
429API key per-minute limit reached; wait Retry-After seconds before retrying.application/problem+jsonProblemapi_key_rate_limited
500Internal server error.application/problem+jsonProbleminternal_error

GET /v1/requests/{id}/confirmed.csv

Download the request's confirmed results as CSV.

Columns: row_ref, accepted, version, attempt, key_prefix, confirmed_at. The X-Content-SHA256 response header carries the SHA-256 of the body.

Security: apiKey

Parameters

NameInRequiredSchema type
idpathtruestring
versionqueryfalseinteger

Responses

StatusDescriptionContent typeSchemaExamplesError codes
200The confirmed results.text/csvstring
400Invalid version.application/problem+jsonProbleminvalid_request
401Missing, invalid or expired bearer API key.application/problem+jsonProblemapi_key_expired key_on_hold unauthorized
403The key may not read this request.application/problem+jsonProblemagent_key_request_only forbidden insufficient_scope request_requester_only
404Request not found, or requests are not enabled.application/problem+jsonProblemnot_found requests_not_enabled
429API key per-minute limit reached; wait Retry-After seconds before retrying.application/problem+jsonProblemapi_key_rate_limited
500Internal server error.application/problem+jsonProbleminternal_error

POST /v1/verify

Submit a verification (async/202 default; bounded-sync opt-in).

Submit a rubric_id + a submission. The submission is {inline} | {uri} | the Contract 05 typed roles object. For faithfulness/grounding, send the work as `output` and its source as `context[]` — the judge is told which blob is authoritative and treats un-grounded or contradicted claims as violations.

Security: apiKey

Parameters

NameInRequiredSchema type
Idempotency-Keyheaderfalsestring

Request

application/json

Schema: VerifyRequest

faithfulness
{
  "rubric_id": "7f8e9d6c-1a2b-4c3d-8e9f-0a1b2c3d4e5f",
  "submission": {
    "output": "Q2 revenue rose 12% to $4.2M and monthly churn fell to 1.8%.",
    "context": [
      {
        "label": "source",
        "value": "Q2 results: revenue grew 12% quarter-over-quarter to $4.2M. Monthly churn improved from 2.4% to 1.8%."
      }
    ]
  },
  "options": {
    "wait_ms": 45000
  }
}
input_and_output
{
  "rubric_id": "7f8e9d6c-1a2b-4c3d-8e9f-0a1b2c3d4e5f",
  "submission": {
    "input": "What is the refund window, and do disputes affect it?",
    "output": "Refunds are accepted within 30 days of delivery; an open dispute pauses that clock until resolution."
  }
}
reference
{
  "rubric_id": "7f8e9d6c-1a2b-4c3d-8e9f-0a1b2c3d4e5f",
  "submission": {
    "output": "The capital of France is Paris.",
    "reference": "Paris"
  }
}
evidence
{
  "rubric_id": "7f8e9d6c-1a2b-4c3d-8e9f-0a1b2c3d4e5f",
  "submission": {
    "output": "The customer was refunded in full on 2026-05-14.",
    "evidence": [
      {
        "label": "support-ticket",
        "value": "Ticket #8821: refund of $42.00 issued 2026-05-14."
      }
    ]
  }
}
values
{
  "rubric_id": "7f8e9d6c-1a2b-4c3d-8e9f-0a1b2c3d4e5f",
  "submission": {
    "output": "{\"invoice_number\":\"INV-48213\",\"total\":1250.5,\"currency\":\"USD\"}",
    "values": {
      "total": 1250.5,
      "currency": "USD"
    }
  }
}
legacy_inline
{
  "rubric_id": "7f8e9d6c-1a2b-4c3d-8e9f-0a1b2c3d4e5f",
  "submission": {
    "inline": "INV-4821 total $1,250.50"
  }
}
legacy_content_alias
{
  "rubric_id": "7f8e9d6c-1a2b-4c3d-8e9f-0a1b2c3d4e5f",
  "submission": {
    "content": "The answer text, submitted via the legacy content field."
  }
}
uri_reference
{
  "rubric_id": "7f8e9d6c-1a2b-4c3d-8e9f-0a1b2c3d4e5f",
  "submission": {
    "uri": "https://example.com/artifacts/answer.txt"
  }
}

Responses

StatusDescriptionContent typeSchemaExamplesError codes
200Completed verdict (bounded-sync).application/jsonVerificationObject
202Accepted (async).application/jsonVerifyAccepted
400Invalid request, or a request subject without an Idempotency-Key.application/problem+jsonProbleminvalid_callback_url invalid_identity_rung invalid_json invalid_request request_idempotency_key_required
401Missing, invalid or expired bearer API key.application/problem+jsonProblemapi_key_expired key_on_hold unauthorized
403API key lacks the required scope, or may not submit to this request.application/problem+jsonProblemagent_key_request_only forbidden identity_contract_tenant_mismatch insufficient_scope request_key_not_granted
404Requests are not enabled.application/problem+jsonProblemrequests_not_enabled
409Request conflicts with an existing idempotency key, or the request is not open, its attempt cap is reached, or the rubric is not the request version's.application/problem+jsonProblemidempotency_key_conflict request_attempt_cap_reached request_not_open request_rubric_mismatch
410The deadline of the request has passed.application/problem+jsonProblemrequest_deadline_passed
413Request body is too large.application/problem+jsonProblempayload_too_large
422Acretix managed review is not available to this project.application/problem+jsonProblemacretix_review_unavailable
429Rate limit reached; wait Retry-After seconds before retrying.application/problem+jsonProblemaccount_spend_cap_reached api_key_monthly_cap_reached api_key_rate_limited request_rate_limited test_key_monthly_cap_reached
500Internal server error.application/problem+jsonProbleminternal_error

GET /v1/webhook-endpoints

List this tenant's active webhook endpoints.

Security: apiKey

Responses

StatusDescriptionContent typeSchemaExamplesError codes
200Active endpoints, oldest first. Secrets are never returned.application/jsonWebhookEndpointList
401Missing, invalid or expired bearer API key.application/problem+jsonProblemapi_key_expired key_on_hold unauthorized
403API key lacks the required scope.application/problem+jsonProblemagent_key_request_only forbidden insufficient_scope
429API key per-minute limit reached; wait Retry-After seconds before retrying.application/problem+jsonProblemapi_key_rate_limited
500Internal server error.application/problem+jsonProbleminternal_error

POST /v1/webhook-endpoints

Register a webhook endpoint and issue its signing secret once.

The API key needs both verify:read and rubric:write. A project may have at most 10 active endpoints; removing one frees a slot. The response is the only place the plaintext signing secret is returned; Acretix stores only its encrypted form.

Security: apiKey

Request

application/json

Schema: WebhookEndpointRegisterRequest

Responses

StatusDescriptionContent typeSchemaExamplesError codes
201Registered endpoint and its one-time plaintext signing secret.application/jsonWebhookEndpointCreated
400Endpoint URL or request body is invalid.application/problem+jsonProbleminvalid_callback_url invalid_json invalid_request
401Missing, invalid or expired bearer API key.application/problem+jsonProblemapi_key_expired key_on_hold unauthorized
403API key lacks the required scope.application/problem+jsonProblemagent_key_request_only forbidden insufficient_scope
409The project already has the maximum of 10 active webhook endpoints.application/problem+jsonProblemconflict
413Request body is too large.application/problem+jsonProblempayload_too_large
429API key per-minute limit reached; wait Retry-After seconds before retrying.application/problem+jsonProblemapi_key_rate_limited
500Internal server error.application/problem+jsonProbleminternal_error

DELETE /v1/webhook-endpoints/{id}

Deactivate an active webhook endpoint.

The API key needs both verify:read and rubric:write.

Security: apiKey

Parameters

NameInRequiredSchema type
idpathtruestring

Responses

StatusDescriptionContent typeSchemaExamplesError codes
204Endpoint deactivated; historical deliveries are retained.
401Missing, invalid or expired bearer API key.application/problem+jsonProblemapi_key_expired key_on_hold unauthorized
403API key lacks the required scope.application/problem+jsonProblemagent_key_request_only forbidden insufficient_scope
404Endpoint not found.application/problem+jsonProblemnot_found
429API key per-minute limit reached; wait Retry-After seconds before retrying.application/problem+jsonProblemapi_key_rate_limited
500Internal server error.application/problem+jsonProbleminternal_error

GET /v1/escalation-settings

Read this project's current escalation settings version.

A project's escalation settings are versioned and every change is kept.

Security: apiKey

Responses

StatusDescriptionContent typeSchemaExamplesError codes
200Current settings version, or null when the project has none.application/jsonEscalationSettingsResponse
401Missing, invalid or expired bearer API key.application/problem+jsonProblemapi_key_expired key_on_hold unauthorized
403API key lacks the required scope.application/problem+jsonProblemagent_key_request_only forbidden insufficient_scope
429API key per-minute limit reached; wait Retry-After seconds before retrying.application/problem+jsonProblemapi_key_rate_limited
500Internal server error.application/problem+jsonProbleminternal_error

PUT /v1/escalation-settings

Record a new version of this project's escalation settings.

A project's escalation settings are versioned and every change is kept. The API key needs both verify:read and rubric:write; acretix_review requires review_limit_cents.

Security: apiKey

Request

application/json

Schema: EscalationSettingsUpdate

Responses

StatusDescriptionContent typeSchemaExamplesError codes
200The newly recorded settings version.application/jsonEscalationSettingsResponse
400Escalation settings request body is invalid.application/problem+jsonProbleminvalid_json invalid_request
401Missing, invalid or expired bearer API key.application/problem+jsonProblemapi_key_expired key_on_hold unauthorized
403API key lacks the required scope.application/problem+jsonProblemagent_key_request_only forbidden insufficient_scope
413Request body is too large.application/problem+jsonProblempayload_too_large
422Acretix managed review is not available to this project.application/problem+jsonProblemacretix_review_unavailable
429API key per-minute limit reached; wait Retry-After seconds before retrying.application/problem+jsonProblemapi_key_rate_limited
500Internal server error.application/problem+jsonProbleminternal_error

POST /v1/escalations/{escalation_id}/decisions

Decide an open own-reviewers escalation.

The API key needs review:decide. decided_by names the account of the person who decided. The engine computes decided_relation, owner or member, from the project's linked owner and the owner's active reviewer grants, and never from the request. The decision is labelled as asserted by the project's key. This route answers 404 until the deployment turns the feature on.

Security: apiKey

Parameters

NameInRequiredSchema type
escalation_idpathtruestring

Request

application/json

Schema: OwnReviewDecisionRequest

Responses

StatusDescriptionContent typeSchemaExamplesError codes
201Recorded own-reviewer decision and its signed decision envelope.application/jsonOwnReviewDecisionResponse
400Decision request or judgment shape is invalid.application/problem+jsonProblemjudgment_shape_invalid
401Missing, invalid or expired bearer API key.application/problem+jsonProblemapi_key_expired key_on_hold unauthorized
403API key lacks review:decide.application/problem+jsonProblemagent_key_request_only forbidden identity_contract_tenant_mismatch insufficient_scope
404The feature is off or the escalation is not available to this project.application/problem+jsonProblemescalation_not_found not_found
409The escalation already has a closing judgment.application/problem+jsonProblemjudgment_already_closed
413Request body is too large.application/problem+jsonProblempayload_too_large
422The judgment cannot be admitted for this escalation.application/problem+jsonProblemjudgment_capacity_not_admitted judgment_criterion_unknown judgment_minutes_invalid judgment_rule_unknown
429API key per-minute limit reached; wait Retry-After seconds before retrying.application/problem+jsonProblemapi_key_rate_limited
500Internal server error.application/problem+jsonProbleminternal_error
503The decision could not be completed now.application/problem+jsonProblemservice_unavailable

GET /v1/escalations

List the project's open own-reviewers escalations, oldest first.

The API key needs verify:read. The list holds only the key's project's escalations with destination own_reviewers and status open. Each item's verification is read at GET /verifications/{id}. This route answers 404 until the deployment turns the feature on.

Security: apiKey

Parameters

NameInRequiredSchema type
limitqueryfalseinteger
after_opened_atqueryfalsestring
after_idqueryfalsestring

Responses

StatusDescriptionContent typeSchemaExamplesError codes
200This project's open own-reviewer escalations, oldest first.application/jsonOwnReviewEscalationList
400Queue query parameters are invalid.application/problem+jsonProbleminvalid_request
401Missing, invalid or expired bearer API key.application/problem+jsonProblemapi_key_expired key_on_hold unauthorized
403API key lacks verify:read.application/problem+jsonProblemagent_key_request_only forbidden identity_contract_tenant_mismatch insufficient_scope
404The queue feature is not enabled.application/problem+jsonProblemnot_found
429API key per-minute limit reached; wait Retry-After seconds before retrying.application/problem+jsonProblemapi_key_rate_limited
500Internal server error.application/problem+jsonProbleminternal_error
503The service is unavailable.application/problem+jsonProblemservice_unavailable

POST /v1/proofs/verify

Publicly verify a signed proof artifact.

Unauthenticated, read-only proof verification. The request carries a signed proof-envelope document already issued by Acretix; the API re-verifies the Ed25519 signature against the published key and returns only summary credential fields. It never re-signs or returns raw claim/evidence content.

Security: none (no key needed)

Request

application/json

Schema: object

Responses

StatusDescriptionContent typeSchemaExamplesError codes
200Proof validity. Valid proofs include a summary credential and SVG badge.application/json
400Invalid proof payload.application/problem+jsonProbleminvalid_json
403Request source is not trusted.application/problem+jsonProblemuntrusted_request_source
413Request body is too large.application/problem+jsonProblempayload_too_large
429Rate limited.application/problem+jsonProblemrate_limited
500Internal server error.application/problem+jsonProbleminternal_error

POST /v1/evidence/source-attested

Ingest source-attested evidence (staging).

Accepts a payload signed by a registered source key distinct from the claimant. Verified Ed25519 signatures ingest as source_attested (T1); bad or unverifiable signatures ingest as claimant (T3).

Security: apiKey

Request

application/json

Schema: SourceAttestedEvidenceRequest

Responses

StatusDescriptionContent typeSchemaExamplesError codes
201Evidence packet recorded with an explicit trust tier.application/jsonSourceAttestedEvidenceResponse
400Invalid request.application/problem+jsonProbleminvalid_json invalid_request
401Missing, invalid or expired bearer API key.application/problem+jsonProblemapi_key_expired key_on_hold unauthorized
403Access is forbidden.application/problem+jsonProblemagent_key_request_only forbidden identity_contract_tenant_mismatch
404Source not registered for tenant.application/problem+jsonProblemnot_found
413Request body is too large.application/problem+jsonProblempayload_too_large
429API key per-minute limit reached; wait Retry-After seconds before retrying.application/problem+jsonProblemapi_key_rate_limited
500Internal server error.application/problem+jsonProbleminternal_error

GET /v1/verifications

List tenant-scoped verifications for the explorer.

Read-only verification explorer. Tenant is resolved from the API key or the request-threaded identity-contract tenant header; the response echoes tenant_id for a load-bearing caller check.

Security: apiKey

Parameters

NameInRequiredSchema type
statusqueryfalseVerificationStatus
determinationqueryfalsestring
flaggedqueryfalseboolean
fromqueryfalsestring
toqueryfalsestring
limitqueryfalseinteger
offsetqueryfalseinteger

Responses

StatusDescriptionContent typeSchemaExamplesError codes
200Tenant-scoped verification list.application/jsonVerificationList
400Invalid filter.application/problem+jsonProbleminvalid_request
401Missing, invalid or expired bearer API key.application/problem+jsonProblemapi_key_expired key_on_hold unauthorized
403API key lacks the required scope.application/problem+jsonProblemagent_key_request_only forbidden insufficient_scope
429API key per-minute limit reached; wait Retry-After seconds before retrying.application/problem+jsonProblemapi_key_rate_limited
500Internal server error.application/problem+jsonProbleminternal_error

GET /v1/verifications/{id}

Get a verification status + verdict.

Security: apiKey

Parameters

NameInRequiredSchema type
idpathtruestring

Responses

StatusDescriptionContent typeSchemaExamplesError codes
200Verification object.application/jsonVerificationObject
401Missing, invalid or expired bearer API key.application/problem+jsonProblemapi_key_expired key_on_hold unauthorized
403API key lacks the required scope.application/problem+jsonProblemagent_key_request_only forbidden insufficient_scope
404Verification not found.application/problem+jsonProblemnot_found
429API key per-minute limit reached; wait Retry-After seconds before retrying.application/problem+jsonProblemapi_key_rate_limited
500Internal server error.application/problem+jsonProbleminternal_error

GET /v1/verifications/{id}/proof

Get the signed proof object.

Security: apiKey

Parameters

NameInRequiredSchema type
idpathtruestring

Responses

StatusDescriptionContent typeSchemaExamplesError codes
200Proof object.
401Missing, invalid or expired bearer API key.application/problem+jsonProblemapi_key_expired key_on_hold unauthorized
403Access is forbidden.application/problem+jsonProblemagent_key_request_only forbidden
404Proof not found.application/problem+jsonProblemnot_found
429API key per-minute limit reached; wait Retry-After seconds before retrying.application/problem+jsonProblemapi_key_rate_limited
500Internal server error.application/problem+jsonProbleminternal_error

GET /v1/verifications/{id}/determination

Get the latest customer review determination (cockpit→adapter round-trip).

The latest single-party customer review decision for a verification (tenant-scoped). A product adapter polls this to finalize a held check; verify reports the decision + consequence marker only (decide-not-execute).

Security: apiKey

Parameters

NameInRequiredSchema type
idpathtruestring

Responses

StatusDescriptionContent typeSchemaExamplesError codes
200The latest review determination.
400Invalid request.application/problem+jsonProbleminvalid_request
401Missing, invalid or expired bearer API key.application/problem+jsonProblemapi_key_expired key_on_hold unauthorized
403Access is forbidden.application/problem+jsonProblemagent_key_request_only forbidden
404No determination recorded for this verification.application/problem+jsonProblemnot_found
429API key per-minute limit reached; wait Retry-After seconds before retrying.application/problem+jsonProblemapi_key_rate_limited
500Internal server error.application/problem+jsonProbleminternal_error

GET /v1/verifications/{id}/proof/envelope

Download the signed attestation envelope(s) for third-party verification.

Streams the exact canonical bytes that were hashed and signed, plus the signature, so a holder can re-verify offline against the published JWKS (/.well-known/acretix-verify/keys.json). See /docs/verify-a-proof for the recipe.

Security: apiKey

Parameters

NameInRequiredSchema type
idpathtruestring

Responses

StatusDescriptionContent typeSchemaExamplesError codes
200Signed proof-envelope document.
401Missing, invalid or expired bearer API key.application/problem+jsonProblemapi_key_expired key_on_hold unauthorized
403Access is forbidden.application/problem+jsonProblemagent_key_request_only forbidden
404No proof recorded.application/problem+jsonProblemnot_found
410Retention deleted this proof envelope; the content-free signed record still verifies through POST /v1/proofs/verify.application/problem+jsonProblemretention_deleted
429API key per-minute limit reached; wait Retry-After seconds before retrying.application/problem+jsonProblemapi_key_rate_limited
500Internal server error.application/problem+jsonProbleminternal_error

POST /v1/verifications/{id}/reverify

Re-verify (new evidence / higher tier / focused criterion).

Security: apiKey

Parameters

NameInRequiredSchema type
idpathtruestring

Responses

StatusDescriptionContent typeSchemaExamplesError codes
200Re-verify report.
400Invalid request.application/problem+jsonProbleminvalid_request
401Missing, invalid or expired bearer API key.application/problem+jsonProblemapi_key_expired key_on_hold unauthorized
403API key lacks the required scope.application/problem+jsonProblemagent_key_request_only forbidden identity_contract_tenant_mismatch insufficient_scope
404Verification not found.application/problem+jsonProblemnot_found
410Retention deleted an attestation envelope this re-verify needs; the content-free signed record still verifies through POST /v1/proofs/verify.application/problem+jsonProblemretention_deleted
429API key per-minute limit reached; wait Retry-After seconds before retrying.application/problem+jsonProblemapi_key_rate_limited
500Internal server error.application/problem+jsonProbleminternal_error

POST /v1/verifications/{id}/feedback

Record tenant ground-truth (outcome feedback) on a completed verification.

Append-only outcome label for a terminal verification (succeeded|failed). Feeds calibration; it does not change the signed verdict. The verification must belong to the caller and be terminal.

Security: apiKey

Parameters

NameInRequiredSchema type
idpathtruestring

Request

application/json

Schema: FeedbackRequest

Responses

StatusDescriptionContent typeSchemaExamplesError codes
201Feedback recorded.application/jsonFeedbackAccepted
400Invalid outcome/note, or the verification is not terminal yet.application/problem+jsonProbleminvalid_json invalid_request
401Missing, invalid or expired bearer API key.application/problem+jsonProblemapi_key_expired key_on_hold unauthorized
403Access is forbidden.application/problem+jsonProblemagent_key_request_only forbidden identity_contract_tenant_mismatch
404Verification not found.application/problem+jsonProblemnot_found
429API key per-minute limit reached; wait Retry-After seconds before retrying.application/problem+jsonProblemapi_key_rate_limited
500Internal server error.application/problem+jsonProbleminternal_error

POST /v1/cockpit/determinations

Record a customer cockpit determination.

Contract 11 §E / Contract 14 C.1. Requires identity-contract bearer, request-threaded tenant, x-acretix-auth-subject=account_tenant_mapping, and a tenant-scoped customer_reviewer subject. Records the decision and a product-adapter consequence marker; it is not a training path.

Security: apiKey

Request

application/json

Schema: CockpitDeterminationRequest

Responses

StatusDescriptionContent typeSchemaExamplesError codes
201Customer determination recorded.application/jsonCockpitDeterminationResponse
400Invalid decision body.application/problem+jsonProbleminvalid_json invalid_request
401Missing, invalid or expired bearer API key.application/problem+jsonProblemapi_key_expired key_on_hold unauthorized
403Subject is not a proven tenant customer_reviewer.application/problem+jsonProblemagent_key_request_only forbidden
404Verification not found for the request-threaded tenant.application/problem+jsonProblemnot_found
409Determination already recorded.application/problem+jsonProblemdetermination_already_recorded
413Request body is too large.application/problem+jsonProblempayload_too_large
429API key per-minute limit reached; wait Retry-After seconds before retrying.application/problem+jsonProblemapi_key_rate_limited
500Internal server error.application/problem+jsonProbleminternal_error

GET /v1/cockpit/escalations

List this console session's open own-reviewers escalations, oldest first.

Requires the identity-contract session of the project's owner or of a member with an active reviewer grant. The project comes only from that session, and decisions from this queue are recorded via console. This route answers 404 until the deployment turns the feature on.

Security: apiKey

Parameters

NameInRequiredSchema type
limitqueryfalseinteger
after_opened_atqueryfalsestring
after_idqueryfalsestring

Responses

StatusDescriptionContent typeSchemaExamplesError codes
200This session project's open own-reviewer escalations, oldest first.application/jsonOwnReviewEscalationList
400Queue query parameters are invalid.application/problem+jsonProbleminvalid_request
401Missing, invalid or expired identity-contract bearer.application/problem+jsonProblemapi_key_expired key_on_hold unauthorized
403Caller is not a proven owner or active customer reviewer for the session project.application/problem+jsonProblemagent_key_request_only forbidden
404The queue feature is not enabled.application/problem+jsonProblemnot_found
429Bearer per-minute limit reached; wait Retry-After seconds before retrying.application/problem+jsonProblemapi_key_rate_limited
500Internal server error.application/problem+jsonProbleminternal_error
503The service is unavailable.application/problem+jsonProblemservice_unavailable

POST /v1/cockpit/escalations/{escalation_id}/decisions

Record an own-reviewers escalation decision from the console session.

Requires the identity-contract session of the project's owner or of a member with an active reviewer grant. The project comes only from that session, and the decision is recorded via console. This route answers 404 until the deployment turns the feature on.

Security: apiKey

Parameters

NameInRequiredSchema type
escalation_idpathtruestring

Request

application/json

Schema: ConsoleReviewDecisionRequest

Responses

StatusDescriptionContent typeSchemaExamplesError codes
201Recorded console own-reviewer decision and its signed decision envelope.application/jsonConsoleReviewDecisionResponse
400Decision request or judgment shape is invalid.application/problem+jsonProblemjudgment_shape_invalid
401Missing, invalid or expired identity-contract bearer.application/problem+jsonProblemapi_key_expired key_on_hold unauthorized
403Caller is not a proven owner or active customer reviewer for the session project.application/problem+jsonProblemagent_key_request_only forbidden
404The feature is off or the escalation is not available to this session project.application/problem+jsonProblemescalation_not_found not_found
409The escalation already has a closing judgment.application/problem+jsonProblemjudgment_already_closed
413Request body is too large.application/problem+jsonProblempayload_too_large
422The judgment cannot be admitted for this escalation.application/problem+jsonProblemjudgment_capacity_not_admitted judgment_criterion_unknown judgment_minutes_invalid judgment_rule_unknown
429Bearer per-minute limit reached; wait Retry-After seconds before retrying.application/problem+jsonProblemapi_key_rate_limited
500Internal server error.application/problem+jsonProbleminternal_error
503The decision could not be completed now.application/problem+jsonProblemservice_unavailable

GET /v1/cockpit/reviewers

Read whether the viewer holds the tenant's customer_reviewer role.

Contract 11 §E5.1. Requires identity-contract bearer, request-threaded tenant, and x-acretix-auth-subject=account_tenant_mapping. Returns the proven viewer role and owner status.

Security: apiKey

Parameters

NameInRequiredSchema type
includequeryfalsestring

Responses

StatusDescriptionContent typeSchemaExamplesError codes
200Viewer reviewer-role status for the request-threaded tenant.application/jsonCockpitReviewerStatus
400Invalid request.application/problem+jsonProbleminvalid_request
401Missing, invalid or expired bearer API key.application/problem+jsonProblemapi_key_expired key_on_hold unauthorized
403Caller is not a proven identity-contract cockpit principal, or is not the tenant owner listing reviewer history.application/problem+jsonProblemagent_key_request_only forbidden
404Reviewer not found.application/problem+jsonProblemnot_found
429API key per-minute limit reached; wait Retry-After seconds before retrying.application/problem+jsonProblemapi_key_rate_limited
500Internal server error.application/problem+jsonProbleminternal_error

POST /v1/cockpit/reviewers

Grant or revoke customer_reviewer for one named person (tenant owner only).

Contract 11 §E5.1. Requires the C11 account mapped to the request-threaded tenant; another tenant cannot be named or modified. This is an explicit human capability grant, never an automatic grant.

Security: apiKey

Request

application/json

Schema: CockpitReviewerGrantRequest

Responses

StatusDescriptionContent typeSchemaExamplesError codes
200Reviewer grant updated.application/jsonCockpitReviewerGrant
400Invalid reviewer grant body.application/problem+jsonProbleminvalid_json invalid_request
401Missing, invalid or expired bearer API key.application/problem+jsonProblemapi_key_expired key_on_hold unauthorized
403Caller is not the tenant owner, or attempted to name another tenant.application/problem+jsonProblemagent_key_request_only forbidden
404Reviewer grant was not found for revocation.application/problem+jsonProblemnot_found
413Request body is too large.application/problem+jsonProblempayload_too_large
429API key per-minute limit reached; wait Retry-After seconds before retrying.application/problem+jsonProblemapi_key_rate_limited
500Internal server error.application/problem+jsonProbleminternal_error

GET /v1/rubrics

List the tenant's rubrics, or every version of one rubric name.

Returns a compact summary per rubric name (the latest version), newest first. With ?name, returns every version of that rubric name, newest first. Tenant-scoped (server-resolved from the API key). Paging: ?limit (1..100, default 50) & ?offset.

Security: apiKey

Parameters

NameInRequiredSchema type
limitqueryfalseinteger
offsetqueryfalseinteger
namequeryfalsestring

Responses

StatusDescriptionContent typeSchemaExamplesError codes
200The tenant's rubrics.application/jsonRubricList
401Missing, invalid or expired bearer API key.application/problem+jsonProblemapi_key_expired key_on_hold unauthorized
403Access is forbidden, or the API key lacks verify:read and rubric:write.application/problem+jsonProblemagent_key_request_only forbidden identity_contract_tenant_mismatch insufficient_scope
429API key per-minute limit reached; wait Retry-After seconds before retrying.application/problem+jsonProblemapi_key_rate_limited
500Internal server error.application/problem+jsonProbleminternal_error

POST /v1/rubrics

Compile + version a rubric.

Each criterion runs a CriterionPrimitive (see components.schemas.CriterionPrimitive).

Security: apiKey

Request

application/json

Schema: RubricCompileRequest

Responses

StatusDescriptionContent typeSchemaExamplesError codes
201rubric_id + version + hash.
400Invalid request, including malformed wording_fingerprint.application/problem+jsonProbleminvalid_json invalid_request
401Missing, invalid or expired bearer API key.application/problem+jsonProblemapi_key_expired key_on_hold unauthorized
403API key lacks the required scope.application/problem+jsonProblemagent_key_request_only forbidden insufficient_scope
413Request body is too large.application/problem+jsonProblempayload_too_large
429API key per-minute limit reached; wait Retry-After seconds before retrying.application/problem+jsonProblemapi_key_rate_limited
500Internal server error.application/problem+jsonProbleminternal_error

POST /v1/rubrics/from-description

Draft a rubric from a natural-language description.

This route is off until from-description induction opens. The caller's key needs the rubric:write scope. It returns an unregistered draft to review and publish with POST /v1/rubrics. The description is treated as data and never as instructions. The tenant is server-resolved from the bearer.

Security: apiKey

Request

application/json

Schema: RubricFromDescriptionRequest

Responses

StatusDescriptionContent typeSchemaExamplesError codes
200Unregistered description-induced rubric draft and induction report.application/jsonRubricFromDescriptionResult
400Description is too vague or request input is invalid.application/problem+jsonProblemdescription_too_vague invalid_input_roles
401Missing, invalid or expired bearer API key.application/problem+jsonProblemapi_key_expired key_on_hold unauthorized
403Access is forbidden.application/problem+jsonProblemagent_key_request_only forbidden identity_contract_tenant_mismatch insufficient_scope
413Request body or description is too large.application/problem+jsonProblempayload_too_large
422Could not produce a compilable rubric spec.application/problem+jsonProbleminduction_failed
429API key per-minute limit reached; wait Retry-After seconds before retrying.application/problem+jsonProblemapi_key_rate_limited
500Internal server error.application/problem+jsonProbleminternal_error
503Description induction is disabled, or the model is unavailable.application/problem+jsonProblemservice_unavailable

POST /v1/rubrics/from-outcomes

Draft + compile a rubric from labeled outcome examples (induction).

Induce an AUTHORED rubric spec from >= 3 labeled outcome examples (the canonical Determination labels). The response is a compiled-but-UNREGISTERED draft (rubric_spec + compile hashes + an induction report); register it with POST /v1/rubrics. Examples are treated as data, never as instructions. Tenant is server-resolved from the API key.

Security: apiKey

Request

application/json

Schema: RubricFromOutcomesRequest

Responses

StatusDescriptionContent typeSchemaExamplesError codes
200Drafted + compiled rubric spec and induction report.application/jsonRubricInductionResult
400Invalid examples/labels (too few, conflicting, or malformed).application/problem+jsonProbleminvalid_input_roles invalid_label invalid_request too_few_examples
401Missing, invalid or expired bearer API key.application/problem+jsonProblemapi_key_expired key_on_hold unauthorized
403Access is forbidden.application/problem+jsonProblemagent_key_request_only forbidden identity_contract_tenant_mismatch
413Too many examples or body too large.application/problem+jsonProblemtoo_many_examples
422Could not produce a compilable rubric spec.application/problem+jsonProblemconflicting_labels induction_failed unprocessable
429API key per-minute limit reached; wait Retry-After seconds before retrying.application/problem+jsonProblemapi_key_rate_limited
500Internal server error.application/problem+jsonProbleminternal_error
503The model is unavailable.application/problem+jsonProblemservice_unavailable

POST /v1/rubrics/compile

Compile-preview a rubric without registration.

Runs the same rubric compiler as POST /v1/rubrics but does not create or version a registry artifact. The response intentionally excludes rubric_id, version, status, and created.

Security: apiKey

Responses

StatusDescriptionContent typeSchemaExamplesError codes
200Preview hash/source_hash or compiler issues.application/jsonRubricCompilePreview
400Invalid request.application/problem+jsonProbleminvalid_json
401Missing, invalid or expired bearer API key.application/problem+jsonProblemapi_key_expired key_on_hold unauthorized
403API key lacks the required scope.application/problem+jsonProblemagent_key_request_only forbidden insufficient_scope
413Request body is too large.application/problem+jsonProblempayload_too_large
429API key per-minute limit reached; wait Retry-After seconds before retrying.application/problem+jsonProblemapi_key_rate_limited
500Internal server error.application/problem+jsonProbleminternal_error

GET /v1/rubrics/templates

List ungated starter rubric templates.

Lists the read-only ungated starter rubric templates. A gated pack is never listed. The answer names the caller tenant; the catalogue is the same for every tenant.

Security: apiKey

Responses

StatusDescriptionContent typeSchemaExamplesError codes
200Ungated starter rubric templates.application/jsonRubricTemplateList
400Invalid request.application/problem+jsonProbleminvalid_request
401Missing, invalid or expired bearer API key.application/problem+jsonProblemapi_key_expired key_on_hold unauthorized
403Access is forbidden.application/problem+jsonProblemagent_key_request_only forbidden
429API key per-minute limit reached; wait Retry-After seconds before retrying.application/problem+jsonProblemapi_key_rate_limited
500Internal server error.application/problem+jsonProbleminternal_error

POST /v1/rubrics/examples

Run marked examples against a draft rubric.

Off unless enabled. Stores the compiled rubric version marked draft, which every normal verify call refuses. Runs at most 5 marked examples for author feedback.

Security: apiKey

Request

application/json

Schema: RubricExamplesRequest

Responses

StatusDescriptionContent typeSchemaExamplesError codes
200Draft rubric and the marked example verification outcomes.application/jsonRubricExamplesResult
400Invalid request or rubric specification.application/problem+jsonProbleminvalid_json invalid_request
401Missing, invalid or expired bearer API key.application/problem+jsonProblemapi_key_expired key_on_hold unauthorized
403API key lacks the required scope.application/problem+jsonProblemagent_key_request_only forbidden identity_contract_tenant_mismatch insufficient_scope
404This route is not enabled.application/problem+jsonProblemnot_found
413Request body or example count is too large.application/problem+jsonProblempayload_too_large
429API key per-minute limit reached; wait Retry-After seconds before retrying.application/problem+jsonProblemapi_key_rate_limited
500Internal server error.application/problem+jsonProbleminternal_error

GET /v1/rubrics/{id}

Fetch a compiled rubric.

Security: apiKey

Parameters

NameInRequiredSchema type
idpathtrue

Responses

StatusDescriptionContent typeSchemaExamplesError codes
200Rubric object, including wording_fingerprint (sha-256 hex of the signed wording, or null) and rubric_format_version.
401Missing, invalid or expired bearer API key.application/problem+jsonProblemapi_key_expired key_on_hold unauthorized
403Access is forbidden, or the API key lacks verify:read and rubric:write.application/problem+jsonProblemagent_key_request_only forbidden insufficient_scope
404Rubric not found.application/problem+jsonProblemnot_found
429API key per-minute limit reached; wait Retry-After seconds before retrying.application/problem+jsonProblemapi_key_rate_limited
500Internal server error.application/problem+jsonProbleminternal_error

GET /v1/usage

Tenant usage summary.

Security: apiKey

Parameters

NameInRequiredSchema type
fromqueryfalsestring
toqueryfalsestring

Responses

StatusDescriptionContent typeSchemaExamplesError codes
200Usage summary.
400Invalid request.application/problem+jsonProbleminvalid_request
401Missing, invalid or expired bearer API key.application/problem+jsonProblemapi_key_expired key_on_hold unauthorized
403Access is forbidden.application/problem+jsonProblemagent_key_request_only forbidden
429API key per-minute limit reached; wait Retry-After seconds before retrying.application/problem+jsonProblemapi_key_rate_limited
500Internal server error.application/problem+jsonProbleminternal_error

GET /v1/criteria-agreements/{subject_ref}/judgments

List tenant-scoped criteria agreement judgments and their derived agreement.

Security: apiKey

Parameters

NameInRequiredSchema type
subject_refpathtruestring

Responses

StatusDescriptionContent typeSchemaExamplesError codes
200Recorded judgments and the currently derived agreement.application/jsonCriteriaJudgmentsResponse
400Invalid subject reference.application/problem+jsonProbleminvalid_request
401Missing, invalid or expired bearer API key.application/problem+jsonProblemapi_key_expired key_on_hold unauthorized
403Access is forbidden.application/problem+jsonProblemagent_key_request_only forbidden identity_contract_tenant_mismatch
404No criteria judgments exist for this tenant subject.application/problem+jsonProblemnot_found
429API key per-minute limit reached; wait Retry-After seconds before retrying.application/problem+jsonProblemapi_key_rate_limited
500Internal server error.application/problem+jsonProbleminternal_error
503Criteria judgment store is unavailable.application/problem+jsonProblemservice_unavailable

POST /v1/criteria-agreements/{subject_ref}/judgments

Append a tenant-scoped criteria proposal or acceptance.

Security: apiKey

Parameters

NameInRequiredSchema type
subject_refpathtruestring

Request

application/json

Schema: CriteriaJudgmentRequest

Responses

StatusDescriptionContent typeSchemaExamplesError codes
201Judgment appended and agreement derived.application/jsonCriteriaJudgmentCreatedResponse
400Invalid judgment input.application/problem+jsonProbleminvalid_json invalid_request
401Missing, invalid or expired bearer API key.application/problem+jsonProblemapi_key_expired key_on_hold unauthorized
403API key lacks the required scope, or the caller may not act for that party.application/problem+jsonProblemagent_key_request_only forbidden identity_contract_tenant_mismatch insufficient_scope
409Acceptance conflicts with the latest proposal.application/problem+jsonProblemconflict
413Request body is too large.application/problem+jsonProblempayload_too_large
429API key per-minute limit reached; wait Retry-After seconds before retrying.application/problem+jsonProblemapi_key_rate_limited
500Internal server error.application/problem+jsonProbleminternal_error
503Criteria judgment store is unavailable.application/problem+jsonProblemservice_unavailable

GET /v1/criteria-agreements/{subject_ref}/contests

List the caller's own contest escalations on one subject with each decision and its reasons once decided, and never name the party who filed it.

Security: apiKey

Parameters

NameInRequiredSchema type
subject_refpathtruestring

Responses

StatusDescriptionContent typeSchemaExamplesError codes
200Contest escalations for this caller subject.application/jsonCriteriaContestsResponse
400Invalid subject reference.application/problem+jsonProbleminvalid_request
401Missing, invalid or expired bearer API key.application/problem+jsonProblemapi_key_expired key_on_hold unauthorized
403Access is forbidden.application/problem+jsonProblemagent_key_request_only forbidden identity_contract_tenant_mismatch
429API key per-minute limit reached; wait Retry-After seconds before retrying.application/problem+jsonProblemapi_key_rate_limited
500Internal server error.application/problem+jsonProbleminternal_error
503Criteria contest store is unavailable.application/problem+jsonProblemservice_unavailable

GET /v1/reviewer-tiers

Reviewer tier record: the current version and every earlier one (read-only).

Security: apiKey

Responses

StatusDescriptionContent typeSchemaExamplesError codes
200Reviewer tier versions, ascending, with current_version.
400Invalid request.application/problem+jsonProbleminvalid_request
401Missing or invalid bearer API key.application/problem+jsonProblemapi_key_expired key_on_hold unauthorized
403Access is forbidden.application/problem+jsonProblemagent_key_request_only forbidden
429API key per-minute limit reached; wait Retry-After seconds before retrying.application/problem+jsonProblemapi_key_rate_limited
500Reviewer tier record missing or unreadable.application/problem+jsonProbleminternal_error

GET /v1/dev-reporting/summary

Developer reporting: the caller's own usage + verdict roll-up (tenant-scoped, read-only).

Security: apiKey

Responses

StatusDescriptionContent typeSchemaExamplesError codes
200Usage + verdict summary.
400Invalid request.application/problem+jsonProbleminvalid_request
401Missing, invalid or expired bearer API key.application/problem+jsonProblemapi_key_expired key_on_hold unauthorized
403Access is forbidden.application/problem+jsonProblemagent_key_request_only forbidden
429API key per-minute limit reached; wait Retry-After seconds before retrying.application/problem+jsonProblemapi_key_rate_limited
500Internal server error.application/problem+jsonProbleminternal_error

GET /v1/dev-reporting/ai-record

Developer reporting: the caller's own feedback-based AI record (tenant-scoped, read-only).

Security: apiKey

Parameters

NameInRequiredSchema type
fromqueryfalsestring
toqueryfalsestring

Responses

StatusDescriptionContent typeSchemaExamplesError codes
200Feedback-based agreement, overturn, abstention, and dispute figures.application/jsonAiRecord
400Invalid date range.application/problem+jsonProbleminvalid_request
401Missing or invalid bearer API key.application/problem+jsonProblemapi_key_expired key_on_hold unauthorized
403API key lacks the verify:read scope.application/problem+jsonProblemagent_key_request_only forbidden insufficient_scope
429API key per-minute limit reached; wait Retry-After seconds before retrying.application/problem+jsonProblemapi_key_rate_limited
500Internal server error.application/problem+jsonProbleminternal_error

GET /v1/dev-reporting/health

Developer reporting: own-tenant subscription health aggregate.

Default-off, aggregate-only daily pass/exception-rate read. The tenant is server-resolved from the API key or identity-contract tenant header; a subscription_id not visible to the resolved tenant returns 404.

Security: apiKey

Parameters

NameInRequiredSchema type
fromqueryfalsestring
toqueryfalsestring
subscription_idqueryfalsestring

Responses

StatusDescriptionContent typeSchemaExamplesError codes
200Daily aggregate pass/exception health buckets; no raw verification rows.
400Invalid date range or subscription_id.application/problem+jsonProbleminvalid_request
401Missing, invalid or expired bearer API key.application/problem+jsonProblemapi_key_expired key_on_hold unauthorized
403Access is forbidden.application/problem+jsonProblemagent_key_request_only forbidden
404Health view disabled, or subscription not found for the resolved tenant.application/problem+jsonProblemnot_found
429API key per-minute limit reached; wait Retry-After seconds before retrying.application/problem+jsonProblemapi_key_rate_limited
500Internal server error.application/problem+jsonProbleminternal_error

POST /v1/dev-reporting/quickstart/telemetry

Append guided developer quickstart time-to-first-verdict telemetry.

Tenant-scoped, append-only telemetry for the guided /developers quickstart. The server derives key_prefix from the bearer key; the request body contains only a de-identified handle and timestamps.

Security: apiKey

Request

application/json

Schema: QuickstartTelemetryRequest

Responses

StatusDescriptionContent typeSchemaExamplesError codes
201Telemetry appended.application/jsonQuickstartTelemetryEnvelope
400Invalid handle/timing or key/PII-shaped fields supplied.application/problem+jsonProbleminvalid_json invalid_request
401Missing, invalid or expired bearer API key.application/problem+jsonProblemapi_key_expired key_on_hold unauthorized
403Access is forbidden.application/problem+jsonProblemagent_key_request_only forbidden identity_contract_tenant_mismatch
409Telemetry for this handle already exists.application/problem+jsonProblemconflict
429API key per-minute limit reached; wait Retry-After seconds before retrying.application/problem+jsonProblemapi_key_rate_limited
500Internal server error.application/problem+jsonProbleminternal_error

GET /v1/dev-reporting/quickstart/telemetry/{handle}

Read guided quickstart telemetry by de-identified handle.

Tenant-scoped read; missing or other-tenant handles return { telemetry: null }.

Security: apiKey

Parameters

NameInRequiredSchema type
handlepathtruestring

Responses

StatusDescriptionContent typeSchemaExamplesError codes
200Own-tenant telemetry or null.application/jsonQuickstartTelemetryEnvelope
400Invalid request.application/problem+jsonProbleminvalid_request
401Missing, invalid or expired bearer API key.application/problem+jsonProblemapi_key_expired key_on_hold unauthorized
403Access is forbidden.application/problem+jsonProblemagent_key_request_only forbidden
409Request conflicts with current telemetry.application/problem+jsonProblemconflict
429API key per-minute limit reached; wait Retry-After seconds before retrying.application/problem+jsonProblemapi_key_rate_limited
500Internal server error.application/problem+jsonProbleminternal_error

POST /v1/dev-reporting/scoped-tags

Scoped bulk-tagging — private customer_gate case-memory only (single-party). Gated by SCOPED_LEARNING_ENABLED (503 when disabled).

Security: apiKey

Responses

StatusDescriptionContent typeSchemaExamplesError codes
201Recorded scoped tags.
400Invalid request.application/problem+jsonProbleminvalid_json invalid_request
401Missing, invalid or expired bearer API key.application/problem+jsonProblemapi_key_expired key_on_hold unauthorized
403Access is forbidden.application/problem+jsonProblemagent_key_request_only forbidden
429API key per-minute limit reached; wait Retry-After seconds before retrying.application/problem+jsonProblemapi_key_rate_limited
500Internal server error.application/problem+jsonProbleminternal_error
503Scoped bulk-tagging disabled.application/problem+jsonProblemservice_unavailable

POST /v1/evidence/files

Upload supplier evidence file bytes.

Accepts raw file bytes in the request body, with the type declared in Content-Type. Files are at most 4 MiB and are stored byte-exact as claimant evidence. This route is off until VERIFY_EVIDENCE_FILES_ENABLED is enabled.

Security: apiKey

Request

text/plain

Schema: string

text/markdown

Schema: string

text/csv

Schema: string

application/json

Schema: string

application/pdf

Schema: string

application/vnd.openxmlformats-officedocument.wordprocessingml.document

Schema: string

application/vnd.openxmlformats-officedocument.spreadsheetml.sheet

Schema: string

application/vnd.openxmlformats-officedocument.presentationml.presentation

Schema: string

image/png

Schema: string

image/jpeg

Schema: string

Responses

StatusDescriptionContent typeSchemaExamplesError codes
201Evidence file stored as a claimant evidence packet.application/jsonEvidenceFileUploadResponse
400Evidence file body is required.application/problem+jsonProbleminvalid_request
401Missing, invalid or expired bearer API key.application/problem+jsonProblemapi_key_expired key_on_hold unauthorized
403Access is forbidden.application/problem+jsonProblemagent_key_request_only forbidden identity_contract_tenant_mismatch insufficient_scope
404Evidence file uploads are not enabled.application/problem+jsonProblemnot_found
413Request body is too large.application/problem+jsonProblempayload_too_large
415Content-Type is not allowed for evidence files.application/problem+jsonProblemunsupported_media_type
422Evidence file was refused by safety checks.application/problem+jsonProblemevidence_file_refused
429API key per-minute limit reached; wait Retry-After seconds before retrying.application/problem+jsonProblemapi_key_rate_limited
500Internal server error.application/problem+jsonProbleminternal_error