Skip to main content
GET
List threads

Authorizations

Authorization
string
header
required

Workspace-scoped Dench API key from workspace settings. This is the same key used by DENCH_API_KEY in sandboxes.

Query Parameters

titleQuery
string
limit
integer
Required range: 1 <= x <= 100
includeArchived
boolean
includeAutomated
boolean

Response

Successful response

threadId
string
required
title
string
required
lastMessageAt
number
required
createdAt
number
required
status
enum<string>
required
Available options:
idle,
streaming,
error
visibility
enum<string>
required
Available options:
private,
shared
createdByUserId
string
required
archivedAt
number | null
required
fileContextPath
string | null
required
parentThreadId
string | null
required

Parent thread when this is a spawned sub-agent.

nestingDepth
number | null
required
summary
string | null
required
activeRunId
string | null
required