v1

latestOpenAPI 3.0.02026-07-26242779.3 KB

Get build logs

Retrieve the logs for a specific build. Returns log lines from the build process, useful for monitoring progress or debugging failures.

get/builds/{buildId}/logs

Path parameters

buildIdstring uuid required

Unique identifier of the build.

Query parameters

limitinteger

Maximum number of log events to return.

Response

Build logs retrieved successfully

logsstring[] required

Array of log lines from the build process. May be empty if the build hasn't started generating logs yet.

nextTokenstring

Pagination token for retrieving additional logs. Present when more logs are available.

Example response

{
  "logs": [
    "[Container] 2026/03/04 10:00:00 Entering phase: INSTALL",
    "[Container] 2026/03/04 10:00:01 Running command pip install -r requirements.txt",
    "[Container] 2026/03/04 10:00:05 Successfully installed pipecat-ai-0.1.0"
  ],
  "nextToken": "eyJuZXh0VG9rZW4iOiAiYWJjMTIzIn0="
}