Search
Performs a search on a specific index using Elasticsearch’s Query DSL.
Search documents within a specific Elasticsearch index for an agent using a raw Elasticsearch query. The query will be automatically filtered by agentId for data isolation.
Authorizations
AuthorizationstringRequired
Bearer {apikey}
Path parameters
agentIdstringRequired
The ID of the agent.
indexNamestringRequired
The name of the Elasticsearch index to search in.
Body
sizeinteger · max: 10000OptionalDefault:
Number of results to return
10fromintegerOptionalDefault:
Number of results to skip for pagination
0Other propertiesanyOptional
Responses
200
Successful Response
application/json
400
Bad Request
application/json
403
Forbidden
application/json
404
Not Found
application/json
500
Internal Server Error
application/json
post
/v1/agents/{agentId}/search/{indexName}Last updated