Skip to main content
GET
Who in the firm wrote a market

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.

Query Parameters

market
string[] | null
required

The market: a Markets directory market_ref, or any identity that resolves to one (an AMS company tuple, a dim_company: key). Repeat it for several markets, at most 200, each at most 600 characters; the rows come in the order asked.

kind
enum<string>

person (the default): the ranked writers, those inside the seat's own book scope first. office: the offices that wrote it, those inside the scope first. summary: one row per market, its top office (the most accounts), the person to ask there (ask), up to 4 ranked people to ask (asks), its active writers (people) and every office that wrote it (offices), counted inside the seat's scope when any policy is there.

Available options:
person,
office,
summary
platform
string

Only policies of offices on this platform (SOUTH, NORTHWEST, ...).

Maximum string length: 64
state
string

Only policies issued in this state: a USPS code or state name; anything else is a 400.

line
string

Only policies of this line: a code of the served line vocabulary (GET /records/products?view=lines), matched to the AMS line names it lands as; anything else is a 400.

Maximum string length: 64
limit
integer<int64>

Page size, 25 by default, at most 200.

Required range: x >= 0
cursor
string

The page.next of the previous page.

include_total
boolean

Count every matching row.

Response

OK

data
object[] | null
required

One page of the collection, in the requested sort order.

page
object
required
request_id
string
required

The request id, as echoed in the Nexio-Request-Id response header.

source
object
required
unreachable
object[] | null
required

Parts of the answer no source could fill, each with its reason. Empty when every part was filled.

warnings
object[] | null
required

Adjustments the platform made to the request (a coerced limit, a dropped facet).

facets
object

Present only for the facets the request named in facets=.

missing_count
integer<int64>

For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.

total
object

Present only when the request sent include_total=true.