---
title: "Get a list of Artifacts"
method: GET
path: "/v1/projects/{projectId}/artifacts"
tags: ["Artifacts"]
---

# Get a list of Artifacts

`GET /v1/projects/{projectId}/artifacts`

An endpoint for getting artifacts for a given environment

## Path parameters

- `projectId` string, required

## Query parameters

- `environmentName` string, required
- `enabledOnly` boolean
- `page` unknown
- `size` unknown

## Response `200`

Artifact details retrieved

- PagedResultListArtifactDetails
  - `page` integer — The 0-indexed page number of the returned results.
  - `results` ArtifactDetails[] — Page of results or empty.
    - `branch` string
    - `commitHash` string
    - `createdAt` string, date-time
    - `deployedAt` string, date-time
    - `enabled` boolean
    - `provider` string
    - `versionName` string
  - `size` integer — The size of each page of results.
  - `total` integer — Total number of available results across all pages.

## Other responses

- `400` — Wrong request parameters used
- `403` — Unauthorized
- `500` — Unexpected error occurred

---

[API](https://skmtc.net/maia/apis/maia-public-rest-api.md) · [All operations](https://skmtc.net/maia/apis/maia-public-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/maia/maia-public-rest-api/revisions/6239825f68eb/schema)
