getJobResultFileContent
Downloads a result file from a finished asynchronous job after getJob confirms completion, returning images or text directly and other formats as embedded base64; files over 20 MB are refused.
Instructions
Downloads one result file produced by a finished asynchronous job (e.g. the spreadsheet from getExportExcelTests). Images (PNG, JPEG, GIF, WebP) come back as image content, UTF-8 text files as text, and any other file (PDF, Office, ZIP) as an embedded base64 resource; files over 20 MB are refused. Call it only after getJob reports the job as finished; the job resource lists the available file names. For the job's log instead of its output, use getJobLogContent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobId | Yes | The asynchronous job's ID, returned when the triggering call responds with a `jobs` resource. Poll getJob with this ID to check completion status. | |
| filename | Yes | The Download File Name. | |
| response_format | No | Response detail level. concise removes redundant HTML and JSON:API metadata and may use a small default fieldset on large lists; detailed preserves the complete response. Defaults to detailed. | detailed |