Get workflow artifact metadata
gh_get_artifactRetrieve metadata for a specific GitHub Actions artifact by ID, including digest, expiry, and workflow-run identity, without downloading or modifying the artifact.
Instructions
Read-only: return metadata for one exact GitHub Actions artifact identifier, including digest, expiry, and workflow-run/head identity. The artifact archive is never downloaded and GitHub is never modified.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Canonical GitHub repository name without path separators. | |
| owner | Yes | Canonical GitHub repository owner. | |
| artifact_id | Yes | Exact workflow artifact identifier. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| name | Yes | ||
| digest | No | ||
| expired | Yes | ||
| created_at | Yes | ||
| expires_at | Yes | ||
| size_in_bytes | Yes | ||
| workflow_run_id | Yes | ||
| workflow_head_sha | Yes |