Obtain different types of file information based on a list of report IDs and query options. The API supports three distinct query modes: pdf for document metadata retrieval, extract for text extraction results, and embedding for vector embedding data. This endpoint enables batch retrieval of file metadata and content across multiple reports simultaneously.
Request
Headers
Name
Type
Required
Description
Content-Type
string
Yes
application/json
X-API-KEY
string
Yes
Your API key
Request Body Parameters
Parameter
Type
Required
Description
report_id
array[string]
Yes
List of report IDs to retrieve file information for
option
array[string]
Yes
Query mode options: pdf, extract, or embedding (supports multiple options)
Query Mode Options
Option
Description
pdf
Retrieves PDF document metadata and download links
extract
Obtains text extraction results
embedding
Accesses vector embedding data
Example Request
Response
Response Fields
Top-Level Fields
Field
Type
Description
status_code
integer
HTTP status code (200 for success)
data
object
Container object holding file list data
message
string
Response status message
Data Object
Field
Type
Description
file_list_pdf
array
Array of PDF file metadata objects
file_list_extract
array
Array of text extraction result objects
file_list_embedding
array
Array of vector embedding data objects
billing_info
object
Billing information for the API call
PDF File Object (data.file_list_pdf[])
Field
Type
Description
report_id
string
Unique identifier for the report
file_title
string
Original title of the file
file_title_en
string
English translation of the file title
clickable_link
string
Pre-signed download URL (valid for 7 days)
page_count
integer
Total number of pages in the PDF document
language
string
Language code of the document (e.g., en for English)
Billing Info Object (data.billing_info)
Field
Type
Description
total_calls
integer
Total number of API calls made in this request
total_options
integer
Total number of query options processed
total_charge
integer
Total credits charged for this request
Example Response
Notes:
All returned download links remain valid for 7 days post-generation
Individual report failures are isolated and will not disrupt other report processing
Multiple query options can be specified simultaneously in a single request
Error Handling
All endpoints follow the standard error response format. When an error occurs, the API returns an appropriate HTTP status code along with a structured error response.
For detailed information about error codes, response formats, and troubleshooting guidelines, please refer to Appendix A: Error Code Reference.