Workers KV Namespace

List Namespaces

Changed on

Returns the namespaces owned by an account.

get/storage/kv/namespaces

Request

  • Base URL: /cdn-cgi/local/explorer/api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /cdn-cgi/local/explorer/api/storage/kv/namespaces
  • Auth: none declared

Query parameters

order'id' | 'title'

Field to order results by.

Example:id
direction'asc' | 'desc'

Direction to order namespaces.

Example:asc

Response

List Namespaces response.

successtrue required

Whether the API call was successful.

Example response

{
  "errors": [],
  "messages": [],
  "success": true,
  "result_info": {
    "count": 1
  },
  "result": [
    {
      "id": "0f2ac74b498b48028cb68387c421e279",
      "title": "My Own Namespace"
    }
  ]
}

Changes

    • ●

      deleted the query request parameter page

    • ●

      deleted the query request parameter per_page

    • ●

      removed the optional property ////// from the response with the status

    • ●

      removed the optional property ////// from the response with the status

    • ●

      removed the optional property ////// from the response with the status