Process Log API
Tail workspace process logs for apps, runners, builds, and executions.
GET /v1/workspaces/{workspace_id}/logsBacked by Loki when available in the cell. Empty results are normal if logging is not configured.
See also: Customer Portal — Process Log
Query parameters
| Param | Default | Purpose |
|---|---|---|
app_id | — | Filter by app |
runner_id | — | Filter by runner / deployment |
build_number | — | Filter by build |
execution_id | — | Filter by execution |
search | — | Free-text search |
since_seconds | 900 | Lookback window |
limit | 200 | Max entries |
Permission: read
curl -s -H "Authorization: Bearer $TOKEN" \
"$CP_URL/v1/workspaces/$WORKSPACE_ID/logs?since_seconds=3600&limit=100" | jq .Related
- Coderunners API — job logs via
…/coderunners/{id}/logs/{job_id} - Audit API — control-plane activity, not runtime stdout