Cloudflare Artifacts API

Cloudflare Artifacts is a versioned file storage system that speaks Git, enabling programmatic repository creation and access via Workers, REST API, and Git clients. Recent additions (May 2026) include event subscriptions for repository lifecycle events and Wrangler CLI management commands. Currently in closed beta.

GitHub OpenAPI
Business capability
Software Construction Management BC-4200.40

Operations 19

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

1 of 19 operations are conformant: apis.io called them with no credentials and the responses matched this contract. Checked 2026-11-12. how this works · status file

GET /accounts/{account_id}/artifacts/namespaces List Artifacts namespaces in an account · List namespaces conformant #
Ask an LLM
“Which Artifacts namespaces exist in my account?”
“Can I list all artifact namespaces for one account?”
Tell an agent
List Artifacts namespaces in account {account}.
Show {limit} artifact namespaces per page for account {account}.
POST /accounts/{account_id}/artifacts/namespaces Create an Artifacts namespace · Create a namespace #
Ask an LLM
“How do I create a new empty namespace for my artifacts?”
“Can I choose a jurisdiction when creating an artifact namespace?”
Tell an agent
Create an Artifacts namespace {namespace} in account {account}.
Create artifact namespace {namespace} in {jurisdiction} for account {account}.
DELETE /accounts/{account_id}/artifacts/namespaces/{namespace} Delete an empty Artifacts namespace · Delete a namespace #
Ask an LLM
“How do I delete an empty artifact namespace?”
“Can I remove a namespace that still has repositories in it?”
Tell an agent destructive · confirm first
Delete Artifacts namespace {namespace} in account {account}.
Remove the empty artifact namespace {namespace} from account {account}.
GET /accounts/{account_id}/artifacts/namespaces/{namespace} Get an Artifacts namespace · Get a namespace #
Ask an LLM
“What jurisdiction and settings does an artifact namespace have?”
“Can I look up one artifact namespace by name?”
Tell an agent
Get Artifacts namespace {namespace} in account {account}.
Show the summary of artifact namespace {namespace} for account {account}.
GET /accounts/{account_id}/artifacts/namespaces/{namespace}/repos List repositories in an artifact namespace · List repositories #
Ask an LLM
“Which Git-compatible repositories are in my artifact namespace?”
“Can I search or sort the repositories in an artifact namespace?”
Tell an agent
List repositories in Artifacts namespace {namespace} of account {account}.
Search artifact namespace {namespace} for repositories matching {search}.
POST /accounts/{account_id}/artifacts/namespaces/{namespace}/repos Create a Git-compatible repository in an artifact namespace · Create a repository #
Ask an LLM
“How do I create a new Git repo inside an artifact namespace?”
“Can I set a default branch and read-only mode when creating an artifact repo?”
Tell an agent
Create repository {name} in Artifacts namespace {namespace} of account {account}.
Create artifact repo {name} in {namespace} with default branch {branch}.
DELETE /accounts/{account_id}/artifacts/namespaces/{namespace}/repos/{name} Delete an artifact repository · Delete a repository #
Ask an LLM
“How do I delete an artifact repository and clean up its data?”
“Is deleting an artifact repo immediate or scheduled?”
Tell an agent destructive · confirm first
Delete repository {name} in Artifacts namespace {namespace} of account {account}.
Schedule artifact repo {name} in {namespace} for deletion in account {account}.
GET /accounts/{account_id}/artifacts/namespaces/{namespace}/repos/{name} Get an artifact repository's metadata · Get a repository #
Ask an LLM
“What is the description and read-only status of an artifact repository?”
“Can I fetch metadata for one artifact repo by name?”
Tell an agent
Get repository {name} in Artifacts namespace {namespace} of account {account}.
Show metadata for artifact repo {name} in {namespace} for account {account}.
GET /accounts/{account_id}/artifacts/namespaces/{namespace}/repos/{name}/blob/{hash} Read the raw bytes of an artifact blob · Read a Git blob #
Ask an LLM
“How do I download the raw bytes of a Git blob in an artifact repo?”
“Are artifact blob responses cacheable by hash?”
Tell an agent
Read blob {hash} in repository {name} of namespace {namespace} in account {account}.
Download the raw bytes of artifact blob {hash} from {name} in {namespace} for account {account}.
GET /accounts/{account_id}/artifacts/namespaces/{namespace}/repos/{name}/commit/{hash} Read an artifact commit's metadata · Read a Git commit #
Ask an LLM
“How do I read the metadata of a Git commit in an artifact repo?”
“Are artifact commit responses cacheable by hash?”
Tell an agent
Read commit {hash} in repository {name} of namespace {namespace} in account {account}.
Show the metadata of artifact commit {hash} from {name} in {namespace} for account {account}.
GET /accounts/{account_id}/artifacts/namespaces/{namespace}/repos/{name}/file Read a file from an artifact repository · Read a file #
Ask an LLM
“How do I read a file from an artifact repo at a specific ref and path?”
“Can I fetch an artifact file by branch or tag name?”
Tell an agent
Read file {path} from repository {name} in namespace {namespace} of account {account} at ref {ref}.
Fetch artifact file {path} in {name} at {ref} from {namespace} for account {account}.
POST /accounts/{account_id}/artifacts/namespaces/{namespace}/repos/{name}/fork Fork an artifact repository · Fork a repository #
Ask an LLM
“How do I fork an existing artifact repository into a new one?”
“Can I fork only the default branch of an artifact repo?”
Tell an agent
Fork repository {name} in namespace {namespace} of account {account} into a new repo {new_name}.
Fork {name} in {namespace} as {new_name} with default-branch-only {only}.
POST /accounts/{account_id}/artifacts/namespaces/{namespace}/repos/{name}/import Import an HTTPS Git repo into an artifact repository · Import a repository #
Ask an LLM
“How do I import an existing HTTPS Git repository into an artifact repo?”
“Can I limit how many commits are imported?”
Tell an agent
Import HTTPS repo {url} into repository {name} in namespace {namespace} of account {account}.
Import {url} into {name} in {namespace} with depth {depth}.
GET /accounts/{account_id}/artifacts/namespaces/{namespace}/repos/{name}/log Read the commit history of an artifact repository · Read commit history #
Ask an LLM
“How do I walk backwards through the commit history of an artifact repo?”
“Can I limit how many commits come back for an artifact branch?”
Tell an agent
Read the commit history of repository {name} in namespace {namespace} of account {account}.
Show {limit} commits from {ref} in {name} of {namespace} for account {account}.
GET /accounts/{account_id}/artifacts/namespaces/{namespace}/repos/{name}/raw/{ref}/{path} Read a raw file from an artifact repository · Read a raw file with content type #
Ask an LLM
“How do I download a file from an artifact repo with its content type?”
“Can I get raw bytes of an artifact file by ref and path?”
Tell an agent
Read raw file {path} from repository {name} in namespace {namespace} of account {account} at {ref}.
Download the raw bytes of {path} in {name} at {ref} from {namespace} for account {account}.
GET /accounts/{account_id}/artifacts/namespaces/{namespace}/repos/{name}/tokens List tokens for an artifact repository · List repository tokens #
Ask an LLM
“Which tokens exist for an artifact repository?”
“Can I filter artifact repo tokens by state?”
Tell an agent
List tokens for repository {name} in namespace {namespace} of account {account}.
Show artifact repo tokens in {namespace} for {name} with state {state}.
GET /accounts/{account_id}/artifacts/namespaces/{namespace}/repos/{name}/tree/{hash} Read an artifact tree's entries · Read a Git tree #
Ask an LLM
“How do I read the entries of a Git tree in an artifact repository?”
“Are artifact tree responses cacheable by hash?”
Tell an agent
Read tree {hash} in repository {name} of namespace {namespace} in account {account}.
Show the entries of artifact tree {hash} from {name} in {namespace} for account {account}.
POST /accounts/{account_id}/artifacts/namespaces/{namespace}/tokens Create a scoped token for an artifact repository · Create a repository token #
Ask an LLM
“How do I generate a scoped Git token for an artifact repository?”
“Can I set a time-to-live on an artifact repo token?”
Tell an agent
Create a scoped token for repository {repo} in namespace {namespace} of account {account}.
Create an artifact repo token for {repo} in {namespace} with scope {scope}.
DELETE /accounts/{account_id}/artifacts/namespaces/{namespace}/tokens/{id} Revoke an artifact repository token · Revoke a token #
Ask an LLM
“How do I revoke an artifact token I no longer need?”
“Why might revoking an artifact token return a 404 right after creating it?”
Tell an agent destructive · confirm first
Revoke artifact token {id} in namespace {namespace} of account {account}.
Revoke artifact repo token {id} in {namespace} for account {account}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/cloudflare:cloudflare-artifacts-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

cloudflare-artifacts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: Welcome to Cloudflare's API documentation site.
  license:
    name: BSD-3-Clause
    url: https://opensource.org/licenses/BSD-3-Clause
  title: Cloudflare Artifacts API
  version: 4.0.0
servers:
- description: Client API
  url: https://api.cloudflare.com/client/v4
security:
- api_email: []
  api_key: []
- api_token: []
- user_service_key: []
tags:


# --- truncated at 32 KB (378 KB total) ---
# Full source: https://artifacts.apis.io/cloudflare/openapi/cloudflare-artifacts-api-openapi.yml