Skip to navigation

List agent threads

Returns Assistant chats and agent conversations, newest creation time first

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Query parameters

pageintegerOptional
Page number
per_pageintegerOptional
Items per page
business_idstringOptional
Optional business ID filter
agentstringOptional

Filter thread metadata agent; prefix with ! to exclude, such as explorer for chats or !explorer for agent conversations

agent[]stringOptional

Return threads for any of the agents you list. For example, agent[]=explorer&agent[]=name_verification matches threads for either agent. Threads without a recorded agent are excluded.

Use either agent[] or agent per request. To exclude an agent, use agent with a value like !explorer.

status[]enumOptional

Match any selected agent-run status. Needs review includes interrupted threads or runs and pending applications, and takes precedence.

Allowed values:

Response

agent threads list
datalist of objects
objectstring
has_moreboolean
total_countintegerOptional