Reprocess a file
Requires scope `files:reprocess`. Raw files only. Eligible statuses: `uploaded`, `failed`, `completed`, or stalled `processing` (file must have an S3 location). The file's instrument must have a Lambda processor. The file is queued first and starts as soon as a processing slot is free. Returns `processing` when the file started right away. Returns `queued` when it did not, for example because 10 raw files are already processing (the default limit across Data Hub). A file that is already `queued` returns `409`. A token that registered a watcher may act only on instruments whose active watcher it registered, and gets 403 for any other.
Requires scope files:reprocess. Raw files only. Eligible statuses: uploaded, failed, completed, or stalled processing (file must have an S3 location). The file's instrument must have a Lambda processor. The file is queued first and starts as soon as a processing slot is free. Returns processing when the file started right away. Returns queued when it did not, for example because 10 raw files are already processing (the default limit across Data Hub). A file that is already queued returns 409. A token that registered a watcher may act only on instruments whose active watcher it registered, and gets 403 for any other.
Authorization
bearerAuth Personal access tokens begin with dhub_… and are restricted by their assigned scopes.
In: header
Path Parameters
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/files/1/reprocess"{ "status": "processing", "file_id": 0}{ "error": { "code": "string", "message": "string", "details": { "property1": null, "property2": null } }}{ "error": { "code": "string", "message": "string", "details": { "property1": null, "property2": null } }}{ "error": { "code": "string", "message": "string", "details": { "property1": null, "property2": null } }}{ "error": { "code": "string", "message": "string", "details": { "property1": null, "property2": null } }}{ "error": { "code": "string", "message": "string", "details": { "property1": null, "property2": null } }}Cancel a multipart upload DELETE
Requires scope `runs:upload`. PAT only. Cancels the in-progress S3 upload and clears it from the file. A token that registered a watcher may act only on instruments whose active watcher it registered, and gets 403 for any other.
Download a run archive GET
Requires scope `files:read`.