Returns all threads for the current organization, ordered by last message time.
WorkOS JWT token. Obtain via WorkOS AuthKit authentication flow. The token must include organization_id claim for organization-scoped endpoints.
OK
Thread ID (matches the ThreadAgent Durable Object name).
WorkOS organization ID that owns the thread.
Internal end user ID associated with the thread.
Optional thread title.
Thread status (regular, archived, or deleted).
regular, archived, deleted Total number of messages in the thread.
-9007199254740991 <= x <= 9007199254740991Total token usage accumulated for the thread.
-9007199254740991 <= x <= 9007199254740991Timestamp when the thread was created.
Timestamp of the most recent message in the thread.
Timestamp when the thread was resolved or closed, if applicable.
Timestamp when the thread record was last updated.