Stream the audit log to your own security tools
PUT
/org/audit-stream
const url = 'https://api.global.stillbox.example/v1/org/audit-stream';const options = { method: 'PUT', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"endpoint":"example","headers":{"additionalProperty":"example"},"enabled":true}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PUT \ --url https://api.global.stillbox.example/v1/org/audit-stream \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "endpoint": "example", "headers": { "additionalProperty": "example" }, "enabled": true }'New events are posted, in order and in batches, as a JSON array to an https address (a SIEM’s HTTP collector, for example), with up to 10 headers kept sealed. Owners only. Events from when it is first saved are sent; failures are retried with growing waits.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
endpoint
required
An https address; events are POSTed to it as is.
string
headers
Sent with every request and kept sealed; omit to keep the current ones.
object
key
additional properties
string
enabled
boolean
Responses
Section titled “Responses”The setting
Media typeapplication/json
object
configured
required
boolean
endpoint
string
header_names
required
Array<string>
enabled
required
boolean
sent_seq
required
The last event delivered.
integer format: int64
last_sent_at
string format: date-time
last_error
string
updated_at
string format: date-time
secrets_ready
required
boolean
Example generated
{ "configured": true, "endpoint": "example", "header_names": [ "example" ], "enabled": true, "sent_seq": 1, "last_sent_at": "2026-04-15T12:00:00Z", "last_error": "example", "updated_at": "2026-04-15T12:00:00Z", "secrets_ready": true}The request is invalid
Media typeapplication/json
object
code
required
string
message
required
string
Example
{ "code": "not_found"}The API key is missing or invalid
Media typeapplication/json
object
code
required
string
message
required
string
Example
{ "code": "not_found"}Only an owner can do this (owner_only), or the invitation is for another address (not_invited)
Media typeapplication/json
object
code
required
string
message
required
string
Example
{ "code": "not_found"}