Control
Cancel running executions and read their control state (inject is refused, #1530)
Cancel Execution Endpoint
Path Parameters
execution_id*string
Request Body
application/json
reason?|
Response Body
application/json
application/json
curl -X POST "https://loading/executions/string/cancel" \ -H "Content-Type: application/json" \ -d '{}'{
"success": true,
"execution_id": "string",
"state": "string",
"applied": true,
"message": "string",
"error": "string"
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Inject Context Endpoint
Path Parameters
execution_id*string
Request Body
application/json
message*string
role?string
Default
"user"Value in
"user" | "system"Response Body
application/json
application/json
curl -X POST "https://loading/executions/string/inject" \ -H "Content-Type: application/json" \ -d '{ "message": "string" }'{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}{
"detail": "string"
}Get Execution State Endpoint
Path Parameters
execution_id*string
Response Body
application/json
application/json
curl -X GET "https://loading/executions/string/state"{
"execution_id": "string",
"state": "string"
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}