Poll a dispatched re-ingest
GET
/v1/datasets/sync-status/{operation_id}
const url = 'https://example.com/v1/datasets/sync-status/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/v1/datasets/sync-status/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0Where a re-ingest has got to. Reports durable publication state only — it never advances, retries or cancels the operation it observes.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” operation_id
required
string format: uuid
Query Parameters
Section titled “Query Parameters ” account_id
Act on this account (active)
string | null format: uuid
Act on this account (active)
Header Parameters
Section titled “Header Parameters ” x-api-key
string | null
Responses
Section titled “ Responses ”Successful Response
Media type application/json
SyncStatusResponse
Live state of a dispatched re-ingest.
Read from durable publication state, so it answers the same after an API restart as before one.
object
phase
required
Queued | preparing | publishing | finalized | failed. An OPEN set: render an unrecognised phase generically rather than rejecting it.
string
done
required
Terminal — stop polling
boolean
message
Public failure reason when phase is failed
string
progress_json
Live step detail while preparing; empty otherwise
string
dataset_version_id
Set only when finalized
string
generation
Set only when finalized
integer
episode_count
Set only when finalized
integer
total_frames
Set only when finalized
integer
Example
{ "message": "", "progress_json": "", "dataset_version_id": "", "generation": 0, "episode_count": 0, "total_frames": 0}Validation Error
Media type application/json
HTTPValidationError
object
detail
Array<object>
ValidationErrorobject
loc
required
Location
Array<string | integer>
msg
required
Message
string
type
required
Error Type
string
input
ctx
Context
object
Example generated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example", "input": "example", "ctx": {} } ]}