---
# @generated by sylphx-gen. Do not edit.
title: "Get an artifact reference"
description: "`artifacts.artifact_references.get` (GET /v1/{name}): Gets an exact holder reference, including its current expiry."
type: reference
product: platform
summary: "Gets an exact holder reference, including its current expiry."
updated: 2026-09-28
nav: false
---

Gets an exact holder reference, including its current expiry.

- **Path** `GET https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/artifact_references/artifact-reference`
- **Scope** `artifacts:read`
- **Effect** `read` — nothing is written.
- **Collection** [artifact_references](/docs/api/artifact_references)

## Request

| Field | Type | What it is |
| --- | --- | --- |
| `name` | `string` | The exact reference to read. Required. |

## Response

| Field | Type | What it is |
| --- | --- | --- |
| `name` | `string` | The canonical reference name; derived from the image and holder identity. |
| `uid` | `string` | The immutable reference identity. Output only. |
| `meta` | `ResourceMeta` | Creation metadata. Output only. |
| `repository` | `string` | The exact managed registry repository, without host, tag or digest. |
| `digest` | `string` | The exact algorithm-qualified SHA-256 image digest. |
| `holder_kind` | `string` | The kind of holding resource, for example `device_state`. |
| `holder_id` | `string` | The holding resource's stable identity within this environment. |
| `expires_at` | `timestamp` | Keep this image until this instant. Repeating Update only extends it. Required. |

### ResourceMeta

| Field | Type | What it is |
| --- | --- | --- |
| `generation` | `int64` | Increases by one on every change to `spec`. Output only. |
| `etag` | `string` | Strong ETag (AIP-154): changes on any change to spec, status, or metadata. Send it back as `If-Match` or `etag` to make Update and Delete conditional; a mismatch fails with ABORTED / 409 `ETAG_MISMATCH`. Output only. |
| `create_time` | `timestamp` | When the Resource was created. Output only. |
| `update_time` | `timestamp` | When the Resource last changed. Output only. |
| `delete_time` | `timestamp` | Set while the Resource is being deleted. Output only. |
| `labels` | `map<string, string>` | Caller-writable, indexed labels (AIP-122 label rules). |
| `annotations` | `map<string, string>` | Caller-writable, unindexed annotations. |
| `display_name` | `string` | Caller-writable human-readable name. |
| `creator` | `string` | The principal that created the Resource. Output only. |

## Errors

- [`UNAUTHENTICATED`](/docs/api/errors/UNAUTHENTICATED) — No valid key or token was presented.
- [`PERMISSION_DENIED`](/docs/api/errors/PERMISSION_DENIED) — The key lacks the method's permission.
- [`RESOURCE_NOT_FOUND`](/docs/api/errors/RESOURCE_NOT_FOUND) — The named Resource does not exist or is not visible.
- [`UNAVAILABLE`](/docs/api/errors/UNAVAILABLE) — The Resource store, the owning service's backend, or the key verifier's snapshot is unavailable; retry after Retry-After.

Every error arrives in the body [Errors](/docs/platform/errors) describes.

## Examples

**cURL**

```curl
curl "https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/artifact_references/artifact-reference" \
  -H "Authorization: Bearer $SYLPHX_API_KEY"
```

**TypeScript**

```ts
const response = await sylphx.artifacts.artifactReferences.get({ name: 'orgs/acme/projects/shop/envs/production/artifact_references/artifact-reference' })
```

**Rust**

```rust
let mut req = sylphx::artifacts::GetArtifactReferenceRequest::default();
req.name = "orgs/acme/projects/shop/envs/production/artifact_references/artifact-reference".to_string();
let response = sx.artifacts().artifact_references().get(req).await?;
```

**CLI**

```bash
sylphx artifacts artifact-references get orgs/acme/projects/shop/envs/production/artifact_references/artifact-reference
```

**MCP**

```json
{ "method_id": "artifacts.artifact_references.get", "args": {"name":"orgs/acme/projects/shop/envs/production/artifact_references/artifact-reference"} }
```
