Pause running task
POST
https://api.wexa.ai/task/{id}/pause
Last modified:2025-04-25 11:46:11
Pause a Specific Task
task_id
. Pausing a task halts its current execution, allowing you to temporarily suspend its operations without losing its state or progress.Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.wexa.ai/task//pause' \
--header 'x-api-key: {{x-api-key}}'
Response Response Example
{
"_id": "680716d41a9ea363140a265c",
"projectID": "67fdea40aac77be632954f13",
"created_at": 1745295060.584305,
"updated_at": 1745295060.584308,
"status": "in_preview",
"created_by": "67fdea40aac77be632954f0e",
"execution_ids": [
"3cbdb27a-8bff-4a65-a9d2-75702f9397fc"
],
"execution_nodes": [
{
"execution_id": "3cbdb27a-8bff-4a65-a9d2-75702f9397fc",
"_id": "680716d41a9ea363140a265b",
"execution_type": "execution",
"children": []
}
],
"name": "content creator testing"
}
Request
Path Params
id
string
required
Header Params
x-api-key
string
required
Example:
{{x-api-key}}
Responses
Modified at 2025-04-25 11:46:11