Search
Ranked cross-entity search. Matches names, memos, document numbers and amounts; results are recency-weighted and filtered to the records the caller may read.
Required scope: search:read
Pagination: offset
Error codes: VALIDATION_FAILED
access-tokenAuthorizationBearer <token>q*stringSearch term. Matched against names, memos, document numbers and amounts.
kind?array<string>Restrict to result kinds, e.g. invoice, party, contract. Repeat or comma-separate.
legal_entity_id?stringRestrict to one legal entity.
from_date?stringEarliest business date (inclusive).
to_date?stringLatest business date (inclusive).
date_from?stringDeprecatedDeprecated alias for from_date (earliest business date, inclusive).
date_to?stringDeprecatedDeprecated alias for to_date (latest business date, inclusive).
amount_min?numberMinimum amount (inclusive).
amount_max?numberMaximum amount (inclusive).
limit?numberPage size. Default 20.
1 <= value <= 100offset?numberRows to skip. Search is ranked by a computed relevance score, so it pages by offset rather than by cursor — there is no stable sort key to encode.
0 <= valueper_kind?numberMaximum hits per kind. Stops one record type filling every slot when thousands of rows tie on the same match tier. Defaults to 5 — omitting it gives the capped behaviour, because an uncapped default reproduces exactly the flooding the cap exists to prevent. Pass 0 to opt out explicitly and get a purely score-ordered list (what the full results page does, so it hides nothing).
0 <= value <= 505application/json- response
data*array<>meta*curl -X GET 'https://api.acreum.io/v1/search?q=1042'{ "data": [ { "amount": "1250.00", "date": "2026-08-01", "id": "string", "kind": "invoice", "legal_entity_id": "string", "legal_entity_name": "string", "party_id": "string", "party_name": "string", "property_id": "3f1a7c62-9d84-4b1e-8f2a-6c5d0e7b1a93", "score": 0, "status": "posted", "subtitle": "August rent - Suite 300", "title": "1042" } ], "meta": { "has_more": true, "limit": 0, "offset": 0 }}Turns kind:id pairs into titles for the palette's recent-records list. Refs the caller may no longer read, or that no longer exist, are omitted — which is why clients store identifiers rather than caching titles.
Required scope: search:read
Pagination: none
Error codes: VALIDATION_FAILED
access-tokenAuthorizationBearer <token>refs*stringComma-separated kind:id pairs, e.g. invoice:9f4c…,party:2b1a…. Unknown, deleted, or forbidden refs are omitted from the response rather than erroring.
application/json- response
data*array<>meta*curl -X GET 'https://api.acreum.io/v1/search/resolve?refs=invoice%3A11111111-1111-1111-1111-111111111111'{ "data": [ { "amount": "1250.00", "date": "2026-08-01", "id": "string", "kind": "invoice", "legal_entity_id": "string", "legal_entity_name": "string", "party_id": "string", "party_name": "string", "property_id": "3f1a7c62-9d84-4b1e-8f2a-6c5d0e7b1a93", "score": 0, "status": "posted", "subtitle": "August rent - Suite 300", "title": "1042" } ], "meta": { "count": 0 }}