Flito docs
Object

Aggregate records

POST
/api/cap/object.aggregate

Group-by + metric rollups over any object (company, contact, deal, quote, invoice, product, etc.). Supports count, sum, avg, min, max over numeric fields, an optional grid filter, free-text search, and groupBy on one or more fields. Use it to answer "how many / total / average X by Y" — e.g. deals per stage, total quote value by company, contacts by management level.

Required scopes: none. Read only.

Authorization

bearerAuth
headerAuthorizationBearer <token>

An API key (flito_pat_…) from Settings, API & AI connections.

Request Body

application/json
  1. body
input*

Response Body

The capability ran.

application/json
  1. response
result*unknown

The capability’s output.

commitId?|

The config commit, for versioned records.

eventId?string|null
idempotentReplay?boolean

True when this answer is a replay of an earlier call.

Example Request
curl -X POST 'https://crm.yourcompany.com/api/cap/object.aggregate' \  -H 'Content-Type: application/json' \  -d '{  "input": {    "object": "string"  }}'
Example Response
{  "result": null,  "commitId": "string",  "eventId": "string",  "idempotentReplay": true}

Was this page useful?