POST
/v1/private/traces/threads/retrieveGet trace threadGet trace thread
Request body
application/json
objectTraceThreadIdentifier
project_idstring · uuidproject_namestringthread_idstringrequiredtruncateboolean{
"project_id": "00000000-0000-0000-0000-000000000000",
"project_name": "string",
"thread_id": "string",
"truncate": true
}Responses
objectTraceThread
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_costnumberusageobject{
"comments": [
{
"created_at": "2026-06-09T00:00:00Z",
"created_by": "string",
"id": "00000000-0000-0000-0000-000000000000",
"last_updated_at": "2026-06-09T00:00:00Z",
"last_updated_by": "string",
"source_queue_id": "00000000-0000-0000-0000-000000000000",
"text": "string"
}
],
"created_at": "2026-06-09T00:00:00Z",
"created_by": "string",
"duration": 0,
"end_time": "2026-06-09T00:00:00Z",
"environment": "string",
"feedback_scores": [
{
"category_name": "string",
"created_at": "2026-06-09T00:00:00Z",
"created_by": "string",
"last_updated_at": "2026-06-09T00:00:00Z",
"last_updated_by": "string",
"name": "string",
"reason": "string",
"source": "online_scoring",
"source_queue_id": "00000000-0000-0000-0000-000000000000",
"value": 0,
"value_by_author": {
"additionalProp1": {
"author": "string",
"category_name": "string",
"last_updated_at": "2026-06-09T00:00:00Z",
"reason": "string",
"source": "online_scoring",
"source_queue_id": "string",
"span_id": "string",
"span_type": "string",
"value": 0
}
}
}
],
"first_message": [
{}
],
"id": "string",
"last_message": [
{}
],
"last_updated_at": "2026-06-09T00:00:00Z",
"last_updated_by": "string",
"number_of_messages": 0,
"project_id": "00000000-0000-0000-0000-000000000000",
"start_time": "2026-06-09T00:00:00Z",
"status": "active",
"tags": [
"string"
],
"thread_model_id": "00000000-0000-0000-0000-000000000000",
"total_estimated_cost": 0,
"usage": {
"additionalProp1": 0
}
}objectErrorMessage
codeinteger · int32detailsstringmessagestring{
"code": 0,
"details": "string",
"message": "string"
}