Skip to main content
GET
Search chats

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

query
string
required

Full-text query across past messages.

limit
integer
Required range: 1 <= x <= 50
excludeThreadId
string
includeAutomated
boolean

Response

Successful response

threadId
string
required
threadTitle
string
required
messageId
string
required
role
enum<string>
required
Available options:
user,
assistant,
system
snippet
string
required
createdAt
number
required
runId
string | null
required