Contracts summary

Endpoint

POST /v1/contracts/summary

Full URL: https://dsilo-apim-stage-01.azure-api.net/dsilo/v1/contracts/summary

What it returns

Allowlisted contract summary fields for your tenant. Scope is controlled by your API client roles and roles_datapoints_config — clients cannot request arbitrary fields.

Filters

contractWorkspaceID — optional workspace scope

createdFrom / createdTo — YYYY-MM-DD; From ≤ To; max 1 month

updatedFrom / updatedTo — same date rules

orderBy — sortable field name

order — asc or desc

Filter names are case-sensitive. Body values win over query when both are set.

Pagination (JSON only)

page — default 1

pageSize — default 25 (respect API maxima)

Do not send page or pageSize with Parquet Accept — the API returns 400.

JSON response

data — contract records

pagination — page, pageSize, totalRecords, totalPages, hasNext

meta.requestId / meta.generatedAt / optional meta.warning

Parquet

Accept: application/vnd.apache.parquet returns a single Parquet file with the same logical schema as JSON data. Size limits apply; widen filters if you receive 413.

Example shape (placeholders)

curl -X POST "https://dsilo-apim-stage-01.azure-api.net/dsilo/v1/contracts/summary" -H "Authorization: Bearer <ACCESS-TOKEN>" -H "Ocp-Apim-Subscription-Key: <SUBSCRIPTION-KEY>" -H "x-api-key: <API-Key>" -H "Accept: application/json" -H "Content-Type: application/json" -d "{\"createdFrom\":\"2026-01-01\",\"createdTo\":\"2026-01-31\",\"page\":1,\"pageSize\":25}"