Skip to main content
GET
Get a violation

Authorizations

Authorization
string
header
required

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

Path Parameters

activityNr
string
required

Inspection activity number.

Pattern: ^\d{1,12}$
citationId
string
required

Citation ID within the inspection, such as 01001.

Pattern: ^[A-Za-z0-9]{1,12}$

Response

One violation.

One citation item from an inspection. Fields are OSHA’s own column names in camelCase, with values as OSHA publishes them.

activityNr
string | null
required
citationId
string | null
required
deleteFlag
string | null
required
standard
string | null
required
violType
string | null
required
issuanceDate
string | null
required
abateDate
string | null
required
abateComplete
string | null
required
currentPenalty
number | null
required
initialPenalty
number | null
required
contestDate
string | null
required
finalOrderDate
string | null
required
nrInstances
number | null
required
nrExposed
number | null
required
rec
string | null
required
gravity
string | null
required
emphasis
string | null
required
hazcat
string | null
required
ftaInspNr
string | null
required
ftaIssuanceDate
string | null
required
ftaPenalty
number | null
required
ftaContestDate
string | null
required
ftaFinalOrderDate
string | null
required
hazsub1
string | null
required
hazsub2
string | null
required
hazsub3
string | null
required
hazsub4
string | null
required
hazsub5
string | null
required
loadDt
string | null
required
id
string
required

The citation ID, unique within the inspection.

employerId
string | null
required

Employer Effective matched this row to, or null if it could not place it.

Pattern: ^emp_[0-9a-f]{20}$
siteId
string | null
required

Site Effective matched this row to, or null.

Pattern: ^site_[0-9a-f]{20}$
sourceFile
object
required