Cited Knowledge Brain Query
curl --request POST \
--url https://api.zerodrive.dev/v1/query \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"query": "What offer guarantee did we agree on?",
"queries": [
"<string>"
],
"bucket": "<string>",
"buckets": [
"<string>"
],
"client_id": "<string>",
"path": "<string>",
"mode": "research",
"deep": false,
"max_sources": 10,
"include_personal": false,
"include_code": false,
"include_skills": false,
"include_system": false
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
query: 'What offer guarantee did we agree on?',
queries: ['<string>'],
bucket: '<string>',
buckets: ['<string>'],
client_id: '<string>',
path: '<string>',
mode: 'research',
deep: false,
max_sources: 10,
include_personal: false,
include_code: false,
include_skills: false,
include_system: false
})
};
fetch('https://api.zerodrive.dev/v1/query', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.zerodrive.dev/v1/query"
payload = {
"query": "What offer guarantee did we agree on?",
"queries": ["<string>"],
"bucket": "<string>",
"buckets": ["<string>"],
"client_id": "<string>",
"path": "<string>",
"mode": "research",
"deep": False,
"max_sources": 10,
"include_personal": False,
"include_code": False,
"include_skills": False,
"include_system": False
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){}Cited Knowledge Brain Query
Run cited full-text/bucket search across indexed PDFs, docs, transcripts, and notes with optional question presets and Advisor mode.
POST
https://api.zerodrive.dev
/
v1
/
query
Cited Knowledge Brain Query
curl --request POST \
--url https://api.zerodrive.dev/v1/query \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"query": "What offer guarantee did we agree on?",
"queries": [
"<string>"
],
"bucket": "<string>",
"buckets": [
"<string>"
],
"client_id": "<string>",
"path": "<string>",
"mode": "research",
"deep": false,
"max_sources": 10,
"include_personal": false,
"include_code": false,
"include_skills": false,
"include_system": false
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
query: 'What offer guarantee did we agree on?',
queries: ['<string>'],
bucket: '<string>',
buckets: ['<string>'],
client_id: '<string>',
path: '<string>',
mode: 'research',
deep: false,
max_sources: 10,
include_personal: false,
include_code: false,
include_skills: false,
include_system: false
})
};
fetch('https://api.zerodrive.dev/v1/query', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.zerodrive.dev/v1/query"
payload = {
"query": "What offer guarantee did we agree on?",
"queries": ["<string>"],
"bucket": "<string>",
"buckets": ["<string>"],
"client_id": "<string>",
"path": "<string>",
"mode": "research",
"deep": False,
"max_sources": 10,
"include_personal": False,
"include_code": False,
"include_skills": False,
"include_system": False
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){}Authorizations
Body
application/json
Response
Cited passages, formatted markdown, and folder context
The response is of type object.

