Skip to main content
POST
Search Entities

Authentication and permissions

Token requirements: User-based token (OAuth) or Organization-scoped API key or Team-scoped API key. Send a bearer access token for one of these identities. The permissions and resource restrictions below also apply.
Permissions joined by + are all required; or separates alternatives. Full-access keys still cannot call endpoints marked unsupported. Team keys must allow every team checked by the request. OAuth access depends on the user’s roles and resource access.
  • Read records as a team: team_id is the team the caller acts as. Records of databases shared with that team (“Can read” or “Can write”) are returned from their owning teams; an entity type or schema the team cannot reach reads as not found (ListEntities, AggregateEntities) or matches nothing (SearchEntities). Schema and row-access rules still apply.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
teamId
string

The ID of the team the caller acts as.

entityTypeId
string | null

Optional filter by entity type ID. A type outside the databases the team reaches (its own and those shared with it) matches nothing, whatever filters are set.

entityTypeKey
string | null

Optional filter by entity type key (alternative to entity_type_id). Resolved across the team's own databases and the databases shared with it; when a shared type has the same key as one of the team's own, the team's own type is used. Pass entity_type_id to address a shared type unambiguously.

filterGroups
EntityFilterGroup · object[]

Filter groups for complex filtering. OR between groups, AND within each group. Without an entity type, a field_key resolves across the team's own databases first, then the databases shared with it.

fieldSorts
EntitySort · object[]

Sorting specifications. Field keys resolve as in filter_groups.

pageSize
integer<int32> | null

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

pageToken
string | null

Token for pagination. Leave empty for the first request.

key
string | null

Optional filter by entity key (exact match).

includeArchived
boolean

Include archived entities in the results. Default false (archived entities are hidden). Archived items keep their key reserved and can be unarchived; set this to discover them (e.g. to call UnarchiveEntity).

Response

200 - application/json

Success

data
Entity · object[]

The list of matching entities.

nextPageToken
string | null

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