Skip to the documentation
All documentation pages ↓

API reference

Every public operation and schema, generated from the OpenAPI contract.

Generated when this site is built, from the same OpenAPI contract the API is checked against. The read operations are exactly what the API serves at /api/v1/openapi.json. The two sending operations come from the full contract: they are not in that served document.

Operations

Sending events

POST/api/v1/events

Ingest one event

Authenticated with X-API-Key. From the full contract; the served /api/v1/openapi.json lists only the read operations.

202, not 201: the event is stored and queued for detection, not processed inline. The sender should not wait on analysis to know it was received.

Request body (application/json): EventEnvelope

Responses
StatusMeaningBody
202Successful Responseapplication/json IngestionResponse
401A valid X-API-Key header is requiredapplication/problem+json ProblemDetail
422The envelope failed validationapplication/problem+json ProblemDetail
429The API key exceeded its ingestion rate limitapplication/problem+json ProblemDetail
POST/api/v1/events/batch

Ingest a batch of events

Authenticated with X-API-Key. From the full contract; the served /api/v1/openapi.json lists only the read operations.

The batch is all-or-nothing.

A partial success would leave a sender unable to retry safely without double-counting, and idempotency already makes a whole-batch retry harmless.

Request body (application/json): EventBatch

Responses
StatusMeaningBody
202Successful Responseapplication/json IngestionResponse
401A valid X-API-Key header is requiredapplication/problem+json ProblemDetail
422The envelope failed validationapplication/problem+json ProblemDetail
429The API key exceeded its ingestion rate limitapplication/problem+json ProblemDetail

Reading data

GET/api/v1/public/alerts

Alerts belonging to this key's tenant

Authenticated with X-API-Key. Published in the served contract at /api/v1/openapi.json.

Most recently opened first.

Entity values are the tenant-salted hashes the platform stores, not the email address or account name behind them. That is not a limitation of this endpoint: the platform does not hold the original, so no scope could return one.

Parameters
NameInTypeNotes
statusquerystring or null at most 32 characters
limitqueryinteger minimum 1; maximum 200; default 50
cursorquerystring or nullOpaque cursor from the previous page's next_cursor at most 256 characters
Responses
StatusMeaningBody
200Successful Responseapplication/json AlertPage
401A valid X-API-Key header is requiredapplication/problem+json ProblemDetail
403The API key does not carry the scope this route requiresapplication/problem+json ProblemDetail
404The record is unavailable to this keyapplication/problem+json ProblemDetail
422The request failed validationapplication/problem+json ProblemDetail
429The API key exceeded its rate limitapplication/problem+json ProblemDetail
GET/api/v1/public/identity

What this API key is and what it may read

Authenticated with X-API-Key. Published in the served contract at /api/v1/openapi.json.

The one route that needs no scope, because it describes the key itself.

It reveals nothing a holder of the key does not already have: its own tenant, its own scopes, its own expiry. Being able to check a credential before a deployment window is worth more than the nothing this conceals.

Responses
StatusMeaningBody
200Successful Responseapplication/json ApiKeyIdentity
401A valid X-API-Key header is requiredapplication/problem+json ProblemDetail
403The API key does not carry the scope this route requiresapplication/problem+json ProblemDetail
404The record is unavailable to this keyapplication/problem+json ProblemDetail
422The request failed validationapplication/problem+json ProblemDetail
429The API key exceeded its rate limitapplication/problem+json ProblemDetail
GET/api/v1/public/incidents

Incidents belonging to this key's tenant

Authenticated with X-API-Key. Published in the served contract at /api/v1/openapi.json.

Most recently active first.

The tenant filter comes from the key and is part of every statement rather than a check afterwards: an incident belonging to somebody else is never loaded, so there is no branch in which one could be returned.

Parameters
NameInTypeNotes
statusquerystring or null at most 32 characters
limitqueryinteger minimum 1; maximum 200; default 50
cursorquerystring or nullOpaque cursor from the previous page's next_cursor at most 256 characters
Responses
StatusMeaningBody
200Successful Responseapplication/json IncidentPage
401A valid X-API-Key header is requiredapplication/problem+json ProblemDetail
403The API key does not carry the scope this route requiresapplication/problem+json ProblemDetail
404The record is unavailable to this keyapplication/problem+json ProblemDetail
422The request failed validationapplication/problem+json ProblemDetail
429The API key exceeded its rate limitapplication/problem+json ProblemDetail
GET/api/v1/public/incidents/{incident_id}

One incident, with the findings it was assembled from

Authenticated with X-API-Key. Published in the served contract at /api/v1/openapi.json.

An incident from another tenant answers exactly as one that never existed.

Same words, same status, same shape. A 403 here would confirm that the identifier names something real somewhere, which is a fact about another customer that this caller has no business learning.

Parameters
NameInTypeNotes
incident_id (required)pathstring (uuid)
Responses
StatusMeaningBody
200Successful Responseapplication/json PublicIncidentDetail
401A valid X-API-Key header is requiredapplication/problem+json ProblemDetail
403The API key does not carry the scope this route requiresapplication/problem+json ProblemDetail
404The record is unavailable to this keyapplication/problem+json ProblemDetail
422The request failed validationapplication/problem+json ProblemDetail
429The API key exceeded its rate limitapplication/problem+json ProblemDetail
GET/api/v1/public/security-events

Security events for a SIEM to collect, oldest first

Authenticated with X-API-Key. Published in the served contract at /api/v1/openapi.json.

The same model the push export maps to CEF, LEEF, syslog and JSON.

Oldest first, the opposite of the other lists here, because this one is tailed: a collector stores next_cursor and asks again later. When there is nothing newer, next_cursor is still returned — pointing at the last event — so the collector can keep polling from where it is rather than starting over.

Parameters
NameInTypeNotes
categoryquerystring or nullOne category only matches ^(alert|incident|response)$
limitqueryinteger minimum 1; maximum 200; default 50
cursorquerystring or nullOpaque cursor from the previous page's next_cursor at most 256 characters
Responses
StatusMeaningBody
200Successful Responseapplication/json SecurityEventPage
401A valid X-API-Key header is requiredapplication/problem+json ProblemDetail
403The API key does not carry the scope this route requiresapplication/problem+json ProblemDetail
404The record is unavailable to this keyapplication/problem+json ProblemDetail
422The request failed validationapplication/problem+json ProblemDetail
429The API key exceeded its rate limitapplication/problem+json ProblemDetail
GET/api/v1/public/security-score

The current security score for this key's tenant

Authenticated with X-API-Key. Published in the served contract at /api/v1/openapi.json.

scored: false when there is no snapshot yet, rather than a 404.

A tenant onboarded an hour ago has not been scored. Answering 404 would tell an integration the same thing it would be told if the tenant were somebody else's, and a dashboard would render an outage where the truth is "not yet".

Responses
StatusMeaningBody
200Successful Responseapplication/json SecurityScoreResponse
401A valid X-API-Key header is requiredapplication/problem+json ProblemDetail
403The API key does not carry the scope this route requiresapplication/problem+json ProblemDetail
404The record is unavailable to this keyapplication/problem+json ProblemDetail
422The request failed validationapplication/problem+json ProblemDetail
429The API key exceeded its rate limitapplication/problem+json ProblemDetail

Schemas

AcceptedEvent

Fields of AcceptedEvent. No other field is accepted.
FieldTypeNotes
duplicate (required)boolean
event_id (required)string
stored_idstring (uuid) or null

AlertEntry

Fields of AlertEntry. No other field is accepted.
FieldTypeNotes
alert_id (required)string (uuid)
assigned_to_principal_idstring (uuid) or null
entity_kind (required)string
entity_value (required)string
feedbackstring or null
incident_idstring (uuid) or null
notestring or null
opened_at (required)string (date-time)
rule_id (required)string
severity (required)string
status (required)string
title (required)string

AlertPage

Fields of AlertPage. No other field is accepted.
FieldTypeNotes
alerts (required)array of AlertEntry
page (required)PageInfo

ApiKeyIdentity

What this key is, so an integration can check itself before it goes live.

Exists because the first question every integrator has is "is my key working and what may it do", and the honest way to answer it is an endpoint rather than a support ticket. It reports the key's own id and scopes; there is no parameter for another key and no field that names a secret.

Fields of ApiKeyIdentity. No other field is accepted.
FieldTypeNotes
api_key_id (required)string (uuid)
expires_atstring (date-time) or null
rate_limit_per_minute (required)integer
scopes (required)array of string
tenant_id (required)string (uuid)

EventBatch

Fields of EventBatch. No other field is accepted.
FieldTypeNotes
events (required)array of EventEnvelope at least 1 items; at most 100 items

EventEnvelope

Fields of EventEnvelope. No other field is accepted.
FieldTypeNotes
event_id (required)string at least 1 characters; at most 128 characters
event_type (required)string at most 127 characters; matches ^([a-z][a-z0-9_]*(\.[a-z][a-z0-9_]*){1,4}|[A-Z][A-Z0-9_]{2,62})$
occurred_at (required)string (date-time)
payloadobject
schema_version (required)string exactly "1.0"
source (required)string at least 1 characters; at most 64 characters
subjectEventSubject or null

EventSubject

Who or what the event is about. Optional: not every event has a subject.

Fields of EventSubject. No other field is accepted.
FieldTypeNotes
id (required)string at least 1 characters; at most 255 characters
type (required)string matches ^[a-z][a-z0-9_]{0,31}$

IncidentEntry

One attack story.

Fields of IncidentEntry. No other field is accepted.
FieldTypeNotes
alert_count (required)integer
closed_atstring (date-time) or null
correlation_kind (required)string
entity_values (required)array of string
incident_id (required)string (uuid)
last_activity_at (required)string (date-time)
opened_at (required)string (date-time)
reopened_atstring (date-time) or null
severity (required)string
status (required)string
summary (required)string
title (required)string

IncidentPage

Fields of IncidentPage. No other field is accepted.
FieldTypeNotes
incidents (required)array of IncidentEntry
page (required)PageInfo

IngestionResponse

Fields of IngestionResponse. No other field is accepted.
FieldTypeNotes
accepted (required)integer
duplicates (required)integer
events (required)array of AcceptedEvent
rejected (required)integer

PageInfo

Where the next page starts, and whether there is one.

has_more is answered by fetching one row past the page rather than by counting the table, so a tenant with a million alerts pays the same as one with ten and neither pays for a number nobody displays.

Fields of PageInfo. No other field is accepted.
FieldTypeNotes
has_moreboolean default false
next_cursorstring or null

PublicIncidentDetail

One incident with the findings it was assembled from.

The AI analyst's notes are deliberately absent. They are a third party's opinion about a customer's data, attributed and hedged on the console screen that shows them, and an API field is where that framing gets lost — a downstream system would store the sentence and not the caveat.

Fields of PublicIncidentDetail. No other field is accepted.
FieldTypeNotes
alert_count (required)integer
closed_atstring (date-time) or null
correlation_kind (required)string
entity_values (required)array of string
incident_id (required)string (uuid)
last_activity_at (required)string (date-time)
opened_at (required)string (date-time)
reopened_atstring (date-time) or null
severity (required)string
status (required)string
summary (required)string
timeline (required)array of TimelineEntry
title (required)string

PublicSecurityEvent

The export model, as the read API returns it. Same fields as every format.

Fields of PublicSecurityEvent. No other field is accepted.
FieldTypeNotes
attributes (required)object
category (required)string
entity_hashes (required)array of string
event_id (required)string (uuid)
event_type (required)string
incident_idstring (uuid) or null
occurred_at (required)string (date-time)
recorded_at (required)string (date-time)
schema_version (required)integer
severity (required)string
subject_id (required)string (uuid)
subject_kind (required)string

ScoreCategoryEntry

Fields of ScoreCategoryEntry. No other field is accepted.
FieldTypeNotes
category (required)string
observations (required)object
reason (required)string
score (required)number
weight (required)number

SecurityEventPage

Fields of SecurityEventPage. No other field is accepted.
FieldTypeNotes
events (required)array of PublicSecurityEvent
page (required)PageInfo

SecurityScoreResponse

The number, and the sentences that make it actionable.

Every field is optional because "we have not scored you yet" is a real state and not an error. A tenant onboarded ten minutes ago has no snapshot, and answering that with a 404 tells the console the same thing it would be told if the tenant belonged to somebody else — which it renders as "unavailable", the word for an outage.

Fields of SecurityScoreResponse. No other field is accepted.
FieldTypeNotes
captured_atstring (date-time) or null
categoriesarray of ScoreCategoryEntry default []
movement_reasonsarray of string default []
overallnumber or null
previousnumber or null
scoredboolean default true

TimelineEntry

Fields of TimelineEntry. No other field is accepted.
FieldTypeNotes
alert_id (required)string
entity (required)object
observed (required)integer
occurred_at (required)string
reason (required)string
rule_id (required)string
severity (required)string
status (required)string
threshold (required)integer

We use only the cookies needed to sign you in securely and to remember your language and display choices. No analytics, advertising or third-party cookies.

Cookie policy