Download an admin job result artifact.
GET
/api/admin/jobs/{id}/result/download
Code sample: Shell / cURL
curl --request GET \ --url 'https://auth.example.com/api/admin/jobs/example/result/download?view=manifest&format=json' \ --header 'Authorization: Bearer <token>'Downloads an inline or object-backed job result for the selected job. The optional view=manifest query returns an object manifest when the result is object-backed; otherwise the response is an attachment.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string
Query Parameters
Section titled “Query Parameters ” view
string
Set to manifest to return object-backed artifact metadata instead of the artifact bytes.
format
string
Requested artifact format when downloading bytes.
Responses
Section titled “ Responses ”Job result artifact content. The format query controls JSON or CSV where available.
string format: binary
Example generated
binarystring format: binary
Error response.
Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{ "error": "example", "message": "example", "error_description": "example"}Error response.
Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{ "error": "example", "message": "example", "error_description": "example"}Error response.
Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{ "error": "example", "message": "example", "error_description": "example"}Error response.
Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{ "error": "example", "message": "example", "error_description": "example"}Error response.
Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{ "error": "example", "message": "example", "error_description": "example"}Error response.
Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{ "error": "example", "message": "example", "error_description": "example"}