Skip to content
Start here

Durable Objects

Durable ObjectsNamespaces

List Namespaces
GET/accounts/{account_id}/workers/durable_objects/namespaces
ModelsExpand Collapse
Namespace = object { id, class, name, 2 more }
id: optional string
class: optional string
name: optional string
script: optional string
use_sqlite: optional boolean

Durable ObjectsNamespacesObjects

List Objects
GET/accounts/{account_id}/workers/durable_objects/namespaces/{id}/objects
ModelsExpand Collapse
DurableObject = object { id, hasStoredData }
id: optional string

ID of the Durable Object.

hasStoredData: optional boolean

Whether the Durable Object has stored data.