Get a signed download URL for one Depot CI artifact
depot_get_ci_artifact_urlObtain a short-lived signed download URL for a specific Depot CI artifact by ID, then fetch the file immediately. Ideal for retrieving test reports, screenshots, or binaries for analysis.
Instructions
Mint a short-lived signed download URL for one Depot CI artifact, by artifact id.
Use this when you already know which artifact you want (from depot_list_ci_artifacts) and need to fetch it: a JUnit report to read the failing test names, a screenshot from a browser test, a built binary. Download it with curl or fetch as soon as you have the URL, since Depot signs it for minutes, not hours.
The URL is a bearer capability. Anyone holding it can download the artifact until it expires, so treat it like a credential: use it immediately and never write it anywhere durable (commit messages, issues, chat, files). This tool returns the URL only; it does not download the artifact or read its contents, and it cannot upload, replace, or delete anything.
To see what a run produced, or to get URLs for several artifacts in one call, use depot_list_ci_artifacts (with withDownloadUrl=true) instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| artifactId | Yes | The artifact id, as returned by depot_list_ci_artifacts. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| warning | Yes | Handling instructions: the URL is a bearer capability. | |
| expiresAt | No | When the signature expires, when the URL says so. | |
| artifactId | Yes | ||
| downloadUrl | Yes | Signed HTTPS URL. Short-lived; do not store it. | |
| expiresInSeconds | No |