Get a job's log trace
One step with GitLab. We can help you get access.
Look something up
Get a job's log trace
with GitLab
Works with AI assistants
Use GitLab: its GitLab REST CI jobs API lets you get a job's log trace in a single step (GET /api/v4/projects/{id}/jobs/{job_id}/trace). GitLab also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.
- Where do I read the log output of a finished job?
- Can I fetch only part of a job's trace?
Say it to your AI assistant
- Get the trace of job {job_id} in project {id}.
- Fetch {byte_limit} bytes of job {job_id}'s trace in {id} from offset {byte_offset}.
For your developer
GET /api/v4/projects/{id}/jobs/{job_id}/trace in GitLab REST CI jobs API. Full spec on APIs.io.