Get conversations
- Base URL
-
https://{kibana_url}
- GET /api/security_ai_assistant/current_user/conversations/_find
- GET /s/{space_id}/api/security_ai_assistant/current_user/conversations/_find
Refer to Spaces for more information.
Get a list of all conversations for the current user. This endpoint allows users to search, filter, sort, and paginate through their conversations.
Query parameters
-
fieldsstring -
A list of fields to include in the response. If omitted, all fields are returned.
-
Example:
["id","title","createdAt"] -
filterstring -
A search query to filter the conversations. Can match against titles, messages, or other conversation attributes.
-
Example:
Security Issue -
sort_field -
The field by which to sort the results. Valid fields are
created_at,title, andupdated_at. -
Values:
created_attitleupdated_at -
sort_order -
The order in which to sort the results. Can be either
ascfor ascending ordescfor descending. -
Values:
ascdesc
Responses
Successful response, returns a paginated list of conversations matching the specified criteria.
-
dataobjectrequired -
A list of conversations.
-
idstring · format: nonempty · min length: 1required -
A string that does not contain only whitespace characters.
-
messagesobject -
The conversation messages.