curl --request POST \
--url https://control-plane.kubiya.ai/api/v1/executions/{execution_id}/session \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Persist session history from worker to Control Plane database.
Worker POSTs session messages after each run completion. This ensures history is available even when worker is offline.
Sessions are stored in database for fast loading by the UI streaming endpoint.
curl --request POST \
--url https://control-plane.kubiya.ai/api/v1/executions/{execution_id}/session \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Was this page helpful?