Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/FloxTBoTyy/BoardPulse-AI/llms.txt

Use this file to discover all available pages before exploring further.

After submitting a question to the chat query endpoint, the response includes an exports array with download URLs for each generated file. Use this endpoint to download those files directly.

Request

Method: GET
Path: /api/v1/exports/{filename}

Path parameters

filename
string
required
The name of the export file to download. This value comes from the filename field in the exports array of a chat query response.Example: report-1714123456.csv

Response

On success, the endpoint returns the file as a binary download with the appropriate media type:
File extensionMedia type
.csvtext/csv
.xlsxapplication/vnd.openxmlformats-officedocument.spreadsheetml.sheet
otherapplication/octet-stream
The Content-Disposition header is set to attachment with the original filename, so browsers and curl -O will save the file with the correct name.

Error response

If the requested file does not exist:
{
  "detail": "Export file not found: report-1714123456.csv"
}
HTTP status: 404 Not Found

Example

The exports array in a chat response looks like this:
"exports": [
  {
    "format": "csv",
    "filename": "report-1714123456.csv",
    "url": "http://localhost:8000/api/v1/exports/report-1714123456.csv"
  },
  {
    "format": "xlsx",
    "filename": "report-1714123456.xlsx",
    "url": "http://localhost:8000/api/v1/exports/report-1714123456.xlsx"
  }
]
To download the CSV file and save it locally:
curl -O http://localhost:8000/api/v1/exports/report-1714123456.csv
To download the XLSX file:
curl -O http://localhost:8000/api/v1/exports/report-1714123456.xlsx
Export files are stored in the directory specified by the EXPORTS_DIR environment variable, which defaults to /tmp/boardpulse-exports. Files may be cleared when the container restarts unless you mount a persistent volume at that path.

Build docs developers (and LLMs) love