Platform API
Activities
Connectors
Sources
Transformations
Destinations
Visualizations
API Tokens
Runs
Cancel Run
POST
/
api
/
v1
/
runs
/
{id}
/
cancel
/
Copy
Ask AI
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 '{}'
Copy
Ask AI
{
"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
API Key authentication. Format: 'x-api-key: api_key'
Path Parameters
A UUID string identifying this Pipeline run.
Body
Response
200 - application/json
The response is of type object
.
Was this page helpful?
Copy
Ask AI
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 '{}'
Copy
Ask AI
{
"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>"
}
Assistant
Responses are generated using AI and may contain mistakes.