Query Drive CSV/JSONL/JSON Tables
curl --request POST \
--url https://api.zerodrive.dev/v1/search/tables \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"path": "Analytics/pipeline.csv",
"where": [
{}
],
"group_by": [
"<string>"
],
"aggregations": [
{}
],
"sort": {},
"limit": 100
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
path: 'Analytics/pipeline.csv',
where: [{}],
group_by: ['<string>'],
aggregations: [{}],
sort: {},
limit: 100
})
};
fetch('https://api.zerodrive.dev/v1/search/tables', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.zerodrive.dev/v1/search/tables"
payload = {
"path": "Analytics/pipeline.csv",
"where": [{}],
"group_by": ["<string>"],
"aggregations": [{}],
"sort": {},
"limit": 100
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){}Query Drive CSV/JSONL/JSON Tables
Run structured where, group_by, aggregation, and sort queries over CSV, JSONL, or JSON files.
POST
https://api.zerodrive.dev
/
v1
/
search
/
tables
Query Drive CSV/JSONL/JSON Tables
curl --request POST \
--url https://api.zerodrive.dev/v1/search/tables \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"path": "Analytics/pipeline.csv",
"where": [
{}
],
"group_by": [
"<string>"
],
"aggregations": [
{}
],
"sort": {},
"limit": 100
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
path: 'Analytics/pipeline.csv',
where: [{}],
group_by: ['<string>'],
aggregations: [{}],
sort: {},
limit: 100
})
};
fetch('https://api.zerodrive.dev/v1/search/tables', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.zerodrive.dev/v1/search/tables"
payload = {
"path": "Analytics/pipeline.csv",
"where": [{}],
"group_by": ["<string>"],
"aggregations": [{}],
"sort": {},
"limit": 100
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){}Authorizations
Body
application/json
Response
Tabular query rows and aggregates
The response is of type object.

