Skip to main content
GET
Get one class in a classification system

Authorizations

Authorization
string
header
required

Effective API key. Send Authorization: Bearer sk-eai-...

Path Parameters

system
string
required

A classification system’s key, such as iso-gl, ncci-wc or naics.

Pattern: ^[a-z][a-z0-9-]{0,63}$
code
string
required

A class code as its system writes it: 91342 for ISO GL, 8810 for NCCI, 238130 for NAICS. Letters, digits, dots and hyphens, up to 20.

Pattern: ^[A-Za-z0-9][A-Za-z0-9._-]{0,19}$

Query Parameters

state
string

A state: the classes that hold in it, its own where the system has a state class and the countrywide one otherwise. Without it, every class, each with its state.

Pattern: ^[A-Z]{2}$
overlays
string

Comma-separated overlay keys, at most 10, whose attributes each class should carry. The system's overlays are listed with it.

Response

The class.

system
string
required

A classification system’s key, such as iso-gl, ncci-wc or naics.

Pattern: ^[a-z][a-z0-9-]{0,63}$
code
string
required

A class code as its system writes it: 91342 for ISO GL, 8810 for NCCI, 238130 for NAICS. Letters, digits, dots and hyphens, up to 20.

Pattern: ^[A-Za-z0-9][A-Za-z0-9._-]{0,19}$
state
string | null
required

The state the class holds in, or null for every state.

Pattern: ^[A-Z]{2}$
description
string
required

The class description, as the source words it.

premiumBase
object | null
required

What the exposure counts and per how many it is rated; null for a system without one, such as NAICS.

source
object
required
overlays
object
required

The overlays the request named, by key: each one’s attributes for this class, or null when the overlay does not list it.