---
title: Durable Objects
---

[Skip to content](#_top)

[API Reference](https://developers.cloudflare.com/api/typescript)

Copy Markdown

Open in **Claude**Open in **ChatGPT**Open in **Cursor**

---

**Copy Markdown****View as Markdown**

# Durable Objects

#### Durable ObjectsNamespaces

##### [List Durable Object Namespaces](https://developers.cloudflare.com/api/typescript/resources/durable_objects/subresources/namespaces/methods/list)

client.durableObjects.namespaces.list(NamespaceListParams {account\_id, page, per\_page } params, RequestOptionsoptions?): V4PagePaginationArray< [Namespace](<https://developers.cloudflare.com/api/typescript/resources/durable_objects#(resource)%20durable_objects.namespaces%20%3E%20(model)%20namespace%20%3E%20(schema)>) {id, class, name, 2 more } >

GET/accounts/{account\_id}/workers/durable\_objects/namespaces

##### ModelsExpand Collapse

<details>

<summary>

Namespace {id, class, name, 2 more }

</summary>

id?: string

<a href="#(resource)%20durable_objects.namespaces%20%3E%20(model)%20namespace%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

class?: string

<a href="#(resource)%20durable_objects.namespaces%20%3E%20(model)%20namespace%20%3E%20(schema)%20%3E%20(property)%20class">Link to this property</a>

name?: string

<a href="#(resource)%20durable_objects.namespaces%20%3E%20(model)%20namespace%20%3E%20(schema)%20%3E%20(property)%20name">Link to this property</a>

script?: string

<a href="#(resource)%20durable_objects.namespaces%20%3E%20(model)%20namespace%20%3E%20(schema)%20%3E%20(property)%20script">Link to this property</a>

use\_sqlite?: boolean

<a href="#(resource)%20durable_objects.namespaces%20%3E%20(model)%20namespace%20%3E%20(schema)%20%3E%20(property)%20use_sqlite">Link to this property</a>

</details>

[Link to this property](<#(resource)%20durable_objects.namespaces%20%3E%20(model)%20namespace%20%3E%20(schema)>)

#### Durable ObjectsNamespacesObjects

##### [List Objects in a Durable Object namespace](https://developers.cloudflare.com/api/typescript/resources/durable_objects/subresources/namespaces/subresources/objects/methods/list)

client.durableObjects.namespaces.objects.list(stringid, ObjectListParams {account\_id, cursor, limit } params, RequestOptionsoptions?): CursorPaginationAfter< [DurableObject](<https://developers.cloudflare.com/api/typescript/resources/durable_objects#(resource)%20durable_objects.namespaces.objects%20%3E%20(model)%20durable_object%20%3E%20(schema)>) {id, hasStoredData } >

GET/accounts/{account\_id}/workers/durable\_objects/namespaces/{id}/objects

##### ModelsExpand Collapse

<details>

<summary>

DurableObject {id, hasStoredData }

</summary>

id?: string

ID of the Durable Object.

<a href="#(resource)%20durable_objects.namespaces.objects%20%3E%20(model)%20durable_object%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

hasStoredData?: boolean

Whether the Durable Object has stored data.

<a href="#(resource)%20durable_objects.namespaces.objects%20%3E%20(model)%20durable_object%20%3E%20(schema)%20%3E%20(property)%20hasStoredData">Link to this property</a>

</details>

[Link to this property](<#(resource)%20durable_objects.namespaces.objects%20%3E%20(model)%20durable_object%20%3E%20(schema)>)