Airbyte · Arazzo Workflow

Airbyte Find and Cancel a Running Job

Version 1.0.0

List the running jobs for a connection, branch on whether any are running, then cancel the first one and confirm the cancellation.

1 workflow 1 source API 1 provider
View Spec View on GitHub Data IntegrationETLELTOpen-SourceData PipelineConnectorsDataArazzoWorkflows

Provider

airbyte

Workflows

cancel-running-job
Find a running job for a connection and cancel it.
Lists running jobs for a connection, and if any are running cancels the first and confirms the cancellation.
3 steps inputs: connectionId outputs: finalStatus, jobId
1
listRunningJobs
List the jobs for the connection filtered to the running status. Branch on whether any running jobs were returned.
2
cancelJob
Cancel the first running job returned by the list step.
3
confirmCancelled
Read the job back by id to confirm it has been cancelled rather than having completed in the interim.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Airbyte Find and Cancel a Running Job
  summary: List the running jobs for a connection, branch on whether any are running, then cancel the first one and confirm the cancellation.
  description: >-
    An operational flow for stopping in-flight syncs. It lists the jobs for a
    connection filtered to the running status and branches: when a running job
    exists it cancels the first one and reads the job back to confirm it has
    moved to a cancelled status; when nothing is running it ends without taking
    action. Every step inlines its request so the flow can be read and executed
    without opening the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: publicJobsApi
  url: ../openapi/airbyte-public-jobs-api-openapi.yml
  type: openapi
workflows:
- workflowId: cancel-running-job
  summary: Find a running job for a connection and cancel it.
  description: >-
    Lists running jobs for a connection, and if any are running cancels the
    first and confirms the cancellation.
  inputs:
    type: object
    required:
    - connectionId
    properties:
      connectionId:
        type: string
        description: The UUID of the connection whose running jobs should be cancelled.
  steps:
  - stepId: listRunningJobs
    description: >-
      List the jobs for the connection filtered to the running status. Branch
      on whether any running jobs were returned.
    operationId: listJobs
    parameters:
    - name: connectionId
      in: query
      value: $inputs.connectionId
    - name: status
      in: query
      value: running
    - name: limit
      in: query
      value: 100
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      jobId: $response.body#/data/0/jobId
      jobs: $response.body#/data
    onSuccess:
    - name: hasRunning
      type: goto
      stepId: cancelJob
      criteria:
      - context: $response.body
        condition: $.data.length > 0
        type: jsonpath
    - name: noneRunning
      type: end
      criteria:
      - context: $response.body
        condition: $.data.length == 0
        type: jsonpath
  - stepId: cancelJob
    description: Cancel the first running job returned by the list step.
    operationId: cancelJob
    parameters:
    - name: jobId
      in: path
      value: $steps.listRunningJobs.outputs.jobId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      jobId: $response.body#/jobId
      status: $response.body#/status
  - stepId: confirmCancelled
    description: >-
      Read the job back by id to confirm it has been cancelled rather than
      having completed in the interim.
    operationId: getJob
    parameters:
    - name: jobId
      in: path
      value: $steps.cancelJob.outputs.jobId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      status: $response.body#/status
  outputs:
    jobId: $steps.cancelJob.outputs.jobId
    finalStatus: $steps.confirmCancelled.outputs.status

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/airbyte-cancel-running-job-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.