Summaries

Compute a summary run for a period

POST
/summaries/{definition_id}/runs

Compute a summary for a period (period_end exclusive, at most 5 years). Every call stores a new immutable run with the values per bucket and line, the evidence and a content hash.

Authorization

bearerApiKey
AuthorizationBearer <token>

Create a scoped API key in the Adlass settings.

In: header

Path Parameters

definition_id*string

Resource identifier: definition_id.

Formatuuid

Header Parameters

X-Request-Id?string

Optional correlation identifier.

Lengthlength <= 128
Idempotency-Key?string

A unique key for this intended write; the body field idempotency_key is accepted instead. One of the two is required. Reuse it only for an identical retry.

Length1 <= length <= 200

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X POST "https://example.com/summaries/123e4567-e89b-42d3-a456-426614174000/runs" \  -H "Idempotency-Key: 123e4567-e89b-42d3-a456-426614174000" \  -H "Content-Type: application/json" \  -d '{    "period_start": "2026-09-04",    "period_end": "2026-09-04"  }'
{  "id": "123e4567-e89b-42d3-a456-426614174000",  "definition_id": "123e4567-e89b-42d3-a456-426614174000",  "space_id": "123e4567-e89b-42d3-a456-426614174000",  "period_start": "2026-09-04",  "period_end": "2026-09-04",  "bucket": "example",  "config_hash": "example",  "schema_version": 0,  "engine_version": 0,  "rows_included": 0,  "data_through": "2026-09-04T12:00:00Z",  "snapshot_xmin": "example",  "content_hash": "3f786850e387550fdab836ed7e6dc881de23001b",  "status": "computed",  "confirmed_at": "2026-09-04T12:00:00Z",  "confirmed_by": {},  "created_at": "2026-09-04T12:00:00Z",  "created_by": {},  "config": {},  "lines": [    {      "key": "summary",      "label": "Customer documents",      "results": []    }  ],  "evidence": {}}