This documentation contains work-in-progress information for future Elastic Stack and Cloud releases. Use the version selector to view supported release docs. It also contains some Elastic Cloud serverless information. Check out our serverless docs for more details.
Get conversation
editGet conversation
editRetrieve an existing Elastic AI Assistant conversation by conversation ID.
Request URL
editGET <kibana host>:<port>/api/security_ai_assistant/current_user/conversations/{id}
Example requests
editExample 1
Retrieves an Elastic AI Assistant conversation with an id
value of a696901d-efff-4871-acbe-8123af841932
:
GET api/security_ai_assistant/current_user/conversations/a696901d-efff-4871-acbe-8123af841932
Response code
edit200
Indicates a successful call.
Response payload
editA JSON conversation object with a unique id
.
Example 1
Conversation response payload:
{ "timestamp": "2024-08-02T07:19:08.124Z", "createdAt": "2024-08-02T07:19:08.124Z", "users": [ { "id": "u_mGBROF_q5bmFCATbLXAcCwKa0k8JvONAwSruelyKA5E_0", "name": "elastic" } ], "title": "Welcome", "category": "assistant", "apiConfig": { "connectorId": "my-gpt4o-ai", "actionTypeId": ".gen-ai" }, "isDefault": true, "messages": [], "updatedAt": "2024-08-02T07:19:08.124Z", "replacements": {}, "namespace": "default", "id": "a696901d-efff-4871-acbe-8123af841932" }