Skip to main content
POST
Create Session

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Create a new chat session.

team_id
string<uuid> | null
workspace_id
string<uuid> | null
session_type
enum<string>
default:team_chat
Available options:
team_chat,
agent_chat,
model_chat
title
string | null

Response

Successful Response

Chat session metadata.

id
string<uuid>
required
session_type
string
required
title
string
required
status
string
required
message_count
integer
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
team_id
string<uuid> | null
team_type
string | null
team_display_name
string | null