Get Thread
Get a complete thread with messages.
curl -X GET "http://127.0.0.1:14242/threads/string"{
"thread": {
"id": "string",
"node_type": "Thread",
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z",
"metadata": {},
"thread_id": "string",
"title": "string",
"summary": "string",
"message_count": 0,
"participants": [
"string"
],
"source": "string",
"project": "string",
"workspace": "string",
"tool_version": "string",
"import_date": "2019-08-24T14:15:22Z"
},
"messages": [
{
"id": "string",
"node_type": "Thread",
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z",
"metadata": {},
"content": "string",
"role": "string",
"order_index": 0,
"timestamp": "2019-08-24T14:15:22Z",
"token_count": 0
}
],
"related_memories": [
{
"id": "string",
"node_type": "Thread",
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z",
"metadata": {},
"content": "string",
"title": "string",
"importance": 0.5,
"confidence": 0.5,
"embedding": [
0
],
"source_range": {
"property1": 0,
"property2": 0
},
"source": "string",
"semantic_field": "string",
"reindex_needed": false,
"last_reindexed_at": "2019-08-24T14:15:22Z"
}
],
"entities": [
"string"
],
"total_messages": 0,
"total_tokens": 0,
"covered_message_ids": [
"string"
]
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}