Skip to main content
GET
/
api
/
projects
/
{projectId}
/
runs
/
{runId}
Get deployment workflow run
curl --request GET \
  --url https://api.example.com/api/projects/{projectId}/runs/{runId} \
  --header 'Authorization: Bearer <token>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "status": "in_progress",
  "releaseId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "projectId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "createdById": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "createdAt": "<string>",
  "jobs": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "status": "not_started",
      "order": 123,
      "environmentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "projectId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "deploymentWorkflowRunId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "createdAt": "<string>",
      "environment": {
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "name": "<string>",
        "key": "<string>"
      },
      "reviewedAt": "<string>",
      "reviewedBy": {
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "email": "[email protected]",
        "firstName": "<string>",
        "lastName": "<string>"
      },
      "reviewedComment": "<string>",
      "reviewedConclusion": "approved",
      "previousRelease": {
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "name": "<string>",
        "version": "<string>"
      },
      "previousReleaseId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "event": "<string>",
      "data": "<unknown>"
    }
  ],
  "runVersion": "v2",
  "release": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "<string>",
    "version": "<string>"
  },
  "createdBy": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "email": "[email protected]",
    "firstName": "<string>",
    "lastName": "<string>"
  },
  "completedAt": "<string>",
  "cancelledById": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "cancelledBy": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "email": "[email protected]",
    "firstName": "<string>",
    "lastName": "<string>"
  },
  "cancelledComment": "<string>"
}

Authorizations

Authorization
string
header
required

Personal access token is obtained through your profile

Path Parameters

projectId
string<uuid>
required

Project unique identifier

runId
string<uuid>
required

Deployment workflow run unique identifier

Response

200 - application/json

Deployment workflow run with jobs

Deployment workflow run with jobs

id
string<uuid>
required

Workflow run unique identifier

name
string | null
required

Workflow run name

status
enum<string>
required

Current status of the workflow run

Available options:
in_progress,
completed,
cancelled,
waiting,
failure
releaseId
string<uuid>
required

Associated release ID

projectId
string<uuid>
required

Project ID

createdById
string<uuid>
required

ID of user who created the run

createdAt
string
required

Timestamp when the run was created

jobs
object[]
required

List of jobs in the workflow run

runVersion
enum<string> | null

Workflow run version

Available options:
v2,
release
object

Associated release

createdBy
object

User who created the run

completedAt
string | null

Timestamp when the run was completed

cancelledById
string<uuid> | null

ID of user who cancelled the run

cancelledBy
object

User who cancelled the run

cancelledComment
string | null

Cancellation reason