API Keys
Required scope: admin:keys
Pagination: none
access-tokenAuthorizationBearer <token>application/json- response
data*array<>meta*curl -X GET 'https://api.acreum.io/v1/api-keys'{ "data": [ { "created_at": "string", "created_by": "string", "expires_at": "string", "id": "string", "kind": "standard", "last_used_at": "string", "legal_entity_id": "string", "name": "string", "plan_only": true, "prefix": "string", "rate_limit_tier": "default", "revoked_at": "string", "scopes": [ "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: admin:keys
Error codes: VALIDATION_FAILED, FORBIDDEN, LEGAL_ENTITY_NOT_IN_SCOPE, API_KEY_EXPIRES_AT_IN_PAST
access-tokenAuthorizationBearer <token>application/json- body
expires_at?stringISO-8601 timestamp after which the key stops authenticating.
kind?string"standard""standard""acreum_internal"legal_entity_id?stringBind the key to a single legal entity (hard refusal on cross-LE access).
name*stringHuman-readable label for this key.
plan_only?booleanA plan-only key can read (GET) and call /v1/plans, but cannot write directly: its writes must be steps of a plan (preview, then commit).
falserate_limit_tier?string"default""default""elevated"scopes*array<>application/json- response
data*meta*curl -X POST 'https://api.acreum.io/v1/api-keys' \ -H 'Content-Type: application/json' \ -d '{ "name": "string", "scopes": [ "documents:read" ]}'{ "data": { "created_at": "string", "created_by": "string", "expires_at": "string", "id": "string", "kind": "standard", "last_used_at": "string", "legal_entity_id": "string", "name": "string", "plan_only": true, "prefix": "string", "rate_limit_tier": "default", "revoked_at": "string", "scopes": [ "string" ], "secret": "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: admin:keys
access-tokenAuthorizationBearer <token>id*stringapplication/json- response
data*meta*curl -X GET 'https://api.acreum.io/v1/api-keys/string'{ "data": { "created_at": "string", "created_by": "string", "expires_at": "string", "id": "string", "kind": "standard", "last_used_at": "string", "legal_entity_id": "string", "name": "string", "plan_only": true, "prefix": "string", "rate_limit_tier": "default", "revoked_at": "string", "scopes": [ "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: admin:keys
Error codes: NOT_FOUND, VALIDATION_FAILED, FORBIDDEN, API_KEY_TIER_OVERRIDE_FORBIDDEN, API_KEY_EXPIRES_AT_IN_PAST
access-tokenAuthorizationBearer <token>id*stringapplication/json- body
expires_at?stringname?stringplan_only?booleanMake the key plan-only (reads and /v1/plans only; writes go through plans) or lift that.
rate_limit_tier?string"default""elevated"scopes?array<>application/json- response
data*meta*curl -X PATCH 'https://api.acreum.io/v1/api-keys/string' \ -H 'Content-Type: application/json' \ -d '{}'{ "data": { "created_at": "string", "created_by": "string", "expires_at": "string", "id": "string", "kind": "standard", "last_used_at": "string", "legal_entity_id": "string", "name": "string", "plan_only": true, "prefix": "string", "rate_limit_tier": "default", "revoked_at": "string", "scopes": [ "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: admin:keys
access-tokenAuthorizationBearer <token>id*stringapplication/json- response
data*meta*curl -X POST 'https://api.acreum.io/v1/api-keys/string/revoke'{ "data": { "created_at": "string", "created_by": "string", "expires_at": "string", "id": "string", "kind": "standard", "last_used_at": "string", "legal_entity_id": "string", "name": "string", "plan_only": true, "prefix": "string", "rate_limit_tier": "default", "revoked_at": "string", "scopes": [ "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: admin:keys
access-tokenAuthorizationBearer <token>id*stringapplication/json- response
data*meta*curl -X POST 'https://api.acreum.io/v1/api-keys/string/rotate'{ "data": { "created_at": "string", "created_by": "string", "expires_at": "string", "id": "string", "kind": "standard", "last_used_at": "string", "legal_entity_id": "string", "name": "string", "plan_only": true, "prefix": "string", "rate_limit_tier": "default", "revoked_at": "string", "scopes": [ "string" ], "secret": "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: admin:keys
access-tokenAuthorizationBearer <token>id*stringapplication/json- response
data*meta*curl -X GET 'https://api.acreum.io/v1/api-keys/string/usage'{ "data": { "last_used_at": "string", "requests_24h": 0, "requests_30d": 0 }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}