Stream Deploy Logs
streamDeployLogsFetch and stream deploy logs from Cloady, returning a complete log snapshot or live updates every two seconds until the deployment completes.
Instructions
Returns one {kind:"snapshot", log, status} frame — the whole log so far, not a delta: the stored log for a finished deploy, the live build pod's log for the in-flight one. Sending Accept: text/event-stream instead re-sends a growing snapshot every two seconds; a finished deploy sends one frame and closes, the in-flight one keeps the connection open after it ends, so close it yourself once a frame carries final: true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | ||
| region | No | ||
| appSlug | Yes | ||
| deployId | Yes | ||
| workspaceSlug | Yes |