Trigger a collection

POST /datasets/v3/trigger

http_status_codemessage
400{validation_errors: [ERRORS]}
dataset missing
Invalid attachments
This dataset is not allowed for API
This dataset is not ready yet
No data to trigger
Should be at least LIMIT inputs
404dataset does not exist
429You have too many running jobs for this dataset. Please wait until some of them finish or consider combining multiple inputs into a single request. Running jobs: RUNNING_JOBS>=JOBS_LIMIT
500Internal server error

Download snapshot

GET /datasets/v3/snapshot/:snapshot_id

http_status_codemessage
202{status: "STATUS", message: "Snapshot is not ready yet, try again in 10s"}
{status: "building", message: "Snapshot is building, try again in 10s"}
400{validation_errors: [ERRORS]}
Snapshot is expired
Snapshot is empty
404Snapshot does not exist
500Internal server error

Calculate the number of parts for delivery

GET /datasets/v3/snapshot/:snapshot_id/parts

http_status_codemessage
400{validation_errors: [ERRORS]}
Snapshot is not ready
404Snapshot does not exist
500Internal server error

Fetch the input file from a triggered snapshot

GET /datasets/v3/snapshot/:snapshot_id/input

http_status_codemessage
400Snapshot input does not exist
404Snapshot does not exist
500Internal server error

Cancel a collection

POST /datasets/v3/snapshot/:snapshot_id/cancel

http_status_codemessage
400Snapshot is not running
404Snapshot does not exist
500Internal server error

Monitor progress

GET /datasets/v3/progress/:snapshot_id

http_status_codemessage
404Snapshot does not exist
500Internal server error
200{status: “failed”, error_message: “ERROR_MESSAGE”}
Something went wrong. Our team is looking into it.
Account is suspended
Account is new, please activate it in account settings. URL
No data found in discovery
Snapshot is empty
Failed to deliver snapshot
Failed to download response
Failed to trigger collector
Internal Server Error
Input validation failed: DETAILS

Monitor delivery

GET /datasets/v3/delivery/:delivery_id

http_status_codemessage
404Delivery does not exist
500Internal server error

Deliver collected data to storage

POST /datasets/v3/deliver/:snapshot_id

http_status_codemessage
400{validation_errors: [ERRORS]}
Snapshot is not ready
Snapshot is expired
Deliver options are missing
Snapshot is empty
Snapshot is too big for single file delivery
Batch size should be at least MIN_BATCH_SIZE
404Snapshot does not exist
500Failed to deliver snapshot
Internal server error

Get snapshot list

GET /datasets/v3/snapshots

http_status_codemessage
400{validation_errors: [ERRORS]}
500Internal server error