Companies
List events
The event log as a JSON page after a seq, or a live SSE feed.
A JSON page after since (a seq), or, with Accept: text/event-stream or ?stream=1, a live SSE feed: id: <seq>, event: <type>, data: <the row as JSON>, polled every 2 s, a : hb comment every 15 s of quiet, and resumable with Last-Event-ID. A feed that ends on a failure sends one event: error first.
Authorizations
Authorization: Bearer ozk_…. ozk_ platform API key (Authorization: Bearer ozk_…)Path parameters
plunge), never a row idQuery parameters
Last-Event-ID wins when both are sentDefault: 0
Required range: x >= 0
Required range: 1 <= x <= 1000
Accept: text/event-stream)Available options: 1
Available options: json, yaml, markdown, text
Response
Events after since, oldest first Response format negotiates via the format field, an Accept header (application/json, text/yaml, text/markdown, text/plain), or the request Content-Type mirror; default JSON. With Accept: text/event-stream or ?stream=1: an SSE stream of one event row per frame.
application/jsontext/yamltext/markdowntext/plaintext/event-stream
invalid_format — format must be one of json, yaml, markdown, text
application/json
unauthorized — missing, invalid or revoked ozk_ key
application/json
company_not_found — no company with that slug for this account (a foreign slug answers the same); not_found — no route for this method on this path: every other method answers it
application/json
invalid_params — since or limit is not a whole number in range
application/json
upstream_error — the company service is unavailable; retry
application/json
not_enabled — the company service is not deployed on this tier
application/json