Get build logs
Builds
Get Build Logs
Retrieve the logs for a specific build
GET
Get build logs
Streaming Logs During Build
You can poll this endpoint during a build to stream logs in real-time. The endpoint returns the latest logs each time you call it:Pagination
Use thelimit query parameter to control how many log lines are returned:
Logs may be empty if the build was just created and hasn’t started executing yet. Continue polling until logs appear or the build completes.
Debugging Failed Builds
When a build fails, use this endpoint to diagnose the issue:- Missing dependencies in
requirements.txt - Dockerfile syntax errors
- Failed
pip installcommands - Missing files referenced in
COPYinstructions
Authorizations
Authentication using a Pipecat Cloud API token.
Path Parameters
Unique identifier of the build.
Query Parameters
Maximum number of log events to return.
Required range:
1 <= x <= 10000Response
Build logs retrieved successfully