Companies
Get the snapshot
The company now: office states, active items, the line at the door, spend today and items shipped in 7 days.
State with head_seq: each office idle, running, waiting or offline, the active items, the line at the door, spend today and items shipped in 7 days. Fold GET …/events over it, dropping seq <= head_seq.
Authorizations
Authorization: Bearer ozk_…. ozk_ platform API key (Authorization: Bearer ozk_…)Path parameters
plunge), never a row idQuery parameters
Available options: json, yaml, markdown, text
Response
The snapshot 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.
application/jsontext/yamltext/markdowntext/plain
Available options: supervised, tiered, autonomous
Available options: applied, running, stopped
items holds the newest 500, queue the oldest 200 pending approvalsinvalid_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
upstream_error — the company service is unavailable; retry
application/json
not_enabled — the company service is not deployed on this tier
application/json