---
title: "POST /api/v1/ci/pipelines/{pipeline_id}/runs/{id}/retry"
method: POST
path: "/api/v1/ci/pipelines/{pipeline_id}/runs/{id}/retry"
tags: ["ci"]
---

# POST /api/v1/ci/pipelines/{pipeline_id}/runs/{id}/retry

`POST /api/v1/ci/pipelines/{pipeline_id}/runs/{id}/retry`

## Request

- Base URL: `https://composal.com` (the document declares no server; this is the origin it was published from)
- URL: `https://composal.com/api/v1/ci/pipelines/{pipeline_id}/runs/{id}/retry`
- Auth: HTTP bearer

## Path parameters

- `pipeline_id` string, required
- `id` string, required

## Request body

- object
  - `request_id` string, required

## Response `200`

Existing CI retry for this request

- object
  - `pipeline_run` CiPipelineRun, required
    - `id` string, required
    - `organization_id` string, required
    - `repository_id` string, nullable, required
    - `hosted_app_id` string, nullable, required
    - `ci_pipeline_id` string, required
    - `ci_runner_pool_id` string, nullable, required
    - `creator_user_id` string, nullable, required
    - `required_capabilities_csv` string, nullable, required
    - `number` integer, required
    - `display_id` integer, required
    - `slug` string, required
    - `status` string, required
    - `trigger_kind` string, required
    - `ref_name` string, nullable, required
    - `commit_sha` string, nullable, required
    - `source_url` string, nullable, required
    - `message` string, nullable, required
    - `concurrency_key` string, nullable, required
    - `retry_number` integer, required
    - `queued_at` string, date-time, nullable, required
    - `started_at` string, date-time, nullable, required
    - `finished_at` string, date-time, nullable, required
    - `canceled_at` string, date-time, nullable, required
    - `parameters_json` string, nullable, required
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, required
    - `status_label` string, required
    - `status_state` 'active' | 'successful' | 'failed' | 'canceled' | 'blocked' | 'skipped' | 'enabled' | 'inactive' | 'unknown', required
    - `status_tone` 'success' | 'danger' | 'warning' | 'default', required
    - `active` boolean, required
    - `failed` boolean, required
    - `retryable` boolean, required

## Other responses

- `201`: CI retry created
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not found
- `422`: Unprocessable entity
- `502`: Bad gateway

---

[API](https://skmtc.dev/composal/apis/vex-api.md) - [All operations](https://skmtc.dev/composal/apis/vex-api/llms.txt) - [OpenAPI document](https://skmtc.dev/composal/apis/vex-api/revisions/19698ba051dc?raw)
