コンテンツにスキップ

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.

id
required
string
view
string
Allowed values: manifest

Set to manifest to return object-backed artifact metadata instead of the artifact bytes.

format
string
Allowed values: json csv

Requested artifact format when downloading bytes.

Job result artifact content. The format query controls JSON or CSV where available.

string format: binary
Example generated
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"
}