Skip to main content
POST
/
v1
/
batched-grid-workflow
/
completions
{
  "job_id": "<string>",
  "name": "<string>",
  "description": "<string>",
  "status": "<string>",
  "outputs": "<any>",
  "usage": {
    "input_tokens": 123,
    "output_tokens": 123,
    "total_tokens": 123,
    "token_cost": 123,
    "cost_per_agent": 123
  },
  "timestamp": "<string>"
}

Headers

x-api-key
string
required

Body

application/json
name
string | null

The name of the batched grid workflow.

description
string | null

The description of the batched grid workflow.

agent_completions
AgentSpec · object[] | null

The agent completions to be completed by the batched grid workflow.

tasks
string[] | null

The tasks to be completed by the batched grid workflow.

max_loops
integer | null

The maximum number of loops to be completed by the batched grid workflow.

imgs
string[] | null

The images to be used by the batched grid workflow.

Response

Successful Response

job_id
string
required

The job ID of the batched grid workflow.

name
string
required

The name of the batched grid workflow.

description
string
required

The description of the batched grid workflow.

status
string
required

The status of the batched grid workflow.

outputs
any
required

The outputs of the batched grid workflow.

usage
object
required

The usage of the batched grid workflow.

timestamp
string
required

The timestamp of the batched grid workflow.