Send a message to an agent
Sends a message to a deployed agent and returns a job ID that can be used to poll for the response. Requires the api:agent:message:* scope.
post/agents/sendMessage
Request body
Example request
{
"agentId": "cc3fd192-ea62-11f0-99fd-03d6b2458fff",
"message": "What documents do we have about Q4 planning?",
"conversation": {
"type": "new",
"dataInputVariableSelections": null
}
}Response
Message sent successfully
Example response
{
"jobId": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"
}Changes
Changed in 3 of the 5 revisions of this API.3
- ○
api operation id
agents_sendMessageremoved and replaced withapi-operation-id-removed
- ○
- ○
api operation id
agents_sendMessagewas addedapi-operation-id-added
- ○
- ○
endpoint added
endpoint-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○