Query Corpus CSV/TSV Tables
curl --request POST \
--url https://api.zerodrive.dev/v1/brain/corpora/{corpus_id}/csv-query \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('https://api.zerodrive.dev/v1/brain/corpora/{corpus_id}/csv-query', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.zerodrive.dev/v1/brain/corpora/{corpus_id}/csv-query"
payload = {}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){}Query Corpus CSV/TSV Tables
Filter, sort, and aggregate indexed CSV/TSV files inside a corpus.
POST
https://api.zerodrive.dev
/
v1
/
brain
/
corpora
/
{corpus_id}
/
csv-query
Query Corpus CSV/TSV Tables
curl --request POST \
--url https://api.zerodrive.dev/v1/brain/corpora/{corpus_id}/csv-query \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('https://api.zerodrive.dev/v1/brain/corpora/{corpus_id}/csv-query', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.zerodrive.dev/v1/brain/corpora/{corpus_id}/csv-query"
payload = {}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){}
