You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/changelog/artifacts/2026-04-16-artifacts-now-in-beta.mdx
+5-6Lines changed: 5 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,12 @@
1
1
---
2
-
title: "Artifacts now in beta: versioned filesystem that can speak git"
3
-
description: Artifacts is now available in beta as a versioned filesystem for Workers, APIs, and git-compatible workflows.
2
+
title: "Artifacts now in beta: versioned filesystem with Git access"
3
+
description: Artifacts is now available in beta as a versioned filesystem for Workers, APIs, and Git-compatible workflows.
4
4
products:
5
5
- artifacts
6
6
date: 2026-04-16
7
7
---
8
8
9
-
[Artifacts](/artifacts/) is now in beta. It provides a versioned filesystem for storing and exchanging file trees across Workers, the REST API, and git-compatible clients.
9
+
[Artifacts](/artifacts/) is now in beta. It provides a versioned filesystem for storing and exchanging file trees across Workers, the REST API, and Git-compatible clients.
10
10
11
11
Use Artifacts to publish build outputs, sync repositories, and move files between tools without inventing a new packaging format.
12
12
@@ -17,11 +17,10 @@ const created = await env.ARTIFACTS.create("starter-repo");
Requests to `/v1/api/...` use Bearer authentication:
31
25
32
26
```txt
33
-
Authorization: Bearer <GATEWAY_JWT>
27
+
Authorization: Bearer <CLOUDFLARE_API_TOKEN>
34
28
```
35
29
36
-
If you are calling `/edge/v1/...`, use the gateway auth required by that edge deployment.
37
-
38
30
All routes below are relative to the base URL your deployment exposes. The examples use `https://artifacts.cloudflare.net/v1/api/namespaces/$ARTIFACTS_NAMESPACE`.
39
31
40
-
Gateway JWTs authenticate REST control-plane routes. Repo tokens authenticate Git operations against the returned `remote` URL.
32
+
Cloudflare API tokens authenticate REST control-plane routes. Repo tokens authenticate Git operations against the returned `remote` URL.
Copy file name to clipboardExpand all lines: src/content/docs/artifacts/examples/git-client.mdx
+4-6Lines changed: 4 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,9 +8,7 @@ sidebar:
8
8
9
9
Use this pattern when you want to discover a repo over the REST API and then hand the returned HTTPS remote to a standard Git client.
10
10
11
-
This example assumes the repo already exists and that you have a gateway JWT with permission to read repo metadata and mint repo tokens.
12
-
13
-
Artifacts REST auth is environment-specific in private beta. If you do not already have a gateway JWT for your Artifacts environment, use the [Workers binding](/artifacts/api/workers-binding/) instead.
11
+
This example assumes the repo already exists and that you have a [Cloudflare API token](/fundamentals/api/get-started/create-token/) with **Artifacts** > **Edit**.
14
12
15
13
## Fetch the remote and clone the repo
16
14
@@ -21,16 +19,16 @@ The example below uses `jq` to extract fields from the JSON responses.
Create an Artifacts repo with the REST API, then use a regular Git client to push and pull content.
15
15
16
-
Use this guide only if your Artifacts environment already provides a gateway JWT in private beta.
17
-
18
16
By the end of this guide, you will create a repo inside an existing namespace, read back the repo remote URL, push a commit, and clone the same repo with a standard Git client.
19
17
20
18
## Prerequisites
21
19
22
20
You need:
23
21
24
22
- A Cloudflare account with access to Artifacts.
25
-
- A gateway JWT for the Artifacts API.
23
+
- A [Cloudflare API token](/fundamentals/api/get-started/create-token/) with **Artifacts** > **Edit**.
26
24
- An existing Artifacts namespace, for example `default`.
27
25
- A local `git` client.
28
26
-`jq`, if you want to extract response fields automatically.
29
27
30
-
Artifacts REST auth is environment-specific in private beta. If you do not already have a gateway JWT for your Artifacts environment, use the [Workers get started guide](/artifacts/get-started/workers/) instead.
28
+
For Workers-based access instead of direct HTTP calls, use the [Workers get started guide](/artifacts/get-started/workers/).
31
29
32
30
## 1. Export your environment variables
33
31
@@ -36,7 +34,7 @@ Set the variables used in the examples:
0 commit comments