Send a message to an agent.
Authorization: Bearer <token> header.
api or discordcollect or interrupt| Mode | Description |
|---|---|
collect | Batches the message for processing when the agent finishes its current task. This is the default behavior. |
interrupt | Cancels the agent’s current task and processes your message immediately. |
| Code | Description |
|---|---|
201 | Message sent successfully |
400 | Invalid request (validation error) |
401 | Unauthorized - invalid or missing authentication |
404 | Agent not found |
503 | Agent unavailable (stopped or error state) |