---
title: "Get artifact"
method: GET
path: "/v1/artifacts/{id}"
tags: ["Artifacts"]
---

# Get artifact

`GET /v1/artifacts/{id}`

## Request

- Base URL: `https://api.nops.io`
- URL: `https://api.nops.io/v1/artifacts/{id}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/nops/apis/nops-public-api/docs/v1/artifacts/:id/get.ts> (a function with typed inputs; its response is checked against the schema)

Get one artifact, including its raw file text in `content` (null if it could not be read) and `fileSha256`, the hex SHA-256 of the stored file, for verifying a saved copy (null for older uploads). Requires `artifacts:read`.

## Path parameters

- `id` string, required: Artifact ID

## Response `200`

Get artifact

- object
  - `data` object, required: JSON object

## Other responses

- `401`: Unauthorized — invalid or missing API key
- `403`: Forbidden — insufficient permissions or entitlement

---

[API](https://skmtc.dev/nops/apis/nops-public-api.md) - [All operations](https://skmtc.dev/nops/apis/nops-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nops/apis/nops-public-api/revisions/ac549fa495dd?raw)
