Execute a single agent completion with the specified task. Supports both standard and streaming responses.
The configuration of the agent to be completed.
The task to be completed by the agent.
The history of the agent's previous tasks and responses. Can be either a dictionary or a list of message objects.
A base64 encoded image for the agent to process. Encode your image file to base64 and pass it here.
A list of base64 encoded images for the agent to process. Encode your image files to base64 and pass them here.
A list of tools that the agent should use to complete its task.
Successful Response
The unique identifier for the agent completion.
Indicates whether the agent completion was successful.
The name of the agent.
A description of the agent or completion.
The temperature setting used for the agent's response generation.
The outputs generated by the agent.
Usage statistics or metadata for the agent completion.
The timestamp when the agent completion was created.