Batch fetch tags for multiple entities

POST/api/v1/entity-tags/batch

Fetch tags for many entities of the same type in a single request. Returns a mapping of entity id -> its tags; entities with no tags are omitted. Replaces per-row GET /entity-tags/{model_type}/{model_id} calls to avoid request fan-out (and the edge rate limiting it causes).

Operation ID: get_entity_tags_batch_api_v1_entity_tags_batch_post·View as markdown·OpenAPI slice

Authentication

Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.

Request body

model_typestringrequired

Type of entity (transaction, invoice, bill, etc.)

model_idsarray · stringrequired

Entity UUIDs to fetch tags for (typically the visible page).

Responses

201Successful Response

itemsobject

Mapping of entity UUID -> tags attached to it. Entities with no tags are omitted.

400Bad Request - Invalid input

401Unauthorized - Authentication required

403Forbidden - Insufficient permissions

422Validation Error

detailarray · ValidationErrorValidationError
5 fields
locarray · string | integerrequired
msgstringrequired
typestringrequired
inputobject
ctxobject