Skip to main content
POST
/
v1
/
teams
/
{team_id}
/
tasks
/
{task_id}
/
executions
/
{execution_id}
/
stop
Cancel Execution
curl --request POST \
  --url https://api.dataraven.io/v1/teams/{team_id}/tasks/{task_id}/executions/{execution_id}/stop \
  --header 'Authorization: Bearer <token>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "task_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "execution_number": 123,
  "trigger": "manual",
  "status": "pending",
  "is_dry_run": true,
  "queued_at": "2023-11-07T05:31:56Z",
  "started_at": "2023-11-07T05:31:56Z",
  "completed_at": "2023-11-07T05:31:56Z",
  "duration_seconds": 123,
  "stats": {},
  "error_message": "<string>",
  "rclone_exit_code": 123,
  "log_file_url": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

task_id
string<uuid>
required
execution_id
string<uuid>
required
team_id
string<uuid>
required

Response

Successful Response

Base response schema for task execution.

id
string<uuid>
required
task_id
string<uuid>
required
execution_number
integer
required
trigger
enum<string>
required

Execution trigger types.

Available options:
manual,
scheduled,
api
status
enum<string>
required

Runtime execution status.

Available options:
pending,
running,
completed,
failed,
cancelled,
dry_run_completed
is_dry_run
boolean
required
queued_at
string<date-time>
required
started_at
string<date-time> | null
completed_at
string<date-time> | null
duration_seconds
integer | null
stats
Stats · object
error_message
string | null
rclone_exit_code
integer | null
log_file_url
string | null