The examples use the US API host. For a workspace on
eu.ontora.com, replace
https://api.ontora.com with https://api.eu.ontora.com.Anatomy of a query
Parameters
Response
iturn:<turn id> is a transcript turn (served verbatim from the transcript store), section:<document id>#<index> an attached document section, and knowledge:fact:<id> an organization fact from the knowledge graph. A fact passage carries verification (supported, or unverified:<reason>); a fact whose evidence contradicts the answer is dropped from the answer, the patterns and the provenance before the response is returned. The endpoint answers in one response (no streaming).
Asking follow-ups
Pass the prior turns asconversation_history to keep context:
Anonymized output
For sharing externally, set"anonymize": true. Names are replaced with role-based identifiers (e.g., “an operations lead”) and email addresses are stripped from citations.
CLI
When the campaign isn’t ready
The query answers from the workspace knowledge graph, where a campaign’s responses are indexed as interviews complete. Until at least one response is indexed the route returns409 Conflict with Campaign knowledge is not ready (status: …) — not_started (no completed interview yet), not_indexed (indexing still running), provisioning (the workspace graph is being set up), not_configured or failed. Check the status with:
status (ready once the query answers), conversations_total (completed interviews), conversations_ingested (indexed), conversations_failed and is_processing; /graph/status/stream delivers the same payload as server-sent events until it is ready or failed.