v4

OpenAPI 3.0.12026-08-0149261422.6 KB
Sessions

Add a message to a session

Adds a user message and optionally waits for agent completion. Supports text, images, and file attachments. This feature is enabled for selected organizations only.

post/api/v0/sessions/{sessionId}/messages

Path parameters

sessionIdstring required

Request body

textstring required

Message text content

computerIdstring

Computer ID to route the message to; falls back to the session.computerId if omitted

Response

Response for status 200

messageIdstring required

ID of the created user message

status'idle' | 'pending' | 'running' required

Agent status after message submission