v1

latestOpenAPI 3.1.0Serval License2026-07-26202952779.1 KB
Entity API

Search Entities

Search entities with advanced filtering, sorting, and pagination. Supports filtering by entity type, name search, field filters (with OR between filter groups and AND within groups), and custom sorting.

post/v2/entities/search

Request body

teamIdstring

The ID of the team.

entityTypeIdstring nullable

Optional filter by entity type ID.

entityTypeKeystring nullable

Optional filter by entity type key (alternative to entity_type_id).

pageSizeinteger nullable

Maximum number of results to return. Default is 2000, maximum is 5000.

pageTokenstring nullable

Token for pagination. Leave empty for the first request.

keystring nullable

Optional filter by entity key (exact match).

Response

Success

nextPageTokenstring nullable

Token for retrieving the next page of results. Empty if no more results.