curl --request GET \
--url https://api.example.com/chats/{chat_id} \
--header 'Authorization: Bearer <token>'{
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"team_id": "<string>",
"project": {
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"name": "<string>",
"slug": "<string>",
"team_id": "<string>",
"created_by_user_id": "<string>",
"is_default": true,
"description": "<string>",
"tags": [
"<string>"
],
"github_repo_id": "<string>"
},
"user": {
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"username": "<string>"
},
"total_messages": 123,
"code_mapping_id": "<string>",
"chat_type": "code",
"code_mapping": {
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"project_id": "<string>",
"project_slug": "<string>",
"user": "<string>",
"version": "<string>",
"name": "<string>",
"parent_id": "<string>"
},
"analysis_node_id": "<string>",
"analysis_node": {
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"user": "<string>",
"team_id": "<string>",
"team_slug": "<string>",
"project_id": "<string>",
"project_slug": "<string>",
"is_owner": true,
"trigger": "<string>",
"n_findings": 123,
"n_scopes": 123,
"code_version_id": "<string>",
"is_leaf": true,
"is_public": true,
"root_node_id": "<string>",
"parent_node_id": "<string>",
"children": [
"<string>"
]
}
}retrieve a specific chat thread
curl --request GET \
--url https://api.example.com/chats/{chat_id} \
--header 'Authorization: Bearer <token>'{
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"team_id": "<string>",
"project": {
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"name": "<string>",
"slug": "<string>",
"team_id": "<string>",
"created_by_user_id": "<string>",
"is_default": true,
"description": "<string>",
"tags": [
"<string>"
],
"github_repo_id": "<string>"
},
"user": {
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"username": "<string>"
},
"total_messages": 123,
"code_mapping_id": "<string>",
"chat_type": "code",
"code_mapping": {
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"project_id": "<string>",
"project_slug": "<string>",
"user": "<string>",
"version": "<string>",
"name": "<string>",
"parent_id": "<string>"
},
"analysis_node_id": "<string>",
"analysis_node": {
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"user": "<string>",
"team_id": "<string>",
"team_slug": "<string>",
"project_id": "<string>",
"project_slug": "<string>",
"is_owner": true,
"trigger": "<string>",
"n_findings": 123,
"n_scopes": 123,
"code_version_id": "<string>",
"is_leaf": true,
"is_public": true,
"root_node_id": "<string>",
"parent_node_id": "<string>",
"children": [
"<string>"
]
}
}API key in Bearer token format
Successful Response
Show child attributes
Show child attributes
code, analysis Show child attributes
Show child attributes