Skip to main content
GET
Find the GL and WC codes the agency writes for a class

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

class_id
string
required

An id of GET /records/classes (a 2022 NAICS code). Customers whose NAICS falls under it, or whose SIC the Census concordances carry into it, form the cohort.

state_id
string

A two-letter USPS state code. Adds each code's counts in the state (in_state) and narrows carriers and rates to it; codes, whole-book counts, descriptions and states never narrow. Each code also carries the whole book's carriers and rate in book_carriers and book_rate, so no second read without state_id is needed.

Response

OK

carriers_withheld
boolean
required

True for a seat that does not read the estate evidence: each code's carriers (at least 3 customers each) and median rate per exposure unit (at least 5 single-class policies) are then absent.

lines
object[] | null
required
naics
string
required
sic
string
required
source
object
required
state
string
required
status
enum<string>
required

no_rows_for_state: the book wrote the codes, but no policy in the asked state carries any of them. A warehouse outage is a 503 refusal, never an empty answer.

Available options:
ok,
no_book_rows,
no_rows_for_state