Ingest event for indicator evaluation
const url = 'https://localhost:10001/api/v2/events/ingest';const options = { method: 'POST', headers: {Authorization: '<Authorization>', 'Content-Type': 'application/json'}, body: '{"correlationId":"example","eventSubtype":"example","eventType":"indicator","indicatorId":"example","metadata":{},"payload":{},"projectId":"example","provider":"example","service":"example","source":"example","timestamp":"2026-01-15T09:30:00Z"}'};
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://localhost:10001/api/v2/events/ingest \ --header 'Authorization: <Authorization>' \ --header 'Content-Type: application/json' \ --data '{ "correlationId": "example", "eventSubtype": "example", "eventType": "indicator", "indicatorId": "example", "metadata": {}, "payload": {}, "projectId": "example", "provider": "example", "service": "example", "source": "example", "timestamp": "2026-01-15T09:30:00Z" }'Accepts an indicator event and queues it for asynchronous indicator evaluation
Authorizations
Section titled “Authorizations ”Request Body
Section titled “Request Body ”Event to ingest
object
Accepted but unused
Accepted but unused
Only “indicator” is accepted
Routing key; required
Accepted but unused
object
Read by the extraction rules
object
Routing key; required
Accepted but unused
Accepted but unused
Originating system, e.g. aws
Event time, RFC 3339
Example
2026-01-15T09:30:00ZResponses
Section titled “ Responses ”Event accepted for processing
The outcome of ingesting an event: what it routed to, and what it created
object
“processed” | “no_route”
Example generated
{ "declarationsCreated": [ 1 ], "errors": [ "example" ], "evaluationsCreated": 1, "eventId": "example", "status": "example"}Bad request - Invalid event payload
Error body for the policy conversion, policy export, and event ingestion endpoints, carrying a machine-readable code
object
Example
{ "code": "INVALID_REQUEST", "details": "unexpected end of JSON input", "message": "Invalid request body"}Unauthorized - Authentication required
Error body for the policy conversion, policy export, and event ingestion endpoints, carrying a machine-readable code
object
Example
{ "code": "INVALID_REQUEST", "details": "unexpected end of JSON input", "message": "Invalid request body"}Forbidden - No access or insufficient permission
Error body for the policy conversion, policy export, and event ingestion endpoints, carrying a machine-readable code
object
Example
{ "code": "INVALID_REQUEST", "details": "unexpected end of JSON input", "message": "Invalid request body"}Internal server error
Error body for the policy conversion, policy export, and event ingestion endpoints, carrying a machine-readable code
object
Example
{ "code": "INVALID_REQUEST", "details": "unexpected end of JSON input", "message": "Invalid request body"}