Skip to main content
GET
Find classes 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}$

Query Parameters

codes
string

Comma-separated class codes, at most 100. Codes not loaded are left out.

q
string

Classes whose code starts with, or whose description contains, this text (case-insensitive).

Required string length: 1 - 100
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.

limit
integer
default:50

Most classes to return, 1–100. Defaults to 50.

Required range: 1 <= x <= 100
cursor
string

Opaque nextCursor from this operation. Repeat every other query parameter unchanged; a cursor from a different query returns invalid_cursor.

Required string length: 1 - 8192

Response

One page of classes.

classes
object[]
required
nextCursor
string | null
required

Cursor for the next page, or null on the last page.