Skip to Content
SeyloDocs
API referenceDeployments

Read a deployment's log

GET
/api/v1/deployments.log

Returns the build and deploy log of a deployment, oldest first, after a sequence number. done is true once the deployment finished and every line has been returned. Build logs are read from the node that built.

Needs services.view on the service (a grant on its project covers it). Available to MCP clients and the assistant.

Authorization

cookieseylo_session<token>

Query Parameters

serviceId*string

Panel-issued id.

Match^[a-z0-9]{16}$
deploymentId*string

Panel-issued id.

Match^[a-z0-9]{16}$
afterSeq?integer
Range-1 <= value
Default-1
limit?integer
Range1 <= value <= 5000
Default1000

Response Body

Success.

application/json
  1. response
lines*array<>
done*boolean
Example Request
curl -X GET 'https://example.com/api/v1/deployments.log?serviceId=string&deploymentId=string'
Example Response
{  "lines": [    {      "seq": 0,      "ts": "2019-08-24T14:15:22Z",      "step": "clone",      "text": "string",      "error": true    }  ],  "done": true}