Document Download

Download report files in various formats.

Endpoint

POST /files/download

Parameters

Parameter
Type
Required
Description

report_id

string[]

Yes

Report IDs to download (max: 10)

format

string

Yes

Output format: pdf, extract, embedding

options

object

No

Format-specific options

Format Options:

  • PDF

  • Extract

  • Embedding

Example Request

bash

curl -X POST "https://api.orbitfin.ai/v1/files/download" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "report_id": ["rpt_9xk3m7nq"],
    "format": "extract",
    "options": {
      "format": "json",
      "include_tables": true
    }
  }'

Response

json

Last updated