Skip to main content

Synopsis

Description

Execute a deployed agent with input data and receive the response.

Options

Examples

Basic Usage

Streaming

Input Format

The input must be valid JSON:

Response Format

The CLI and SDK now return a minimal payload when the execution completes:
  • data contains the agent output encoded with serialize_object_to_structured, so the CLI/SDK can deterministically decode every result type.
  • Full execution metadata (runtime, VM, invocation ID, etc.) remains available through the local invocation history endpoints and the RunAgent dashboard/middleware.
Error responses keep the same envelope but include an error object with diagnostic fields.

See Also