POST
/v1/private/traces/threads/searchSearch trace threadsSearch trace threads
Request body
application/json
objectTraceThreadSearchStreamRequest
filtersarray of objectShow child attributes
Show array items
fieldstringkeystringoperatorstringvaluestringfrom_timestring · date-timeFilter trace threads created from this time (ISO-8601 format).
last_retrieved_thread_model_idstring · uuidlimitinteger · int32Max number of trace thread to be streamed
project_idstring · uuidproject_namestringstrip_attachmentsbooleanIf true, returns attachment references like [file.png]; if false, downloads and reinjects stripped attachments
to_timestring · date-timeFilter trace threads created up to this time (ISO-8601 format). If not provided, defaults to current time. Must be after 'from_time'.
truncatebooleanTruncate input, output and metadata to slim payloads
{
"filters": [
{
"field": "string",
"key": "string",
"operator": "!=",
"value": "string"
}
],
"from_time": "2026-06-09T00:00:00Z",
"last_retrieved_thread_model_id": "00000000-0000-0000-0000-000000000000",
"limit": 500,
"project_id": "00000000-0000-0000-0000-000000000000",
"project_name": "string",
"strip_attachments": false,
"to_time": "2026-06-09T00:00:00Z",
"truncate": true
}Responses
array of string
Show array items
anyOf · 2 options
Option 1objectTraceThread
commentsarray of objectShow child attributes
Show array items
created_atstring · date-timecreated_bystringidstring · uuidlast_updated_atstring · date-timelast_updated_bystringsource_queue_idstring · uuidtextstringrequiredcreated_atstring · date-timecreated_bystringdurationnumber · doubleend_timestring · date-timeenvironmentstringfeedback_scoresarray of objectShow child attributes
Show array items
category_namestringcreated_atstring · date-timecreated_bystringlast_updated_atstring · date-timelast_updated_bystringnamestringrequiredreasonstringsourcestringrequiredsource_queue_idstring · uuidvaluenumberrequiredvalue_by_authorobjectfirst_messageobjectShow child attributes
anyOf · 3 options
Option 1object
Option 2array of object
Option 3string
idstringlast_updated_atstring · date-timelast_updated_bystringnumber_of_messagesinteger · int64project_idstring · uuidstart_timestring · date-timestatusstringtagsarray of stringShow child attributes
thread_model_idstring · uuidtotal_estimated_costnumberusageobjectOption 2objectErrorMessage
codeinteger · int32detailsstringmessagestring[
{
"code": 0,
"details": "string",
"message": "string"
}
]objectErrorMessage
codeinteger · int32detailsstringmessagestring{
"code": 0,
"details": "string",
"message": "string"
}