public-api

Public Create Batch

Changed on

Submit a batch: every object under input_path goes through the pipeline and its outputs land under output_path, mirroring the input tree. Read and write access are proven now, so the real AWS error is the response, not a failed batch later.

Send Idempotency-Key (any string up to 128 chars, unique per submission) and a retry from anywhere returns the same batch. Poll GET /v1/batches/{id} every 15–60 seconds.

post/v1/batches

Request

  • Base URL
    https://api.trainloop.ai (the document declares no server; this is the origin it was published from)
  • Auth
    none declared

Headers

Idempotency-Keystring nullable
authorizationstring nullable

Request body

pipelinestring required
connection_idstring uuid required
input_pathstring required
output_pathstring required
optionsobject

Response

Successful Response

idstring uuid required
pipelinestring required
status'queued' | 'dispatched' | 'running' | 'completed' | 'completed_with_errors' | 'failed' | 'cancelled' required
connection_idstring uuid required
input_pathstring required
output_pathstring required
optionsobject required
item_totalinteger required
item_doneinteger required
item_skippedinteger required
item_failedinteger required
errorstring required
created_atstring date-time required
updated_atstring date-time required
started_atstring date-time nullable required
finished_atstring date-time nullable required

Changes