curl --request POST \
--url https://general-runtime.voiceflow.com/knowledge-base/query \
--header 'Content-Type: application/json' \
--header 'authorization: <api-key>' \
--data '
{
"question": "<string>",
"projectID": "<string>",
"instruction": "<string>",
"chunkLimit": 15,
"synthesis": true,
"filters": {},
"internalFilters": [
{
"key": "<string>",
"value": "<string>",
"operator": "is"
}
],
"projectEnvironmentIDOrAlias": "<string>",
"versionVariant": "published"
}
'Query the knowledge base and retrieve answers to user questions. Send a question and receive a synthesized answer or relevant document chunks from the knowledge base.
curl --request POST \
--url https://general-runtime.voiceflow.com/knowledge-base/query \
--header 'Content-Type: application/json' \
--header 'authorization: <api-key>' \
--data '
{
"question": "<string>",
"projectID": "<string>",
"instruction": "<string>",
"chunkLimit": 15,
"synthesis": true,
"filters": {},
"internalFilters": [
{
"key": "<string>",
"value": "<string>",
"operator": "is"
}
],
"projectEnvironmentIDOrAlias": "<string>",
"versionVariant": "published"
}
'Documentation Index
Fetch the complete documentation index at: https://docs.voiceflow.com/llms.txt
Use this file to discover all available pages before exploring further.
Voiceflow API key
1 < x < 30The alias of the environment to target (ie. main). You can find this in the environments page of your agent.
💡 Tip: Learn more about Environments.
draft, published Was this page helpful?