Learn about Runs, the execution of an Agent’s task.
input
, which is a JSON object that conforms to the agent’s defined inputSchema
. This input provides the specific data and parameters the agent needs to complete its task. For example, if you have a research agent, the input might be {"topic": "AI in healthcare"}
. Learn more about how to define and use Inputs.pending
: The run has been created but has not yet started.running
: The agent is actively working on the task.done
: The agent has successfully completed the task.error
: The run failed due to an error.events
that provide a real-time log of its thought process and actions. These events include planning
, reasoning
, and tool_call
, giving you full visibility into how the agent is working towards its goal.resultData
. This can be a text document
or a structured json
object, depending on the agent’s configuration. If the agent used research tools, the result will also include a list of sources it consulted.