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>"
}
]
}Create execution and job_executions records for scheduled jobs.
This endpoint is used by workers to create execution records via HTTP instead of directly accessing the database.
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>"
}
]
}Enter your Kubiya API token (format: Bearer
Successful Response
Was this page helpful?