Create an AI agent
create_agentCreate a first-class Skysay agent in external_audio, external_text, or hosted mode. Hosted agents can choose a shared stack and selected languages; locale overrides remain draft data until the explicit voice-stack publish command. An engine whose agent-catalog row says has_language_axis false (a voice-to-voice engine) refuses languages, language_profiles and follow_caller with a 400 naming the field and the engine.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| name | Yes | ||
| model | No | ||
| voice | No | ||
| language | No | ||
| languages | No | ||
| project_id | Yes | ||
| transcriber | No | ||
| webhook_url | No | ||
| begin_message | No | ||
| first_message | No | ||
| system_prompt | No | ||
| voice_frontend | No | Optional conversation engine. Omit or cascade keeps STT/LLM/TTS. gpt_live selects GPT-Live-1. Each engine declares whether it has a language axis as has_language_axis in get_agent_catalog. | |
| organization_id | No | Optional. Defaults to the authenticated workspace; when supplied it must be that workspace's id. | |
| audio_stream_url | No | ||
| language_profiles | No |