Statistical Measure Types
Returns the built-in derived measure types first (source=derived, each with a resolver_key), followed by the org’s manual types (source=manual). The cursor meta paginates the manual rows only.
Required scope: statistics:read
Pagination: cursor
Error codes: INVALID_CURSOR, VALIDATION_FAILED
access-tokenAuthorizationBearer <token>include_inactive?booleanInclude deactivated (soft-deleted) manual measure types.
falsecursor?stringlimit?number1..100, default 50
sort?stringDefault: name
"name""-name"application/json- response
data*array<>meta*curl -X GET 'https://api.acreum.io/v1/statistical-measure-types'{ "data": [ { "basis": "flow", "dimension": "property", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "is_active": true, "key": "string", "name": "string", "resolver_key": "string", "source": "derived", "unit_label": "string" } ], "meta": { "api_version": "2026-04-23", "limit": 50, "next_cursor": "eyJpZCI6ICJhYmMifQ==", "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f" }}Required scope: statistics:write
Error codes: VALIDATION_FAILED, CONFLICT, IDEMPOTENCY_KEY_REQUIRED, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT
access-tokenAuthorizationBearer <token>Idempotency-Key*stringClient-chosen key that makes this mutation safe to retry. Required — a request without one is rejected with IDEMPOTENCY_KEY_REQUIRED. Reusing a key with the same body replays the original response for ~24 hours; reusing it with a different body returns IDEMPOTENCY_CONFLICT.
^[A-Za-z0-9_-]{1,255}$length <= 255application/json- body
basis*string'flow' — a per-period quantity (summed over a window); 'balance' — a point-in-time quantity (latest as-of value).
"flow""balance"dimension*stringThe dimension each entry of this type is recorded against.
"property""space""legal_entity""org"key*stringStable machine key, unique per org. Lowercase alphanumerics and underscores only. Must not collide with a built-in derived measure key.
length <= 64name*stringlength <= 128unit_label*stringlength <= 32application/json- response
data*meta*curl -X POST 'https://api.acreum.io/v1/statistical-measure-types' \ -H 'Idempotency-Key: string' \ -H 'Content-Type: application/json' \ -d '{ "basis": "flow", "dimension": "property", "key": "foot_traffic", "name": "Monthly foot traffic", "unit_label": "visits"}'{ "data": { "basis": "flow", "dimension": "property", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "is_active": true, "key": "string", "name": "string", "resolver_key": "string", "source": "derived", "unit_label": "string" }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}Required scope: statistics:read
Error codes: NOT_FOUND
access-tokenAuthorizationBearer <token>id*stringapplication/json- response
data*meta*curl -X GET 'https://api.acreum.io/v1/statistical-measure-types/string'{ "data": { "basis": "flow", "dimension": "property", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "is_active": true, "key": "string", "name": "string", "resolver_key": "string", "source": "derived", "unit_label": "string" }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}Required scope: statistics:write
Error codes: VALIDATION_FAILED, NOT_FOUND, CONFLICT, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT
access-tokenAuthorizationBearer <token>id*stringIdempotency-Key?stringClient-chosen key that makes this mutation safe to retry. Optional — a request without one is processed normally, with no replay protection. Reusing a key with the same body replays the original response for ~24 hours; reusing it with a different body returns IDEMPOTENCY_CONFLICT.
^[A-Za-z0-9_-]{1,255}$length <= 255application/json- body
basis?string"flow""balance"dimension?string"property""space""legal_entity""org"is_active?booleanname?stringlength <= 128unit_label?stringlength <= 32application/json- response
data*meta*curl -X PATCH 'https://api.acreum.io/v1/statistical-measure-types/string' \ -H 'Content-Type: application/json' \ -d '{}'{ "data": { "basis": "flow", "dimension": "property", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "is_active": true, "key": "string", "name": "string", "resolver_key": "string", "source": "derived", "unit_label": "string" }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}Required scope: statistics:write
Error codes: NOT_FOUND, CONFLICT, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT
access-tokenAuthorizationBearer <token>id*stringIdempotency-Key?stringClient-chosen key that makes this mutation safe to retry. Optional — a request without one is processed normally, with no replay protection. Reusing a key with the same body replays the original response for ~24 hours; reusing it with a different body returns IDEMPOTENCY_CONFLICT.
^[A-Za-z0-9_-]{1,255}$length <= 255Possible error codes: INVALID_IDEMPOTENCY_KEY
application/json- response
code*stringdetail*stringerrors?array<>instance*stringnext_action?stringWhat the caller does next. Sent only by codes that declare it (the PLAN_* codes).
"fix_step""re_preview""retry_later""split_plan""use_plan_mode""release_first""contact_operator"request_id*stringretryable?booleanWhether the same request can succeed unchanged later. Sent only by codes that declare it (the PLAN_* codes).
status*numbertitle*stringtype*stringcurl -X DELETE 'https://api.acreum.io/v1/statistical-measure-types/string'{ "code": "DOCUMENT_ALREADY_POSTED", "detail": "Document doc_01 is already posted.", "errors": [ { "code": "INVALID_VALUE", "field": "amount", "message": "must be > 0" } ], "instance": "/v1/documents/doc_01/post", "next_action": "fix_step", "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "retryable": true, "status": 409, "title": "Document already posted", "type": "https://docs.acreum.io/errors/DOCUMENT_ALREADY_POSTED"}