This repository contains sample configuration files for testing the Vapi Config Editor application. The files are organized by category and demonstrate various configuration patterns for the Vapi platform.
vapi-config-samples/
├── core-resources/ # Core Vapi resources
│ ├── *.assistant.json # AI assistant configurations
│ ├── *.call.json # Call configurations
│ ├── *.phone.json # Phone number configurations
│ └── *.squad.json # Squad (team) configurations
├── tools-integrations/ # Tool and integration configs
│ ├── *.tool.api.json # API tool configurations
│ ├── *.tool.function.json # Function tool configurations
│ └── *.tool.sms.json # SMS tool configurations
├── automation-workflows/ # Automation configurations
│ ├── *.workflow.json # Workflow definitions
│ └── *.campaign.json # Campaign configurations
├── data-knowledge/ # Data and knowledge base configs
│ ├── *.knowledge.json # Knowledge base configurations
│ └── *.kb.json # Alternative KB naming
├── templates/ # Template configurations
│ └── *.json # Reusable config templates
└── edge-cases/ # Edge cases for testing
└── *.json # Invalid/malformed configs
The Config Editor uses file naming patterns to detect configuration types:
- Assistants:
*.assistant.jsonorassistant*.json - Calls:
*.call.jsonorcall*.json - Phone Numbers:
*.phone.jsonorphone*.json - Squads:
*.squad.jsonorsquad*.json - Workflows:
*.workflow.jsonorworkflow*.json - Campaigns:
*.campaign.jsonorcampaign*.json - Knowledge Bases:
*.knowledge.jsonor*.kb.json - Tools:
*.tool.{type}.json(e.g.,*.tool.api.json)
Located in core-resources/, assistant configs define AI agents with:
- Model settings (provider, temperature, tokens)
- Voice configuration (provider, voice ID, settings)
- Tools and functions
- Behavioral settings
Call configs define outbound or inbound call settings:
- Phone number and assistant IDs
- Call metadata
- Recording settings
- Duration limits
Tools extend assistant capabilities:
- API Tools: External API integrations
- Function Tools: Custom function definitions
- SMS Tools: Text messaging capabilities
- Transfer Tools: Call routing logic
Workflows define multi-step automations:
- Triggers (webhooks, schedules)
- Sequential or conditional steps
- Error handling
- Notifications
- The editor should correctly categorize all files in their respective sections
- Files in
edge-cases/should either fail validation or be ignored
- Valid configs should pass schema validation
edge-cases/malformed-assistant.jsonshould show validation errors
- Modify any configuration file
- Ensure changes are tracked as "dirty"
- Validate that schema checking works in real-time
- Create a feature branch
- Commit changes to a config file
- Create a pull request
When using these configs, you may need to replace placeholders:
${API_KEY}- Your API authentication key${TRIEVE_API_KEY}- Trieve knowledge base API key${CUSTOM_KB_API_KEY}- Custom knowledge base API key
All configurations follow the Vapi API schema available at: https://api.vapi.ai/api-extended-json
The Config Editor will automatically load and validate against these schemas.
When adding new sample configurations:
- Follow the naming conventions
- Include all required fields per schema
- Add realistic example data
- Document any special features used
These sample configurations are provided for testing purposes only.