Ethiack Docs
Scans

Stream a scan's sub-agent activity

GET
/v1/scans/{scan_id}/subagent-events

Follow a scan's sub-agent activity as it is recorded.

Nothing from before the connection is sent: open this stream first, then load history from the read endpoints, and refetch after a reconnect. The server ends the stream after about fifteen minutes and EventSource reconnects, which re-checks access. Clients should dedup on the payload id.

AuthorizationBearer <token>

An API key created in Portal → Settings → API, sent as Authorization: Bearer <key>.

In: header

Path Parameters

scan_id*integer

Response Body

text/event-stream

application/json

curl -X GET "https://api.ethiack.com/v1/scans/0/subagent-events"
Empty
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}