Spaces method and path for this operation:
get /s/{space_id}/api/security_ai_assistant/current_user/conversations/{id}
Refer to Spaces for more information.
Get the details of an existing conversation using the conversation ID. This allows users to fetch the specific conversation data by its unique ID.
GET
/api/security_ai_assistant/current_user/conversations/{id}
curl \
--request GET 'http://localhost:5601/api/security_ai_assistant/current_user/conversations/abc123' \
--header "Authorization: $API_KEY"
Response examples (200)
{
"apiConfig": {
"actionTypeId": "67890",
"connectorId": "12345"
},
"category": "assistant",
"createdAt": "2023-10-31T12:01:00Z",
"createdBy": {
"id": "user1",
"name": "John Doe"
},
"excludeFromLastConversationStorage": false,
"id": "abc123",
"messages": [
{
"content": "Hello, how can I assist you today?",
"role": "system",
"timestamp": "2023-10-31T12:00:00Z"
}
],
"namespace": "default",
"replacements": {},
"title": "Security Discussion",
"updatedAt": "2023-10-31T12:01:00Z",
"users": [
{
"id": "user1",
"name": "John Doe"
}
]
}
Response examples (400)
{
"error": "Bad Request",
"message": "Invalid conversation ID",
"statusCode": 400
}