POST
/
api
/
v1
/
runs
/
{id}
/
cancel
/
curl --request POST \
  --url https://api.nekt.ai/api/v1/runs/{id}/cancel/ \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{}'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "started_at": "2023-11-07T05:31:56Z",
  "ended_at": "2023-11-07T05:31:56Z",
  "duration_seconds": 123,
  "status": "queued",
  "trigger": {
    "type": "<string>",
    "cron_expression": "<string>",
    "cron_timezone": "<string>",
    "event_rule": "<string>"
  },
  "full_sync": true,
  "extra_config": "<any>",
  "triggered_by": 123,
  "triggered_by_token": "<string>",
  "source": "<string>",
  "destination": "<string>",
  "transformation": "<string>"
}

Authorizations

x-api-key
string
header
required

API Key authentication. Format: 'x-api-key: api_key'

Path Parameters

id
string
required

A UUID string identifying this Pipeline run.

Body

Response

200 - application/json

The response is of type object.