Run agent (single-shot)
Runs
Run agent (single-shot)
Execute the agent with one or more messages. By default a session is created and persisted. Pass persist=false for an ephemeral run that leaves no persisted session.
POST
Run agent (single-shot)
Autorizações
Parâmetros de caminho
Corpo
application/json
Required array length:
1 - 10 elementsReference to a user when creating a session. Lookup-only. Use POST /users to create users.
Free-form key/value pairs injected into the agent's system context for this run.
Integrator-defined storage. Not seen by the agent.
If true, a session is created and persisted. If false, the run is intended to be ephemeral (current implementation still persists; this will change in a future release).