Smart Agent Teams
EndpointsLive events

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).

GET
/api/companies/{company_id}/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).

Authorization

HTTPBearer
headerAuthorizationBearer <token>

Path Parameters

company_id*Company Id
Formatuuid

Response Body

Successful Response

text/event-stream
curl -X GET "https://example.com/api/companies/497f6eca-6276-4993-bfeb-53cbbbba6f08/events"
Empty