Durable Objects Namespace

Query Durable Object SQLite

Changed on

Execute SQL queries against a Durable Object's SQLite storage.

post/workers/durable_objects/namespaces/{namespace_id}/query

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/workers/durable_objects/namespaces/{namespace_id}/query
  • Auth: none declared

Path parameters

namespace_idstring required

ID of the namespace.

Example:5fd1cafff895419c8bcc647fc64ab8f0

Request body

OR

Response

Query response.

successtrue required

Whether the API call was successful.

Example response

{
  "errors": [],
  "messages": [],
  "success": true
}

Changes