---
title: "List artifacts for a repository"
method: GET
path: "/repos/{owner}/{repo}/actions/artifacts"
tags: ["actions"]
---

# List artifacts for a repository

`GET /repos/{owner}/{repo}/actions/artifacts`

Lists all artifacts for a repository.

Anyone with read access to the repository can use this endpoint.

OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.

## Path parameters

- `owner` string, required
- `repo` string, required

## Query parameters

- `per_page` integer
- `page` integer
- `name` string

## Response `200`

Response

- object
  - `total_count` integer, required
  - `artifacts` Artifact[], required
    - `id` integer, required
    - `node_id` string, required
    - `name` string, required — The name of the artifact.
    - `size_in_bytes` integer, required — The size in bytes of the artifact.
    - `url` string, required
    - `archive_download_url` string, required
    - `expired` boolean, required — Whether or not the artifact has expired.
    - `created_at` string, date-time, nullable, required
    - `expires_at` string, date-time, nullable, required
    - `updated_at` string, date-time, nullable, required
    - `digest` string, nullable — The SHA256 digest of the artifact. This field will only be populated on artifacts uploaded with upload-artifact v4 or newer. For older versions, this field will be null.
    - `workflow_run` object, nullable
      - `id` integer
      - `repository_id` integer
      - `head_repository_id` integer
      - `head_branch` string
      - `head_sha` string

---

[API](https://skmtc.net/github/apis/github-v3-rest-api-3.md) · [All operations](https://skmtc.net/github/apis/github-v3-rest-api-3/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/github/github-v3-rest-api-3/versions/dc0584ac4e13/schema)
