Skip to main content
POST
/
agent
/
messages
/
send
Send agent message
curl --request POST \
  --url http://localhost:3000/api/openapi/agent/messages/send \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "threadId": "<string>",
  "message": "<unknown>",
  "attachmentIds": [
    "<string>"
  ]
}
'
"<unknown>"

Authorizations

x-api-key
string
header
required

The API key to authenticate requests.

Body

application/json
threadId
string
required
message
any
required
attachmentIds
string[]
Maximum array length: 10
Minimum string length: 1

Response

200 - application/json

OK

The response is of type any.