Skip to main content
POST
/
v1
/
tasks
/
{taskId}
/
stop
Stop task
curl --request POST \
  --url https://capy.ai/api/v1/tasks/{taskId}/stop \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "reason": "<string>"
}
'
{
  "id": "<string>",
  "identifier": "<string>",
  "status": "backlog"
}

Authorizations

Authorization
string
header
required

API token (capy_xxxx). Generate at capy.ai/settings/tokens

Path Parameters

taskId
string
required

Task identifier. Accepts both UUID and PREFIX-NNN formats.

Body

application/json
reason
string

Response

Success

id
string
required
identifier
string
required
status
enum<string>
required
Available options:
backlog,
queued,
in_progress,
needs_review,
archived