getJobResultFileContent
Fetch the content of a result file from a finished asynchronous job, returning plain-text files (TXT, CSV, XML, JSON, HTML) as UTF-8 text.
Instructions
Downloads one result file produced by a finished asynchronous job (e.g. the spreadsheet from getExportExcelTests). The file body is returned as UTF-8 text: plain-text files (TXT, CSV, XML, JSON, HTML) are readable, but binary files (images, PDF, Office) arrive garbled. 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. |