Skip to main content
POST
Send a message to a session

Authorizations

Authorization
string
header
required

API key: key id as the username, secret as the password. An account API key carries the same scopes as an OAuth token and is checked against the scopes listed under oauth2 on each operation. A trigger API key is limited to its trigger's workspace and reaches only the session operations that list this scheme alongside the oauth2 scopes.

Path Parameters

session_id
string<uuid>
required

Body

application/json
content
string
required

The message text

agent_id
string | null
selected_skills
string[] | null
mode
enum<string>
default:text
Available options:
text

Response

Successful response

id
string<uuid>
created_at
string<date-time>
updated_at
string<date-time>
task_id
string<uuid>
level
enum<string> | null

Severity of the line: INFO for ordinary output, ERROR for error-level output. Nullable for now; pre-existing rows have no level.

Available options:
INFO,
ERROR
message
string
Maximum string length: 65536
timestamp
string<date-time>

When the line was produced in the container (not received)

type
any