As part of the Serverless project, we need to make sure OpenAPI specs for all public AI Assistant API endpoints are correct. We want all the APIs documented before Serverless GA. Please look for more context in the epic.
During a Security Solution public API research we discovered that for some of the public AI Assistant API endpoints we already have OpenAPI specs. We just need to make sure they are correct. Please see below what needs to be done exactly.
API endpoints
The following public API endpoints were discovered during research, and have OpenAPI specs:
[ ] POST /api/elastic_assistant/anonymization_fields/_bulk_action
[ ] GET /api/elastic_assistant/anonymization_fields/_find
[ ] POST /api/elastic_assistant/prompts/_bulk_action
[ ] GET /api/elastic_assistant/prompts/_find
[ ] POST /api/elastic_assistant/prompts/_bulk_action
To do
Check if there are any other public endpoints that you own that have OpenAPI specs and add them to the list above.
Make sure your specs (including those above) are valid OpenAPI documents.
Make sure your specs (including those above) match the actual API contracts defined in the code.
Epic: https://github.com/elastic/security-team/issues/9528
Deadline: Jul 29, 2024 (see milestones in https://github.com/elastic/security-team/issues/9400)
Summary
As part of the Serverless project, we need to make sure OpenAPI specs for all public AI Assistant API endpoints are correct. We want all the APIs documented before Serverless GA. Please look for more context in the epic.
During a Security Solution public API research we discovered that for some of the public AI Assistant API endpoints we already have OpenAPI specs. We just need to make sure they are correct. Please see below what needs to be done exactly.
API endpoints
The following public API endpoints were discovered during research, and have OpenAPI specs:
POST /api/elastic_assistant/anonymization_fields/_bulk_action
GET /api/elastic_assistant/anonymization_fields/_find
POST /api/elastic_assistant/prompts/_bulk_action
GET /api/elastic_assistant/prompts/_find
POST /api/elastic_assistant/prompts/_bulk_action
To do