Read Service Logs
readServiceLogsRetrieve the last 200 log lines from a Cloady service container, or follow live logs via server-sent events.
Instructions
Returns the last 200 log lines of one container as {container, state, logs}; state is no-pod when nothing is running. serviceName is a compose service, or clone / build for an in-flight deploy's init steps. Sending Accept: text/event-stream instead follows the log live as server-sent events, one bare data: frame per line, which never completes on its own.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | ||
| region | No | ||
| appSlug | Yes | ||
| serviceName | Yes | ||
| workspaceSlug | Yes |