provider maxconversations POST
/api/environments/{environment_id}/conversations/{conversation}/open/ @utdk/posthog
/api/environments/{environment_id}/conversations/{conversation}/open/ environments_conversations_open_create
Create-or-resume a sandbox conversation — the single sandbox session opener. With `content`, processes the turn (first message, in-progress follow-up, or terminal resume); without `content`, warms a sandbox that idles awaiting the first message. Returns the `(task, run)` handle the frontend opens SSE against. The conversation row is created on first use from the URL id.
- conversation path required
- A UUID string identifying this conversation.
- string
- environment_id path required
- Deprecated. Use /api/projects/{project_id}/ instead.
- string
Try it
Authentication
Configure credentials for PostHog API
Code snippet
Updates live as you fill in the form above.
TypeScript
import posthog from '@utdk/posthog';
await posthog.environmentsConversationsOpenCreate()