Skip to main content
POST
Send a message to the published agent

Authorizations

Authorization
string
header
required

A workspace API key, sent as Authorization: Bearer sempera_sk_... Each operation names the one scope it needs. Scopes, key kinds and roles are in the Authentication guide.

Path Parameters

agent_id
string
required

Body

application/json
message
string
required
Required string length: 1 - 4000
session_id
string

Response

OK

id
string
required
object
enum<string>
required
Available options:
chat
agent_id
string
required
channel
enum<string>
required
Available options:
api_chat
reply
string
ended
boolean
tool_policy
enum<string>
Available options:
preview
expires_in_seconds
integer
note
string