Skip to main content
POST
/
core.v1.LogsService
/
GetGroupByAggregation
cURL
curl -X POST "https://api.joinformal.com/core.v1.LogsService/GetGroupByAggregation" \
  -H "X-API-KEY: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "example": "value"
  }'
{
  "buckets": [
    {
      "key": "<string>",
      "docCount": 123,
      "buckets": "<array>"
    }
  ]
}

Authorizations

X-API-KEY
string
header
required

API key authentication. Get your API key from the Formal console.

Body

application/json
query
string
startTimestamp
string
Minimum string length: 1
endTimestamp
string
Minimum string length: 1
groupByFields
string[]
Required array length: 1 - 5 elements

Response

Success

buckets
Bucket · object[]