cURL
curl --request POST \ --url https://api.timbal.ai/orgs/{org_id}/k2/{kb_id}/query \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "sql": "<string>" } '
Execute a SQL query against the knowledge base
Timbal API key. Obtain your API key from the Timbal platform settings. See Authentication for more information.
SQL query to execute against the knowledge base
Query results as JSON