Starts a new turn in a session. If the session doesn’t exist, it’s created automatically.
To continue an existing session, pass the same session_id from a previous turn.
To start a fresh session, generate a new UUID for session_id.
After calling this endpoint, connect to the WebSocket at /ws/sessions/{sessionId}
to receive real-time execution updates.
API key from Raccoon AI
Session ID. Use the same ID to continue an existing session, or generate a new UUID for a fresh session.
Natural language description of what you want the agent to do
Execution mode:
auto: General-purpose mode for any taskplan: Creates a detailed plan before executiondeepsearch: Optimized for web research and data analysisslides: Generates presentation slidescode: Optimized for coding tasksauto, plan, deepsearch, slides, code Files from the upload endpoint
SDK version (optional)
fast, think Base prompt or system instructions (optional)
Reference objects for additional context (optional)
Conversation history for continuation (optional)
Continuation data as JSON string (optional)