Create session
Create a new OpenCode session for interacting with AI assistants and managing conversations.
post/session
Query parameters
directorystring
workspacestring
Request body
Response
Successfully created session
Create a new OpenCode session for interacting with AI assistants and managing conversations.
Successfully created session