gitlab_get_pipeline
Retrieve detailed timing and status information for a specific GitLab CI/CD pipeline, including queued duration, total duration, and timestamps to analyze performance or check current state.
Instructions
Get a single pipeline with full timing details.
Useful right after gitlab_list_pipelines — lists only return summaries.
Returns status, ref, source, durations (queued/total), and started/finished timestamps.
Examples:
- "Why was pipeline 123 slow" → check queued_duration and duration fields
- "Is pipeline 456 still running" → look at status
- Don't use to see individual jobs — use gitlab_get_pipeline_jobs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pipeline_id | Yes | Numeric pipeline ID (not ``iid``). | |
| project_path | No | GitLab project path (e.g. 'my-org/my-repo'). When omitted, the default from GITLAB_PROJECT_PATH env var is used. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| status | Yes | ||
| ref | Yes | ||
| source | Yes | ||
| created_at | Yes | ||
| updated_at | Yes | ||
| started_at | Yes | ||
| finished_at | Yes | ||
| duration | Yes | ||
| queued_duration | Yes | ||
| web_url | Yes |