Data API
Data API
Use Soria data from applications, notebooks, and automated workflows.
⌘I
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Use Soria data from applications, notebooks, and automated workflows.
https://api.soriaanalytics.com/v1
curl "https://api.soriaanalytics.com/v1/catalog" \
--header "Authorization: Bearer $SORIA_API_KEY"
| Method | Path | Purpose |
|---|---|---|
GET | /catalog | Searches or lists datasets available to the account. |
GET | /catalog/{dataset} | Returns schema, grain, methodology, cadence, and source lineage. |
GET | /catalog/{dataset}/metadata | Returns compact dataset metadata. |
POST | /datasets/{dataset}/query | Selects, filters, sorts, and paginates rows. |
GET | /datasets/{dataset}/stats | Counts rows and optionally profiles one column. |
GET | /datasets/{dataset}/files | Lists source files contributing to a dataset. |
GET | /datasets/{dataset}/files/{file_id} | Returns a temporary original-file download URL. |
POST | /datasets/{dataset}/exports | Queues a CSV or Parquet export. |
GET | /exports/{export_id} | Returns export status. |
GET | /exports/{export_id}/download | Redirects to a temporary export URL. |
POST | /search/documents | Searches public source documents. |
curl --request POST \
"https://api.soriaanalytics.com/v1/datasets/<dataset>/query" \
--header "Authorization: Bearer $SORIA_API_KEY" \
--header "Content-Type: application/json" \
--data '{
"columns": ["<column_1>", "<column_2>"],
"filters": [
{"column": "<column_1>", "operator": "eq", "value": "<value>"}
],
"order_by": [{"column": "<column_2>", "direction": "desc"}],
"limit": 100,
"offset": 0
}'