Sessions
Create New Session
Create a new empty session with optional configuration. Useful for pre-creating sessions with specific session_state, metadata, or other properties before running any agent/team/workflow interactions. The session can later be used by providing its session_id in run requests.
post/sessions
Request
- The document declares no server URL.
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
type'agent' | 'team' | 'workflow'
Type of session to create (agent, team, or workflow)
db_idstring nullable
Database ID to create session in
Request body
Response
Session created successfully
Changes
No recorded changes to this operation across all 1 revision of this API.