---
# @generated by sylphx-gen. Do not edit.
title: "sylphx artifacts artifact_references"
description: "The sylphx artifacts artifact_references commands of Sylphx Artifacts: every verb, with its argument, its flags and a run line."
type: reference
product: platform
summary: "Every sylphx artifacts artifact_references command: its argument, its flags and a run line."
updated: 2026-09-28
nav: false
---

The `artifact_references` commands of Sylphx Artifacts, as the CLI spells them: the same
calls as [the `artifact_references` API page](/docs/api/artifact_references), typed for the
shell. [Install, sign in and the grammar](/docs/cli) are on the CLI index.

## update

Updates a holder's retention reference, or creates it with allow_missing. Existing expiry is only extended, never shortened. The exact repository and digest must have an owned Artifact receipt. Success means the registry protection tag has been written and read back; a failed pin attempt commits no reference. Concurrent updates never shorten retention.

**`NAME`** — the resource's name; a bare id is enough below the linked
project.

**CLI**

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

`PATCH https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/artifact_references/artifact-reference` · scope `artifacts:retain` · effect `write` · [Request, response and examples](/docs/api/artifact_references/update)

**Flags**

| Flag | Type | What it does |
| --- | --- | --- |
| `--expires-at` | `timestamp` | Keep this image until this instant. Repeating Update only extends it. Required. |
| `--allow-missing` | `bool` | Create this reference when absent, after verifying ownership and pinning. |

## list

Lists this environment's holder references, including expired references.

**`PARENT`** — optional: the CLI fills it from the linked project or the
key's scope when it is left out.

**CLI**

```bash
sylphx artifacts artifact-references list orgs/acme/projects/shop/envs/production
```

`GET https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/artifact_references` · scope `artifacts:read` · effect `read` · [Request, response and examples](/docs/api/artifact_references/list)

**Flags**

| Flag | Type | What it does |
| --- | --- | --- |
| `--page-size` | `int` | Maximum results; defaults to 50 and is capped at 1000. |
| `--page-token` | `string` | The next_page_token of the preceding page with the same parameters. |
| `--filter` | `string` | A filter on repository, digest or holder_kind, using the List filter grammar. |

## get

Gets an exact holder reference, including its current expiry.

**`NAME`** — the resource's name; a bare id is enough below the linked
project.

**CLI**

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

`GET https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/artifact_references/artifact-reference` · scope `artifacts:read` · effect `read` · [Request, response and examples](/docs/api/artifact_references/get)

## delete

Releases this holder's reference. Other holders keep their protection; registry reconciliation removes a stale tag only after every root expires. Releasing an already absent reference succeeds.

**`NAME`** — the resource's name; a bare id is enough below the linked
project.

**CLI**

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

`DELETE https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/artifact_references/artifact-reference` · scope `artifacts:retain` · effect `destructive` · [Request, response and examples](/docs/api/artifact_references/delete)

**Flags**

| Flag | Type | What it does |
| --- | --- | --- |
| `--yes` | `bool` | Do not ask before this destructive call. |
