Skip to navigation

Get the audit trail of every policy for a subcontractor

Every lifecycle event (created, updated, verified, canceled, expired, reinstated, document_attached, superseded) for all of the subcontractor’s insurance policies in one call, grouped by policy id. Within each policy, events are newest first. Policies with no events are absent. Use it to render per-policy history without one request per policy. Policy ids match policies[].id on Get a subcontractor.

Requires scopes subcontractors:read and compliance:read.

Authentication

AuthorizationBearer

Session JWT or API key (ak_...)

Path parameters

subcontractorIdstringRequiredformat: "uuid"

Response

Policy events keyed by policy id
datamap from strings to lists of objectsOptional

Map of policy id (UUID) → that policy’s events, newest first.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error