Acreum Docs
Platform

Search

GET
/v1/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

Authorization

access-token
headerAuthorizationBearer <token>

Query Parameters

q*string

Search 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?string

Restrict to one legal entity.

from_date?string

Earliest business date (inclusive).

to_date?string

Latest business date (inclusive).

date_from?stringDeprecated

Deprecated alias for from_date (earliest business date, inclusive).

date_to?stringDeprecated

Deprecated alias for to_date (latest business date, inclusive).

amount_min?number

Minimum amount (inclusive).

amount_max?number

Maximum amount (inclusive).

limit?number

Page size. Default 20.

Range1 <= value <= 100
offset?number

Rows 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.

Range0 <= value
per_kind?number

Maximum 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).

Range0 <= value <= 50
Default5

Response Body

application/json
  1. 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  }}
GET
/v1/search/resolve

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

Authorization

access-token
headerAuthorizationBearer <token>

Query Parameters

refs*string

Comma-separated kind:id pairs, e.g. invoice:9f4c…,party:2b1a…. Unknown, deleted, or forbidden refs are omitted from the response rather than erroring.

Response Body

application/json
  1. 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  }}