analytics
POST /api/v1/analytics/query
Changed onRequest
- Base URL/api/v1 (relative, and the document was published on a file host, not at the API’s origin)
- URL/api/v1/api/v1/analytics/query
- Authnone declared
Headers
X-RateLimit-Remaininginteger
Example:99
Number of requests remaining in the current time window
X-RateLimit-Limitinteger
Example:100
Maximum number of requests allowed per minute
Request body
Example request
{
"query": {
"match_all": {}
},
"size": 10,
"aggs": {
"components": {
"terms": {
"field": "component_id"
}
}
}
}Response
Query analytics data for the authenticated organization
Example response
{
"total": 100
}Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking