Skip to main content
Opik Documentation

Search documentation

Type to search this documentation.

Create local runner job

POST/v1/private/local-runners/jobsCreate local runner job

Create a local runner job and enqueue it for execution

Request body

application/json
objectCreateLocalRunnerJobRequest
agent_namestringrequired

minLength 1

blueprint_namestring

pattern (?s)^\s*(\S.*\S|\S)\s*$

inputsobject
mask_idstring · uuid

Deprecated. Use prompt_masks to pass one or more mask overlays keyed by prompt id.

metadataobject
Show child attributes
dataset_idstring · uuid
dataset_item_idstring · uuid
dataset_item_version_idstring · uuid
dataset_version_idstring · uuid
project_idstring · uuidrequired
prompt_masksobject

Mask overlays to apply during agent execution, keyed by prompt id.

Example request
{
  "agent_name": "string",
  "blueprint_name": "string",
  "inputs": {},
  "mask_id": "00000000-0000-0000-0000-000000000000",
  "metadata": {
    "dataset_id": "00000000-0000-0000-0000-000000000000",
    "dataset_item_id": "00000000-0000-0000-0000-000000000000",
    "dataset_item_version_id": "00000000-0000-0000-0000-000000000000",
    "dataset_version_id": "00000000-0000-0000-0000-000000000000"
  },
  "project_id": "00000000-0000-0000-0000-000000000000",
  "prompt_masks": {
    "additionalProp1": "00000000-0000-0000-0000-000000000000"
  }
}

Responses

201Job created

Headers

Location

URI of the job

404Not foundapplication/json
objectErrorMessage
codeinteger · int32
detailsstring
messagestring
Example response
{
  "code": 0,
  "details": "string",
  "message": "string"
}
409Conflictapplication/json
objectErrorMessage
codeinteger · int32
detailsstring
messagestring
Example response
{
  "code": 0,
  "details": "string",
  "message": "string"
}
Documentation menu