Upload Data To Space
Data lives in Sources — named paths within a space. Create a source, upload files into it, then attach up to five sources to a tracker on its Data tab. Learn more →
Upload via Console
- Open your space and go to Edit → Sources
- Click + New Source and create a source (name + description)
- Open the source and Upload your files (PDF, CSV, etc.)
- In a tracker's Data tab, select the sources to attach
- Run the tracker — it uses your data as context
Supported Formats
| Type | Formats |
|---|---|
| Documents | PDF, CSV, TXT, Markdown |
| Structured Data | JSON objects or arrays (via API) |
Upload via API
Create a source, then upload with the source path as source:
# 1. Create a source
curl -X POST "https://api.quantinal.ai/v1/api/spaces/{space_id}/sources" \
-H "Authorization: Bearer qapi_..." \
-H "Content-Type: application/json" \
-d '{"name": "Financials", "description": "Quarterly reports"}'
# 2. Upload a file into it (source = source path, e.g. /financials/)
curl -X POST "https://api.quantinal.ai/v1/api/spaces/{space_id}/files" \
-H "Authorization: Bearer qapi_..." \
-F "file=@report.pdf" \
-F "source=/financials/"
tip
Use your space_id in the URL. List sources with GET /api/spaces/{space_id}/sources.