---
title: "Create an Artifact"
method: POST
path: "/v1/projects/{projectId}/artifacts"
tags: ["Artifacts"]
---

# Create an Artifact

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

An endpoint to create an artifact

## Path parameters

- `projectId` string, uuid, required

## Headers

- `content-type` string, required
- `versionName` string, required
- `environmentName` string, required
- `commitHash` string
- `branch` string

## Response `201`

Created artifact successfully

- ArtifactResponse
  - `ignoredResources` IgnoredAsset[] — List of assets that were not included in the artifact
    - `name` string — Name of the asset that has been ignored
    - `reason` string — Reason the asset was ignored
  - `versionName` string — The generated artifact version name used to identify a specific artifact

## Other responses

- `400` — Invalid request
- `401` — Forbidden
- `403` — Unauthorized
- `415` — Unsupported media type
- `500` — Unexpected error occurred
- `504` — Gateway timeout

---

[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/versions/6239825f68eb/schema)
