API reference
Assistance
8 operations in this area of the contract. Every one declares the permission it requires.
Contract version 0.3.0All areas
Operations
POST
/v1/alerts/{resourceID}/ai-explanationGenerate an evidence-bound alert_explanation for human review
Required permission: cases.case.writeexplainAlertWithAI
Requires monitoring.alert.read in addition to the declared cases.case.write permission. Generation persists a governed invocation; read-only reviewers can inspect retained provenance.
Show parameters and responsesHide parameters and responses
Parameters
| Name | In | Type | Description |
|---|---|---|---|
resourceIDrequired | path | string | — |
Responses
201Draft only; acceptance is a separate human actionAIAssistance409Assistance disabled or governance or evidence unavailable503Provider failed or output did not pass evidence validation
POST
/v1/alerts/ai-filtersGenerate an evidence-bound search_filters for human review
Required permission: cases.case.writeproposeAlertFiltersWithAI
Requires cases.case.write in addition to monitoring.alert.read; prepares a governed model invocation without executing the proposed filters.
Show parameters and responsesHide parameters and responses
Responses
201Draft only; acceptance is a separate human actionAIAssistance409Assistance disabled or governance or evidence unavailable503Provider failed or output did not pass evidence validation
POST
/v1/cases/{resourceID}/ai-handoverGenerate an evidence-bound case_handover for human review
Required permission: cases.case.writedraftCaseHandoverWithAI
Requires cases.case_content.read in addition to the declared cases.case.write permission. Generation persists a governed invocation; read-only reviewers can inspect retained provenance.
Show parameters and responsesHide parameters and responses
Parameters
| Name | In | Type | Description |
|---|---|---|---|
resourceIDrequired | path | string | — |
Responses
201Draft only; acceptance is a separate human actionAIAssistance409Assistance disabled or governance or evidence unavailable503Provider failed or output did not pass evidence validation
POST
/v1/cases/{resourceID}/ai-handover/{invocationID}/acceptAccept the exact saved AI draft and record human authorship
Required permission: cases.case.writeacceptAICaseHandover
Show parameters and responsesHide parameters and responses
Parameters
| Name | In | Type | Description |
|---|---|---|---|
resourceIDrequired | path | string | — |
invocationIDrequired | path | string | — |
Responses
201Saved note or immutable report successor, pending independent report approvalobject409Already accepted or evidence or approval changed
GET
/v1/cases/{resourceID}/ai-provenanceRead accepted AI evidence and model provenance, including while inference is disabled
Required permission: cases.case_content.readlistCaseAIAcceptanceProvenance
Show parameters and responsesHide parameters and responses
Parameters
| Name | In | Type | Description |
|---|---|---|---|
resourceIDrequired | path | string | — |
limit | query | integer | Page size, capped at 200. |
cursor | query | string | Opaque keyset cursor from a previous response. Offset pagination is deliberately not offered: `OFFSET 500000` is a table scan, and if it were offered it would be used (ADR-0012). Only the collections that document this parameter can be resumed. The rest report `truncated: true` and refuse a cursor rather than silently returning the first page again — see the `truncated` field on the page schemas. |
Responses
200Human acceptance and exact evidence/model referencesAIAcceptanceProvenancePage
POST
/v1/reports/{resourceID}/ai-narrativeGenerate an evidence-bound str_narrative for human review
Required permission: reporting.report.generatedraftReportNarrativeWithAI
Show parameters and responsesHide parameters and responses
Parameters
| Name | In | Type | Description |
|---|---|---|---|
resourceIDrequired | path | string | — |
Responses
201Draft only; acceptance is a separate human actionAIAssistance409Assistance disabled or governance or evidence unavailable503Provider failed or output did not pass evidence validation
POST
/v1/reports/{resourceID}/ai-narrative/{invocationID}/acceptAccept the exact saved AI draft and record human authorship
Required permission: reporting.report.generateacceptAIReportNarrative
Show parameters and responsesHide parameters and responses
Parameters
| Name | In | Type | Description |
|---|---|---|---|
resourceIDrequired | path | string | — |
invocationIDrequired | path | string | — |
Responses
201Saved note or immutable report successor, pending independent report approvalobject409Already accepted or evidence or approval changed
GET
/v1/reports/{resourceID}/ai-provenanceRead accepted AI evidence and model provenance, including while inference is disabled
Required permission: reporting.report_content.readlistReportAIAcceptanceProvenance
Show parameters and responsesHide parameters and responses
Parameters
| Name | In | Type | Description |
|---|---|---|---|
resourceIDrequired | path | string | — |
limit | query | integer | Page size, capped at 200. |
cursor | query | string | Opaque keyset cursor from a previous response. Offset pagination is deliberately not offered: `OFFSET 500000` is a table scan, and if it were offered it would be used (ADR-0012). Only the collections that document this parameter can be resumed. The rest report `truncated: true` and refuse a cursor rather than silently returning the first page again — see the `truncated` field on the page schemas. |
Responses
200Human acceptance and exact evidence/model referencesAIAcceptanceProvenancePage