Logs
For authentication instructions, see API overview.
Endpoints
post
Create search
Create search. You need to pass through any required fields, and you can optionally pass through other fields.
Path parameters
index_namestringName of the index
Query parameters
sizeintegerNumber of results to return
fromintegerNumber of results to return
Request body
queryobject
Request
cURL
export ICLOUDREADY_API_KEY=[your api key]curl -X POST -H 'Content-Type: application/json' \ -H "Authorization: Bearer $ICLOUDREADY_API_KEY" \ https://api.icloud-ready.com/api/v2/logs/elastic-search/:index_name \ -d 'query="object"'