Aggregate records
POST https://data.jetadmin.io/projects/{{project_id}}/prod/{{resource_name}}/models/{{model_id}}/aggregate
Replace the double-brace placeholders with your identifiers. The interactive endpoint below uses standard OpenAPI path parameters.
Record fields, required values, filters, and operation support depend on the selected model. Use the generated API for your resource to check its exact schema.
Applies an aggregation function to filtered record data.
Static API token for the selected resource, passed directly in the Authorization header. Use the token and auth format shown by the resource API.
Project identifier. Replace {{project_id}} with your project identifier.
Connected resource API name. Replace {{resource_name}} with your resource name.
Collection/model API identifier. Replace {{model_id}} with your model identifier.
Required when func is Sum, Min, Max, or Avg.
Aggregated value.
Aggregated value. The API may serialize numeric values as strings.
Invalid request parameters or body.
Missing or invalid API token.
POST /projects/{project_id}/prod/{resource_name}/models/{model_id}/aggregate HTTP/1.1
Host: data.jetadmin.io
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 16
{
"func": "Count"
}{
"value": "28264"
}Was this helpful?