Skip to main content
GET
cURL
Poll this endpoint to track the progress of a file upload initiated via Upload Policy File. Returns the current processing status, record counts, and any errors encountered during ingestion.

Polling Strategy

Recommended interval: Poll every 3-5 seconds while status is QUEUED or PROCESSING. Stop polling once the status reaches a terminal state (COMPLETED, COMPLETED_WITH_FAILURES, FAILED, or CANCELLED) or a paused state (NEEDS_CLARIFICATION).
1

QUEUED

Upload received, waiting for a worker to pick it up.
2

PROCESSING

Worker is actively parsing the file and creating policies and transactions.
3

Terminal state reached

Processing ends with one of: COMPLETED, COMPLETED_WITH_FAILURES, FAILED, or CANCELLED. The status NEEDS_CLARIFICATION means processing is paused awaiting user input. Stop polling and inspect the response.

Status Values

Response Shape

All successful responses are wrapped in the standard response envelope. See Request/Response Conventions.

Response Fields

Error Object

Each entry in the errors array describes a single row failure:

Example Responses

In Progress

Completed With Failures

Error Scenarios

Upload Not Found (404)

Returned when uploadId doesn’t exist or belongs to a different upstream entity.

Unauthorized (401)

Missing or invalid authentication token. See Authentication.

Path Parameters

uploadId
string
required

ID of the upload request returned by POST /policies/upload

Example:

"6650a1b2c3d4e5f6a7b8c9d0"

Response

Upload processing status with record counts and errors

uploadId
string
required

ID of the upload request

Example:

"6650a1b2c3d4e5f6a7b8c9d0"

status
enum<string>
required

Current processing status

Available options:
QUEUED,
PROCESSING,
COMPLETED,
COMPLETED_WITH_FAILURES,
NEEDS_CLARIFICATION,
CANCELLED,
FAILED
Example:

"COMPLETED"

totalRows
number
required

Total number of data rows in the uploaded file

Example:

1000

created
number
required

Number of new policies created

Example:

851

updated
number
required

Number of existing policies updated (duplicate policyNumber re-uploads)

Example:

149

failed
number
required

Number of rows that failed processing

Example:

0

errors
object[]
required

Details about individual row failures

createdAt
string
required

ISO 8601 timestamp when the upload was initiated

Example:

"2025-01-15T10:30:00.000Z"

updatedAt
string
required

ISO 8601 timestamp of the last status update

Example:

"2025-01-15T10:31:45.000Z"