Skip to main content
POST
/
v1
/
agent
/
batch
/
completions
{
  "batch_id": "<string>",
  "total_requests": 123,
  "results": "<any>",
  "execution_time": 123,
  "timestamp": "<string>"
}

Headers

x-api-key
string
required

Body

application/json · AgentCompletion · object[]
agent_config
object | null

The configuration of the agent to be completed.

task
string | null

The task to be completed by the agent.

history

The history of the agent's previous tasks and responses. Can be either a dictionary or a list of message objects.

img
string | null

An optional image URL that may be associated with the agent's task or representation.

imgs
string[] | null

A list of image URLs that may be associated with the agent's task or representation.

tools_enabled
string[] | null

A list of tools that the agent should use to complete its task.

Response

Successful Response

batch_id
string | null

The unique identifier for the agent batch completion.

total_requests
integer | null

The total number of requests in the batch.

results
any

The outputs generated by the agent.

execution_time
number | null

The execution time of the agent batch completion.

timestamp
string | null

The timestamp when the agent batch completion was created.

I