Skip to the page

A build's log lines after a sequence number

GET/v1/organisations/{id}/environments/{envId}/resources/{rid}/builds/{bid}/logs

Operation services.buildLogs · since 2026-11-05 · stable

Needs a session withreadscopeAnswers200 OK

Up to 1000 lines after the one named, and next.

Path parameters

idstring (uuid)required
The organisation id.
envIdstring (uuid)required
The environment id.
ridstringrequired
The service's id.
bidstringrequired
The build id.

Query parameters

afterintegeroptional
The last line number you have (default 0). Pass the answer's next to read on.

Errors

Every error is { "error", "message", "detail"? } (Errors and references). Besides the codes any route can answer.

GET/v1/organisations/{id}/environments/{envId}/resources/{rid}/builds/{bid}/logs
curl "https://api.rykloud.com/v1/organisations/$ORG_ID/environments/$ENV_ID/resources/$RESOURCE_ID/builds/$BUILD_ID/logs" \
  -H "Authorization: Bearer $RYKLOUD_TOKEN"
With the rykloud CLI
rykloud services build-logs SERVICE BUILD [flags]

Command reference: rykloud services build-logs