Get a conversation
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 'https://<KIBANA_URL>/api/security_ai_assistant/current_user/conversations/abc123' \
--header "Authorization: $API_KEY"
Response examples (200)
{
"id": "abc123",
"title": "Security Discussion",
"users": [
{
"id": "user1",
"name": "John Doe"
}
],
"category": "assistant",
"messages": [
{
"role": "system",
"content": "Hello, how can I assist you today?",
"timestamp": "2023-10-31T12:00:00Z"
}
],
"apiConfig": {
"connectorId": "12345",
"actionTypeId": "67890"
},
"createdAt": "2023-10-31T12:01:00Z",
"updatedAt": "2023-10-31T12:01:00Z",
"replacements": {},
"excludeFromLastConversationStorage": false
}