Skip to main content
GET
Read the account's policy schedules

Authorizations

Authorization
string
header
required

The org's platform API key.

Headers

Nexio-Act-As
string

The member the read is made for (a WorkOS user id). Unset keeps the org-wide posture the key alone grants.

Nexio-Act-As-Email
string

The acting member's verified email, lowercased. Ignored without Nexio-Act-As.

Nexio-Consumer
string

The calling application (workbench).

Nexio-Consumer-Build
string

The calling application's build.

Nexio-Consumer-Vocabulary
string

The access vocabulary hash the calling build was generated against.

Nexio-Request-Id
string

A caller-chosen request id, echoed in the Nexio-Request-Id response header.

Nexio-Timeout
string

The caller's remaining budget for this request, in whole milliseconds (1 to 10 digits, greater than zero), relative to receipt. The engine stops work at the shorter of this and the route's own budget, and answers 504 request_timeout when it expires. A value above the route budget is capped to it; a malformed value is ignored.

Path Parameters

id
string
required

The account's id.

Query Parameters

collections
string[] | null

The schedules to read, repeatable or comma-separated: any policy collection of the catalog (classes, drivers, vehicles, locations, equipment, premiums, lines, ...), named-insureds and personnel.

policy_id
string[] | null

The account's policies to read them for, repeatable or comma-separated, 1 to 25 policy ids. A policy that is not one of the account's policies the seat may open is answered not_visible_or_absent, never read.

include_removed
boolean

Serve every item's newest version, removed ones with them (row_status D), as the policy's history shows them. Only a collection that serves current rows (vehicles, drivers, locations) reads it; it has no as-of date.

as_of
string<date>

The date (YYYY-MM-DD) a current-rows collection is read as of: each item's version in effect on it. Defaults to today in the agency's time zone (America/Los_Angeles).

Response

OK

data
object
required
request_id
string
required
source
object
required
unreachable
object[] | null
required
warnings
object[] | null
required
missing_count
integer<int64>

For a hierarchy record, source records missing that level after source filters and before name/ID filters.