Instead of stitching together API calls, you can describe a campaign declaratively in a YAML file and create it withDocumentation Index
Fetch the complete documentation index at: https://docs.ontora.com/llms.txt
Use this file to discover all available pages before exploring further.
ontora campaigns create -c campaign.yaml.
Example
--start, launch with ontora campaigns start <id> when you’re ready.
For larger contact lists, leave contacts out of the YAML and import them after creation:
Field reference
Top-level
| Field | Required | Description |
|---|---|---|
name | yes | Display name |
goal | yes | Research goal — drives agent behavior |
description | no | Internal context |
channel | yes | in_app_chat, voice, calendar, etc. |
duration_minutes | no | Soft limit per conversation |
interview_context_for_employee | no | Shown to participants before the conversation |
success_criteria | no | Free-form description used during synthesis |
topics | yes | Array — see below |
contacts | no | Array — see below |
Topic
| Field | Required | Description |
|---|---|---|
name | yes | Topic title |
goal | yes | What we want to learn |
priority | no | high | medium | low |
success_threshold | no | 0.0–1.0; share of contacts that should cover this topic |
sub_topics | no | Array of strings |
questions | no | Array of starter questions (the agent improvises follow-ups) |
Contact
ontora contacts import <id> contacts.csv after creating the campaign — see Commands. CSV columns: name,email,phone,job_title,department,seniority. Only name is required.