Skip to main content
POST
/
api
/
v1
/
executions
/
create
Create Execution Record
curl --request POST \
  --url https://control-plane.kubiya.ai/api/v1/executions/create \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "execution_id": "<string>",
  "organization_id": "<string>",
  "entity_type": "<string>",
  "prompt": "<string>",
  "trigger_type": "<string>",
  "trigger_metadata": {},
  "job_id": "<string>",
  "entity_id": "<string>"
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Enter your Kubiya API token (format: Bearer )

Body

application/json

Request model for creating execution records from workers

execution_id
string
required
organization_id
string
required
entity_type
string
required
prompt
string
required
trigger_type
string
required
trigger_metadata
Trigger Metadata · object
required
job_id
string | null
entity_id
string | null

Response

Successful Response