Stream Company Events
Server-sent events for everything that changes in the company. Each message is `data: {"type": "task.updated", "id": "...", ...}`. Clients refetch what changed. Authenticate with the usual Bearer header (read the stream with fetch, since EventSource cannot send headers).
Server-sent events for everything that changes in the company.
Each message is data: {"type": "task.updated", "id": "...", ...}. Clients
refetch what changed. Authenticate with the usual Bearer header (read the
stream with fetch, since EventSource cannot send headers).
HTTPBearerAuthorizationBearer <token>company_id*Company IduuidSuccessful Response
text/event-streamcurl -X GET "https://example.com/api/companies/497f6eca-6276-4993-bfeb-53cbbbba6f08/events"Get Dashboard GET
Get the company overview: agents, tasks, spend, approvals and a daily series. `days` sets the series length and must be 7, 14 or 30 (422 `VALIDATION_ERROR` otherwise); each day counts succeeded and failed runs, tasks created and completed, and run cost. Spend is month-to-date in integer cents; a `monthly_budget_cents` of `0` means no limit. `active_runs` lists up to 20 queued or running runs; `for_you` covers open tasks the caller created.
Health Check GET
Basic health check endpoint Returns service status without requiring authentication. Responds 503 when the database is unreachable or startup migrations failed, so deploy health gates (Tollgate's canary check) refuse a broken revision.