Get a file
GET/v1/files/:id
Returns an uploaded file and its solid bodies. The bodies are listed once Inspect a file (PATCH /v1/files/{id}) has run and its job has succeeded; pick the ones to make parts of from them.
Experimental. Available now and still gaining functionality. It may change in breaking ways in a minor API release; each such change is listed in the release notes, so check them before upgrading.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 410
- 500
- 503
The file and its bodies.
The request is invalid.
The API key is missing or invalid.
The API key may not perform this operation: it has no access to this part of the API, it may only read it, or its creator has not met the organization’s two-factor requirement.
The file does not exist.
The file is older than the retention window and is no longer available.
The file could not be retrieved.
Authentication is temporarily unavailable.