cURL
Knowledge Bases
Query
Execute a SQL query against the knowledge base
POST
cURL
Authorizations
Timbal API key. Obtain your API key from the Timbal platform settings. See Authentication for more information.
Body
application/json
SQL query to execute against the knowledge base. Use $1, $2, etc. for parameter placeholders.
When true, runs EXPLAIN ANALYZE and includes the query plan in the response.
Optional parameters for the query. Parameters passed to the vector
search functions (lance_vector_search, lance_hybrid_search) are
automatically converted to embedding vectors before the query runs.
Response
200 - application/json
Query results as JSON