Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.ontora.com/llms.txt

Use this file to discover all available pages before exploring further.

All tools operate within the workspace bound to the API key. Each tool requires the scope listed alongside it.

Campaigns

list_campaigns

Lists campaigns in the workspace. Requires interviews.
ParameterTypeNotes
status"draft" | "active" | "paused" | "completed"Optional filter
Returns: array of campaign summaries with contact counts.

get_campaign

Fetches a single campaign by id. Requires interviews.
ParameterType
interview_idstring (UUID)

create_campaign

Creates a new campaign. Requires interviews.
ParameterTypeNotes
namestringDisplay name
goalstringResearch goal
descriptionstringOptional
channel"in_app_chat" | "voice" | ...Conversation channel
topicsarrayTopic objects with goals and questions
contactsarrayOptional initial contact list

start_campaign / pause_campaign

Lifecycle controls. Each takes interview_id and returns the new status.

add_contacts

Bulk-adds contacts. Requires interviews.
ParameterType
interview_idstring (UUID)
contactsarray of {name, email, department?, job_title?, seniority_level?}

get_progress

Returns total / completed / completion percent.

Transcripts

list_conversations

Lists conversations in a campaign. Requires interviews.
ParameterTypeNotes
interview_idstring (UUID)
status"completed" | "in_progress"Optional filter

get_transcript

Returns full transcript text plus contact metadata. Requires interviews.
ParameterType
interview_idstring (UUID)
conversation_idstring (UUID)

export_transcript_markdown

Returns the transcript rendered as Markdown. Requires exports.

export_report_markdown

Returns the full synthesis report (cartography + roadmap + personas) as Markdown. Requires exports.

Synthesis

get_roadmap

Returns solutions grouped by horizon. Requires interviews.

get_personas

Returns per-contact personas, optionally filtered by department. Requires interviews.
ParameterTypeNotes
interview_idstring (UUID)
departmentstringOptional filter

query_campaign

Runs a GraphRAG query across the campaign’s transcripts. Requires interviews.
ParameterTypeNotes
interview_idstring (UUID)
querystringNatural-language question
anonymizeboolDefault false
top_kintChunk retrieval depth
Returns: {answer, patterns[], divergences[], verifications[]}.

Webhooks

list_webhooks

Returns the workspace’s webhook subscriptions. Requires webhooks.

add_webhook

Creates a subscription. Requires webhooks.
ParameterTypeNotes
urlstringYour endpoint
eventsarray of stringsEmpty = all events
descriptionstringOptional
Returns {id, secret, url, events} — the secret is only shown here.

remove_webhook

Deletes a subscription. Requires webhooks.
ParameterType
endpoint_idstring