Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 4.02 KB

File metadata and controls

14 lines (9 loc) · 4.02 KB

PlatformAgentRunCreateRequest

Request to run an agent. A request MUST supply either messages (a non-empty conversation) or input (for input-form triggered agents).

Fields

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.