pause executeflow
POST
https://api.wexa.ai/execute_flow/{execution_id}/pause
Last modified:2025-04-25 09:35:23
Pause Execution Flow
execution_id
. This endpoint allows you to halt the execution of an AgentFlow, enabling intervention for review, adjustments, or other necessary actions before resuming. Pausing an execution ensures that workflows can be managed with greater control and flexibility, aligning with dynamic operational requirements.Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request POST 'https://api.wexa.ai/execute_flow//pause?projectID={{projectID}}' \
--header 'x-api-key: {{x-api-key}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"projectID":"67fdea40aac77be632954f13",
"execution_id":"56d246cc-2803-41a7-a90d-c1c3d4672240"
}'
Response Response Example
{
"execution_id": "56d246cc-2803-41a7-a90d-c1c3d4672240",
"status": "paused"
}
Request
Path Params
execution_id
string
required
Query Params
projectID
string
required
Example:
{{projectID}}
Header Params
x-api-key
string
required
Example:
{{x-api-key}}
Body Params application/json
Responses
Modified at 2025-04-25 09:35:23