Send a message to an agent endpoint
launch().
{path} is the path specified when calling agent.launch(path="/your-path").
| Header | Value | Required |
|---|---|---|
Content-Type | application/json | Yes |
X-API-Key | your-api-key | If configured |
| Field | Type | Required | Description |
|---|---|---|---|
message | string | Yes | The message to send to the agent |
| Field | Type | Description |
|---|---|---|
response | string | The agent’s response |
| Status | Description |
|---|---|
400 | Bad request - missing or invalid message |
401 | Unauthorized - invalid API key |
500 | Internal server error |