/v1/deployments/{uid}/runsReturns the deployment's runs (builds and rollouts), newest first. security_scan carries
only the vulnerability counts here; get a single run for the full list.
Without query parameters, every run is returned. Send page or page_size to paginate;
a top-level pagination object is then added next to data.
Authentication
Send your API key as Authorization: Bearer <token>. The request is scoped to the workspace in X-Workspace-Slug.
Path parameters
uidstringRequiredThe deployment's uid.
Query parameters
pageintegerPage number, starting at 1. Sending this enables pagination.
min 1
page_sizeintegerRuns per page. Defaults to 10, capped at 100. Sending this enables pagination.
Default 10min 1 · max 100
Headers
X-Workspace-SlugstringRequiredSlug of the workspace the request acts on. You can also pass it as the workspace_slug query parameter.
Response
The deployment's runs. pagination is only present when page or page_size was sent.
successbooleanRequiredtrue when the request succeeded.
messagestringRequiredHuman-readable status message.
dataarray of objectsShow item attributesHide item attributes
uidstringRequiredUnique identifier of the run.
deployment_uidstringRequiredUID of the deployment.
operation_idstringRequiredUID of the operation that tracks the run. See Get an operation.
triggerstringRequiredWhat started the run.
One ofmanualgit_pushgit_pull_request
statusstringRequiredready once the version is live. canceled when a newer run superseded it. Rollouts without a build start at building.
One ofqueuedbuildingreadyfailedcanceled
branchstringRequiredBranch the run built.
commit_shastringCommit that was built, when known.
commit_messagestringCommit message or label.
trigger_actorstringWho started the run. For manual runs, the username (or email) of the member who made the request; for pushes and pull requests, the GitHub login.
trigger_actor_urlstringLink to the actor's profile, when known.
image_digeststringDigest of the built image. Omitted when the run has no image (failed, or deleted).
artifact_size_bytesintegerSize of the stored image in bytes. Omitted when unknown or deleted.
created_atstring (date-time)RequiredWhen the run was queued.
started_atstring (date-time)When work began.
finished_atstring (date-time)When the run finished.
last_failurestringReadable reason the run failed.
security_scanobjectVulnerability scan of the run's image. Present when scanning is enabled.
Show attributesHide attributes
uidstringRequiredUnique identifier of the scan.
statusstringRequiredwarning when critical or high findings exist. failed when the scan itself failed.
One ofqueuedscanningpassedwarningfailednot_scanned
critical_countintegerRequiredCritical findings.
high_countintegerRequiredHigh findings.
medium_countintegerRequiredMedium findings.
low_countintegerRequiredLow findings.
unknown_countintegerRequiredFindings of unknown severity.
scannerstringScanner used.
started_atstring (date-time)When the scan started.
finished_atstring (date-time)When the scan finished.
scanned_atstring (date-time)Same as finished_at.
vulnerabilitiesarray of objectsIndividual findings. Only returned by Get a deployment run.
Show item attributesHide item attributes
idstringRequiredVulnerability ID, such as a CVE.
severitystringRequiredSeverity reported by the scanner, such as CRITICAL, HIGH, MEDIUM, LOW or UNKNOWN.
package_namestringRequiredAffected package.
installed_versionstringInstalled version.
fixed_versionstringFirst version with a fix, if any.
titlestringShort title.
descriptionstringLonger description.
sourcestringWhere the package was found, such as the OS release or a lockfile.
advisory_urlstringLink to the advisory.
paginationobjectPaging details. Only present when page or page_size was sent.
Show attributesHide attributes
pageintegerRequiredCurrent page number.
page_sizeintegerRequiredItems per page.
totalintegerRequiredTotal number of matching items.
total_pagesintegerRequiredTotal number of pages.
Errors
| Status | Meaning |
|---|---|
401 | The API key is missing, invalid, expired or revoked. |
403 | You cannot access the workspace, your role does not allow this action, or the account is suspended. |
404 | The resource does not exist or you cannot access it. |
Errors use the standard error format.