Skip to main content
POST
Chat with agent

Authorizations

better-auth.session_token
string
cookie
required

Session cookie set by Better Auth on sign-in.

x-workspace-id
string
header
required

Workspace UUID. Required on all /api/* endpoints.

Path Parameters

id
string<uuid>
required

Body

application/json

Send a chat message to an agent (playground/builder)

message
string
required
Minimum string length: 1
history
any[]
sessionId
string
configOverrides
object

Response

Agent response

response
string
required
sessionId
string
required
{key}
any