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
/api/v1/eventsIngest one event
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
| Status | Meaning | Body |
|---|---|---|
202 | Successful Response | application/json IngestionResponse |
401 | A valid X-API-Key header is required | application/problem+json ProblemDetail |
422 | The envelope failed validation | application/problem+json ProblemDetail |
429 | The API key exceeded its ingestion rate limit | application/problem+json ProblemDetail |
/api/v1/events/batchIngest a batch of events
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
| Status | Meaning | Body |
|---|---|---|
202 | Successful Response | application/json IngestionResponse |
401 | A valid X-API-Key header is required | application/problem+json ProblemDetail |
422 | The envelope failed validation | application/problem+json ProblemDetail |
429 | The API key exceeded its ingestion rate limit | application/problem+json ProblemDetail |
Reading data
/api/v1/public/alertsAlerts belonging to this key's tenant
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.
| Name | In | Type | Notes |
|---|---|---|---|
status | query | string or null | |
limit | query | integer | |
cursor | query | string or null | Opaque cursor from the previous page's next_cursor |
| Status | Meaning | Body |
|---|---|---|
200 | Successful Response | application/json AlertPage |
401 | A valid X-API-Key header is required | application/problem+json ProblemDetail |
403 | The API key does not carry the scope this route requires | application/problem+json ProblemDetail |
404 | The record is unavailable to this key | application/problem+json ProblemDetail |
422 | The request failed validation | application/problem+json ProblemDetail |
429 | The API key exceeded its rate limit | application/problem+json ProblemDetail |
/api/v1/public/identityWhat this API key is and what it may read
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.
| Status | Meaning | Body |
|---|---|---|
200 | Successful Response | application/json ApiKeyIdentity |
401 | A valid X-API-Key header is required | application/problem+json ProblemDetail |
403 | The API key does not carry the scope this route requires | application/problem+json ProblemDetail |
404 | The record is unavailable to this key | application/problem+json ProblemDetail |
422 | The request failed validation | application/problem+json ProblemDetail |
429 | The API key exceeded its rate limit | application/problem+json ProblemDetail |
/api/v1/public/incidentsIncidents belonging to this key's tenant
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.
| Name | In | Type | Notes |
|---|---|---|---|
status | query | string or null | |
limit | query | integer | |
cursor | query | string or null | Opaque cursor from the previous page's next_cursor |
| Status | Meaning | Body |
|---|---|---|
200 | Successful Response | application/json IncidentPage |
401 | A valid X-API-Key header is required | application/problem+json ProblemDetail |
403 | The API key does not carry the scope this route requires | application/problem+json ProblemDetail |
404 | The record is unavailable to this key | application/problem+json ProblemDetail |
422 | The request failed validation | application/problem+json ProblemDetail |
429 | The API key exceeded its rate limit | application/problem+json ProblemDetail |
/api/v1/public/incidents/{incident_id}One incident, with the findings it was assembled from
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.
| Name | In | Type | Notes |
|---|---|---|---|
incident_id (required) | path | string (uuid) |
| Status | Meaning | Body |
|---|---|---|
200 | Successful Response | application/json PublicIncidentDetail |
401 | A valid X-API-Key header is required | application/problem+json ProblemDetail |
403 | The API key does not carry the scope this route requires | application/problem+json ProblemDetail |
404 | The record is unavailable to this key | application/problem+json ProblemDetail |
422 | The request failed validation | application/problem+json ProblemDetail |
429 | The API key exceeded its rate limit | application/problem+json ProblemDetail |
/api/v1/public/security-eventsSecurity events for a SIEM to collect, oldest first
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.
| Name | In | Type | Notes |
|---|---|---|---|
category | query | string or null | One category only |
limit | query | integer | |
cursor | query | string or null | Opaque cursor from the previous page's next_cursor |
| Status | Meaning | Body |
|---|---|---|
200 | Successful Response | application/json SecurityEventPage |
401 | A valid X-API-Key header is required | application/problem+json ProblemDetail |
403 | The API key does not carry the scope this route requires | application/problem+json ProblemDetail |
404 | The record is unavailable to this key | application/problem+json ProblemDetail |
422 | The request failed validation | application/problem+json ProblemDetail |
429 | The API key exceeded its rate limit | application/problem+json ProblemDetail |
/api/v1/public/security-scoreThe current security score for this key's tenant
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".
| Status | Meaning | Body |
|---|---|---|
200 | Successful Response | application/json SecurityScoreResponse |
401 | A valid X-API-Key header is required | application/problem+json ProblemDetail |
403 | The API key does not carry the scope this route requires | application/problem+json ProblemDetail |
404 | The record is unavailable to this key | application/problem+json ProblemDetail |
422 | The request failed validation | application/problem+json ProblemDetail |
429 | The API key exceeded its rate limit | application/problem+json ProblemDetail |
Schemas
AcceptedEvent
| Field | Type | Notes |
|---|---|---|
duplicate (required) | boolean | |
event_id (required) | string | |
stored_id | string (uuid) or null |
AlertEntry
| Field | Type | Notes |
|---|---|---|
alert_id (required) | string (uuid) | |
assigned_to_principal_id | string (uuid) or null | |
entity_kind (required) | string | |
entity_value (required) | string | |
feedback | string or null | |
incident_id | string (uuid) or null | |
note | string or null | |
opened_at (required) | string (date-time) | |
rule_id (required) | string | |
severity (required) | string | |
status (required) | string | |
title (required) | string |
AlertPage
| Field | Type | Notes |
|---|---|---|
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.
| Field | Type | Notes |
|---|---|---|
api_key_id (required) | string (uuid) | |
expires_at | string (date-time) or null | |
rate_limit_per_minute (required) | integer | |
scopes (required) | array of string | |
tenant_id (required) | string (uuid) |
EventBatch
| Field | Type | Notes |
|---|---|---|
events (required) | array of EventEnvelope |
EventEnvelope
| Field | Type | Notes |
|---|---|---|
event_id (required) | string | |
event_type (required) | string | |
occurred_at (required) | string (date-time) | |
payload | object | |
schema_version (required) | string | |
source (required) | string | |
subject | EventSubject or null |
EventSubject
Who or what the event is about. Optional: not every event has a subject.
| Field | Type | Notes |
|---|---|---|
id (required) | string | |
type (required) | string |
IncidentEntry
One attack story.
| Field | Type | Notes |
|---|---|---|
alert_count (required) | integer | |
closed_at | string (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_at | string (date-time) or null | |
severity (required) | string | |
status (required) | string | |
summary (required) | string | |
title (required) | string |
IncidentPage
| Field | Type | Notes |
|---|---|---|
incidents (required) | array of IncidentEntry | |
page (required) | PageInfo |
IngestionResponse
| Field | Type | Notes |
|---|---|---|
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.
| Field | Type | Notes |
|---|---|---|
has_more | boolean | |
next_cursor | string 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.
| Field | Type | Notes |
|---|---|---|
alert_count (required) | integer | |
closed_at | string (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_at | string (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.
| Field | Type | Notes |
|---|---|---|
attributes (required) | object | |
category (required) | string | |
entity_hashes (required) | array of string | |
event_id (required) | string (uuid) | |
event_type (required) | string | |
incident_id | string (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
| Field | Type | Notes |
|---|---|---|
category (required) | string | |
observations (required) | object | |
reason (required) | string | |
score (required) | number | |
weight (required) | number |
SecurityEventPage
| Field | Type | Notes |
|---|---|---|
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.
| Field | Type | Notes |
|---|---|---|
captured_at | string (date-time) or null | |
categories | array of ScoreCategoryEntry | |
movement_reasons | array of string | |
overall | number or null | |
previous | number or null | |
scored | boolean |
TimelineEntry
| Field | Type | Notes |
|---|---|---|
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 |