Retrieval

Retrieval Aggregate

Sums/averages/counts/group-bys over the tenant's document index.

Deterministic DSL compiled server-side against whitelisted columns. When money metrics are requested without a currency filter/grouping, the server groups by currency automatically (mixed-currency sums are wrong by construction) and flags it in meta.currencyGroupingAdded. Same dual auth as /query (API key, or Bearer token with enforced end-user scope).

post/api/v1/retrieval/aggregate

Request

  • Base URL: https://api.gemina.co (the document declares no server; this is the origin it was published from)
  • URL: https://api.gemina.co/api/v1/retrieval/aggregate
  • Auth: one of:
    • API key in header X-API-Key
    • OAuth 2 (password, token URL token)

Request body

groupBystring[]
limitinteger

Response

Successful Response

servedAtstring date-time
servedAtTimestampnumber
createdAtstring date-time nullable
createdAtTimestampnumber nullable

Changes

No recorded changes to this operation across all 1 revision of this API.