Get prompts
https://{kibana_url}
- GET /api/security_ai_assistant/prompts/_find
- GET /s/{space_id}/api/security_ai_assistant/prompts/_find
Refer to Spaces for more information.
Get a list of all prompts based on optional filters, sorting, and pagination.
Responses
Successful response containing a list of prompts.
-
dataobjectrequired -
The list of prompts returned based on the search query, sorting, and pagination.
-
categoriesstring -
Categories associated with the prompt.
-
colorstring -
The color associated with the prompt.
-
consumerstring -
The consumer that the prompt is associated with.
-
contentstringrequired -
The content of the prompt.
-
createdAtstring -
The timestamp of when the prompt was created.
-
createdBystring -
The user who created the prompt.
-
idstring · min: 1required -
A string that does not contain only whitespace characters.
-
isDefaultboolean -
Whether this prompt is the default.
-
isNewConversationDefaultboolean -
Whether this prompt is the default for new conversations.
-
namestringrequired -
The name of the prompt.
-
namespacestring -
Kibana space where the prompt is located.
-
timestampstring · min: 1 -
A string that represents a timestamp in ISO 8601 format and does not contain only whitespace characters.
-
updatedAtstring -
The timestamp of when the prompt was last updated.
-
updatedBystring -
The user who last updated the prompt.
-
pageintegerrequired -
Current page number.
-
perPageintegerrequired -
Number of prompts per page.
-
totalintegerrequired -
Total number of prompts matching the query.
Bad request due to invalid parameters or malformed query.
-
errorstring -
Short error message.
-
messagestring -
Detailed description of the error.
-
statusCodenumber -
HTTP status code for the error.