Agents

Create interactive chat session

Creates a persistent chat session backed by a Daytona or Vercel runtime. Session state is retained and can be resumed or recovered across requests.

post/agent/v1/chat

Request body

titlestring

Optional human-readable session title

modelstring nullable

Optional model override for the chat runtime session

idleTimeoutMsinteger nullable

Idle timeout before session is eligible for snapshot/termination. Defaults to 15 minutes.

vaultIdsstring[] nullable

Restrict the chat session to specific vault IDs

Response

Chat session created

idstring
statusstring
idleTimeoutMsinteger
createdAtstring date-time

Changes

No recorded changes to this endpoint across all 44 revisions of this API.