Request to run an agent. A request MUST supply either messages (a non-empty conversation) or input (for input-form triggered agents).
| Field | Type | Required | Description |
|---|---|---|---|
input |
Map<String, Object> | ➖ | Input fields for an input-form triggered agent. |
messages |
List<PlatformMessage> | ➖ | Messages to pass to the agent. When provided, the array MUST contain at least one message and each message MUST specify a valid role and non-empty content. |
metadata |
Map<String, Object> | ➖ | Metadata to pass to the agent. |
stream |
Optional<Boolean> | ➖ | Whether to stream the run response as server-sent events. |