Skip to main content
GET
Export Entities

Authorizations

Authorization
string
header
required

API key authentication. Send your raw API key as the Authorization header value with NO scheme prefix — Authorization: YOUR-API-KEY. Do NOT prefix it with Bearer or ApiKey, and do not use an X-API-Key header; those are not accepted.

Path Parameters

companyId
string<uuid>
required

Company identifier

entityType
enum<string>
required

Field Model V1 entity type (lowercase kebab-case URL slug). One of the six CRUD entity types: event, exposure, quote, submission, person, organization. policy is NOT valid here — Policy has no generic CRUD (its writes go through the policy transaction endpoints), though it does have a read-only /configuration schema.

Available options:
event,
exposure,
quote,
submission,
person,
organization

Query Parameters

filterText
string

Search across quote number, description, and other text fields

filters
string

JSON-encoded array of field filters applied server-side against the entity's fieldModelV1Data. Use this to look an entity up by a business key (e.g. a document ID or any configured field value) instead of paging the whole collection and matching client-side. Complements filterText, which only searches the configured display field.

Each filter is { fieldReferenceId, fieldType, operator, value } and supports type-specific operators. Supported field types: text, number, boolean, date, currency, optionSet, address, join, textList, numberList, optionSetList, addressList. This is the same filter shape the List Policies endpoint accepts.

List-cardinality types support operators: listIncludes (textList, numberList, addressList), listIn, listAll, listExcludes (optionSetList). The join type supports the in operator.

See the Configuration API for available field reference IDs.

sortBy
string
default:createdAt

Field to sort by. Accepts createdAt, updatedAt, or any configured field referenceId for the entity type (sorting is config-driven). Default createdAt.

sortDirection
enum<string>
default:desc

Sort direction (default desc)

Available options:
asc,
desc
fields
string

JSON-encoded array of explicit export columns, each { referenceId, type, label } where type is one of field-model-v1, financial, or system. Omit to export the type's full default column set (system columns + every configured field).

asOf
string<date>

Point-in-time lens (YYYY-MM-DD). For Policy it resolves each policy to the segment in effect on this date; for Event it bounds the financial export columns. Ignored for entities with neither segments nor financials.

Response

The exported rows as a JSON envelope

entityType
string

The canonical entity type that was exported (e.g. Exposure).

rowCount
integer

Total number of exported records.

fields
object[]

The exported column descriptors, in column order.

data
object[]

The exported rows — one flat record per entity, keyed by each column's field referenceId, with formatted scalar cell values.