Returns a tabular JSON rows plus matching entities from Cala’s knowledge base. UseDocumentation Index
Fetch the complete documentation index at: https://docs.cala.ai/llms.txt
Use this file to discover all available pages before exploring further.
knowledge_query (POST /v1/knowledge/query) when you need structured data ready for programmatic use rather than a natural-language answer.
Input can be a Cala QL expression or a natural-language question — both produce the same structured response shape.
- Navigate relationships between entities using dot notation
- Filter results by applying conditions directly in the path
- Access nested attributes across multiple entity relationships
- Get structured, typed responses ready for your applications
Query language syntax
Build queries using dot notation and operators. This syntax works on bothknowledge_query and knowledge_search.
| Operator | Meaning | Example |
|---|---|---|
. | Navigate relationships and access properties | OpenAI.founded.year |
= | Filter by Exact match | startups.location=Spain |
!= | Exclude | startups.location!=US |
> | Greater than | startups.funding>10M |
< | Less than | startups.funding<50M |
>= | Greater than or equal | startups.funding>=50M |
<= | Less than or equal | startups.funding<=50M |
startups.location=Spain.funding>10M.funding<50M
Example
Startups in Spain with funding between €10M and €50M:Structured Results
Structured Results
Typed, filterable data — not paragraphs of text. Each result is a structured object with consistent fields.
13 startups returned — each with company name, sector, funding amount, round type, and year. This is structured data, not text to parse.
Entities
Entities
Every company in the results is automatically linked to a Cala entity with a unique UUID and type.