curl --request POST \
--url https://control-plane.kubiya.ai/api/v1/executions/job-executions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"execution_id": "<string>",
"entity_type": "<string>",
"prompt": "<string>",
"trigger_type": "<string>",
"job_id": "<string>",
"entity_id": "<string>",
"trigger_metadata": {}
}
'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Create execution and job_executions records for a scheduled job.
This endpoint is used by workers to create execution records when jobs are triggered. It creates both:
Available at both /job-executions and /create for backwards compatibility.
curl --request POST \
--url https://control-plane.kubiya.ai/api/v1/executions/job-executions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"execution_id": "<string>",
"entity_type": "<string>",
"prompt": "<string>",
"trigger_type": "<string>",
"job_id": "<string>",
"entity_id": "<string>",
"trigger_metadata": {}
}
'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Enter your Kubiya API token (format: Bearer
Successful Response
Was this page helpful?