Skip to content
Start here

Durable Objects

Durable ObjectsNamespaces

List Namespaces
client.DurableObjects.Namespaces.List(ctx, params) (*V4PagePaginationArray[Namespace], error)
GET/accounts/{account_id}/workers/durable_objects/namespaces
ModelsExpand Collapse
type Namespace struct{…}
ID stringoptional
Class stringoptional
Name stringoptional
Script stringoptional
UseSqlite booloptional

Durable ObjectsNamespacesObjects

List Objects
client.DurableObjects.Namespaces.Objects.List(ctx, id, params) (*CursorPaginationAfter[DurableObject], error)
GET/accounts/{account_id}/workers/durable_objects/namespaces/{id}/objects
ModelsExpand Collapse
type DurableObject struct{…}
ID stringoptional

ID of the Durable Object.

HasStoredData booloptional

Whether the Durable Object has stored data.