Skip to main content
GET
/
chat
/
search
Search chats
curl --request GET \
  --url https://www.dench.com/api/v1/chat/search \
  --header 'Authorization: Bearer <token>'
{
  "error": {
    "message": "<string>",
    "type": "<string>",
    "code": "<string>",
    "details": "<unknown>"
  }
}

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