For AI agents: a documentation index is available at the root level at /llms.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Data collection filters. Repeat param. Format: id:op:value where op is one of eq|neq|gt|gte|lt|lte|in|exists|missing. For in, pipe-delimit values.
dynamic_variable_paramsstringOptional
Dynamic variable filters. Repeat param. Format: name:op:value where op is one of eq|gt|gte|lt|lte. Comparison operators require a numeric value. Names containing ’:’ cannot be expressed.
tool_namesstringOptional
Filter conversations by tool names used during the call.
tool_names_successfulstringOptional
Filter conversations by tool names that had successful calls.
tool_names_erroredstringOptional
Filter conversations by tool names that had errored calls.
include_invalid_tool_callsbooleanOptionalDefaults to false
Also match tool calls that never ran.
main_languagesstringOptional
Filter conversations by detected main language (language code).
exclude_statusesenumOptional
Exclude conversations with the given statuses. Useful for hiding in-progress / processing conversations from list views.
Allowed values:
termination_reasonsstringOptional
Filter conversations by their stored termination_reason (metadata.termination_reason). Repeat param to match any of several.
page_sizeintegerOptional1-50Defaults to 20
Number of results per page. Max 50.
summary_modeenumOptionalDefaults to exclude
Whether to include transcript summaries in the response.
Allowed values:
conversation_initiation_sourceenumOptionalDefaults to unknown
Enum representing the possible sources for conversation initiation.
text_onlybooleanOptional
conversation_product_typeenumOptional
Restrict results to a single conversation product surface.
Allowed values:
branch_idstringOptional
Filter conversations by branch ID.
version_idstringOptional
Filter conversations by version ID.
topic_idsstringOptional
Filter conversations by topic IDs assigned during topic discovery.
sort_byenumOptional
Sort order for search results. ‘search_score’ sorts by search score, ‘created_at’ sorts by conversation start time.
Allowed values:
cursorstringOptional
Used for fetching next page. Cursor is returned in the response.
Response
Successful Response
resultslist of objects
has_moreboolean
Whether there are more results available
metaobjectOptional
next_cursorstringOptional
Cursor for the next page of results
Errors
422
Messages Text Search Request Unprocessable Entity Error