Cloudflare Namespaces API

Manage Durable Object namespaces that group related object instances.

Operations 10

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

GET /accounts/{account_id}/workers/durable_objects/namespaces List Durable Object namespaces · Cloudflare List Durable Object Namespaces #
Ask an LLM
“Which Durable Object namespaces exist in my Cloudflare account?”
“Can I see every Durable Object class namespace my Workers have registered?”
Tell an agent
List the Durable Object namespaces in account {account}.
Show me all Durable Object namespaces so I can find a namespace ID.
GET /accounts/{account_id}/storage/kv/namespaces List KV namespaces · Cloudflare List Kv Namespaces #
Ask an LLM
“What KV namespaces do I have in Cloudflare?”
“Can I page through my Workers KV namespaces a set number at a time?”
Tell an agent
List all KV namespaces in account {account}.
Show page {page} of my KV namespaces with {per_page} per page.
POST /accounts/{account_id}/storage/kv/namespaces Create a KV namespace · Cloudflare Create Kv Namespace #
Ask an LLM
“How do I create a new Workers KV namespace?”
“Is a title all I need to set up a fresh key-value store for my Worker?”
Tell an agent
Create a KV namespace titled {title} in account {account}.
Set up a new key-value namespace called {title}.
GET /accounts/{account_id}/storage/kv/namespaces/{namespace_id} Get details of a KV namespace · Cloudflare Get Kv Namespace #
Ask an LLM
“What are the details of one specific KV namespace?”
“Can I look up a KV namespace's title from its ID?”
Tell an agent
Get the details of KV namespace {namespace} in account {account}.
Look up KV namespace {namespace} and tell me its title.
PUT /accounts/{account_id}/storage/kv/namespaces/{namespace_id} Rename a KV namespace · Cloudflare Rename Kv Namespace #
Ask an LLM
“How do I change the title of an existing KV namespace?”
“Can I rename a KV namespace without losing the keys stored in it?”
Tell an agent
Rename KV namespace {namespace} to {title}.
Change the title of KV namespace {namespace} in account {account} to {title}.
DELETE /accounts/{account_id}/storage/kv/namespaces/{namespace_id} Delete a KV namespace and its keys · Cloudflare Delete Kv Namespace #
Ask an LLM
“How do I delete a KV namespace I no longer use?”
“Does removing a KV namespace also wipe all of the key-value pairs inside it?”
Tell an agent destructive · confirm first
Delete KV namespace {namespace} and everything stored in it.
Remove KV namespace {namespace} from account {account}.
GET /accounts/{account_id}/agent-memory/namespaces List namespaces #
POST /accounts/{account_id}/agent-memory/namespaces Create a namespace #
DELETE /accounts/{account_id}/agent-memory/namespaces/{namespace_name} Delete a namespace #
GET /accounts/{account_id}/agent-memory/namespaces/{namespace_name} Get a namespace #

Documentation

📖
Documentation
https://developers.cloudflare.com/api/
📖
GettingStarted
https://developers.cloudflare.com/fundamentals/api/get-started/
📖
Authentication
https://developers.cloudflare.com/fundamentals/api/get-started/create-token/
📖
RateLimits
https://developers.cloudflare.com/fundamentals/api/reference/limits/
📖
Documentation
https://developers.cloudflare.com/api/operations/accounts-list-accounts
📖
APIReference
https://developers.cloudflare.com/api/resources/accounts/
📖
APIReference
https://developers.cloudflare.com/ssl/
📖
Documentation
https://developers.cloudflare.com/api/operations/ip-access-rules-for-a-user-list-ip-access-rules
📖
Documentation
https://developers.cloudflare.com/api/operations/user'-s-account-memberships-list-memberships
📖
Documentation
https://developers.cloudflare.com/api/operations/radar-get-search-global
📖
APIReference
https://developers.cloudflare.com/radar/
📖
GettingStarted
https://developers.cloudflare.com/radar/get-started/
📖
Documentation
https://developers.cloudflare.com/api/operations/user-user-details
📖
APIReference
https://developers.cloudflare.com/api/resources/user/
📖
Documentation
https://developers.cloudflare.com/api/operations/zones-get
📖
APIReference
https://developers.cloudflare.com/api/resources/zones/
📖
Documentation
https://developers.cloudflare.com/dns/
📖
APIReference
https://developers.cloudflare.com/api/resources/dns/
📖
Documentation
https://developers.cloudflare.com/workers/
📖
APIReference
https://developers.cloudflare.com/api/resources/workers/
📖
GettingStarted
https://developers.cloudflare.com/workers/get-started/
📖
Documentation
https://developers.cloudflare.com/workers-ai/
📖
GettingStarted
https://developers.cloudflare.com/workers-ai/get-started/rest-api/
📖
APIReference
https://developers.cloudflare.com/workers-ai/configuration/open-ai-compatibility/
📖
APIReference
https://developers.cloudflare.com/workers-ai/models/
📖
Documentation
https://developers.cloudflare.com/ai-gateway/
📖
APIReference
https://developers.cloudflare.com/ai-gateway/usage/providers/
📖
GettingStarted
https://developers.cloudflare.com/ai-gateway/get-started/
📖
Documentation
https://developers.cloudflare.com/r2/
📖
APIReference
https://developers.cloudflare.com/r2/api/s3/api/
📖
GettingStarted
https://developers.cloudflare.com/r2/get-started/
📖
Documentation
https://developers.cloudflare.com/d1/
📖
APIReference
https://developers.cloudflare.com/api/resources/d1/
📖
GettingStarted
https://developers.cloudflare.com/d1/get-started/
📖
Documentation
https://developers.cloudflare.com/kv/
📖
APIReference
https://developers.cloudflare.com/api/resources/kv/
📖
GettingStarted
https://developers.cloudflare.com/kv/get-started/
📖
Documentation
https://developers.cloudflare.com/queues/
📖
APIReference
https://developers.cloudflare.com/api/resources/queues/
📖
GettingStarted
https://developers.cloudflare.com/queues/get-started/
📖
Documentation
https://developers.cloudflare.com/durable-objects/
📖
GettingStarted
https://developers.cloudflare.com/durable-objects/get-started/
📖
APIReference
https://developers.cloudflare.com/durable-objects/api/
📖
Documentation
https://developers.cloudflare.com/vectorize/
📖
GettingStarted
https://developers.cloudflare.com/vectorize/get-started/intro/
📖
APIReference
https://developers.cloudflare.com/vectorize/reference/client-api/
📖
Documentation
https://developers.cloudflare.com/pages/
📖
APIReference
https://developers.cloudflare.com/pages/configuration/api/
📖
GettingStarted
https://developers.cloudflare.com/pages/get-started/
📖
Documentation
https://developers.cloudflare.com/stream/
📖
GettingStarted
https://developers.cloudflare.com/stream/get-started/
📖
APIReference
https://developers.cloudflare.com/api/resources/stream/
📖
Documentation
https://developers.cloudflare.com/images/
📖
GettingStarted
https://developers.cloudflare.com/images/get-started/
📖
APIReference
https://developers.cloudflare.com/api/resources/images/
📖
Documentation
https://developers.cloudflare.com/turnstile/
📖
GettingStarted
https://developers.cloudflare.com/turnstile/get-started/
📖
APIReference
https://developers.cloudflare.com/api/resources/turnstile/
📖
Documentation
https://developers.cloudflare.com/logs/
📖
APIReference
https://developers.cloudflare.com/api/resources/logpush/
📖
GettingStarted
https://developers.cloudflare.com/logs/get-started/
📖
Documentation
https://developers.cloudflare.com/hyperdrive/
📖
APIReference
https://developers.cloudflare.com/api/resources/hyperdrive/
📖
GettingStarted
https://developers.cloudflare.com/hyperdrive/get-started/

Specifications

Schemas & Data

Other Resources

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-namespaces-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

cloudflare-namespaces-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Cloudflare Namespaces API
  version: '1.0'
  description: 'Operations tagged Namespaces across 3 of this provider''s published API definitions: cloudflare-durable-objects-openapi.yml, cloudflare-kv-openapi.yml, cloudflare-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.cloudflare.com/client/v4
  description: Cloudflare API v4 Production Server
tags:


# --- truncated at 32 KB (44 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/cloudflare/refs/heads/main/openapi/cloudflare-namespaces-api-openapi.yml