Skip to main content

Data Studio

Each Durable Object can access private storage using Storage API available on ctx.storage. To view and write to an object's stored data, you can use Durable Objects Data Studio as a UI editor available on the Cloudflare dashboard.

Data Studio only supported for SQLite-backed objects

You can only use Data Studio to access data for SQLite-backed Durable Objects.

At the moment, you can only read/write data persisted using the SQL API. Key-value data persisted using the KV API will be made read-only in the future.

View Data Studio

You need at least Editor access to the Worker that implements the Durable Object to access Data Studio. Refer to Durable Objects roles and permissions for more information.

  1. In the Cloudflare dashboard, go to the Durable Objects page.

    dash.cloudflare.com

  2. Select an existing Durable Object namespace.

  3. Select the Data Studio button.

  4. Provide a Durable Object identifier, either a user-provided unique name or a Cloudflare-generated Durable Object ID.

  • Queries executed by Data Studio send requests to your remote, deployed objects and incur usage billing for requests, duration, rows read, and rows written. You should use Data Studio as you would handle your production, running objects.
  • In the Query tab when running all statements, each SQL statement is sent as a separate Durable Object request.

Audit logging

All queries issued by the Data Studio are logged with audit logging v1 for your security and compliance needs.

  • Each query emits two audit logs, a query executed action and a query completed action indicating query success or failure. query_id in the log event can be used to correlate the two events per query.