---
title: "Get Artifact with assets details by a given version name"
method: GET
path: "/v2/projects/{projectId}/artifacts/details"
tags: ["Artifacts"]
---

# Get Artifact with assets details by a given version name

`GET /v2/projects/{projectId}/artifacts/details`

An endpoint for getting artifact details along with assets details by a given version name

## Path parameters

- `projectId` string, required

## Query parameters

- `versionName` string
- `environmentName` string, required

## Response `200`

Artifact details retrieved

- ArtifactDetailsWithAssetsDetails
  - `assets` AssetDetails[]
    - `contentHash` string — The content hash of the asset
    - `contentSize` integer — The size of the asset in bytes
    - `contentType` string — The contentType of the asset
    - `description` string — The description of the asset
    - `name` string — The name of the asset including its relative path
  - `details` ArtifactDetails
    - `branch` string
    - `commitHash` string
    - `createdAt` string, date-time
    - `deployedAt` string, date-time
    - `enabled` boolean
    - `provider` string
    - `versionName` string

## Other responses

- `400` — Wrong request parameters used
- `403` — Unauthorized
- `404` — Artifact not Found
- `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)
