---
title: "Trigger CI workflow for a release-candidate step"
method: POST
path: "/app/{appId}/release/{releaseId}/stepRun/{stepRunId}/triggerCI"
tags: ["release"]
---

# Trigger CI workflow for a release-candidate step

`POST /app/{appId}/release/{releaseId}/stepRun/{stepRunId}/triggerCI`

## Request

- Base URL: `https://api.runway.team`
- URL: `https://api.runway.team/app/{appId}/release/{releaseId}/stepRun/{stepRunId}/triggerCI`
- Auth: API key in header `X-API-Key`

Trigger the CI build workflow for a release-candidate step run on a given release. This endpoint is for FlightPath enabled apps only, and the targeted step run must correspond to a step config of archetype `releaseCandidate`.

## Path parameters

- `appId` string, required
- `releaseId` string, required
- `stepRunId` string, required

## Response `200`

The CI workflow was triggered successfully

- TriggerCIWorkflowEntity
  - `triggeredBuilds` TriggeredBuildEntity[]: The list of builds that were triggered as part of this request
    - `stepConfigId` string: The id of the step config that the CI workflow was triggered for
    - `buildId` string: The build identifier returned by the CI provider, if a build was triggered
    - `workflowDisplayableName` string: The displayable name of the CI workflow that was triggered
    - `resolvedBranchName` string: The branch name the CI workflow was triggered on
  - `message` string: A status message describing the result of the trigger request

## Other responses

- `400`: Bad request response
- `404`: Resource not found response

---

[API](https://skmtc.dev/runway/apis/runway-rest-api.md) - [All operations](https://skmtc.dev/runway/apis/runway-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/runway/apis/runway-rest-api/revisions/081109863a9a?raw)
