Azure Synapse Analytics Pipeline API

The Pipeline API from Azure Synapse Analytics — 4 operation(s) for pipeline.

Documentation

📖
Documentation
https://learn.microsoft.com/en-us/rest/api/synapse/workspace
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/synapse/sqlpools
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/synapse/bigdatapool
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/synapse/data-plane/pipeline
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/synapse/data-plane/spark
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/synapse/data-plane/monitoring
📖
Documentation
https://learn.microsoft.com/en-us/azure/synapse-analytics/synapse-link/
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/synapse/data-plane/role-assignments
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/synapse/data-plane/notebook
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/synapse/data-plane/dataset
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/synapse/data-plane/linked-service
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/synapse/data-plane/data-flow
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/synapse/data-plane/sql-script
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/synapse/data-plane/trigger
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/synapse/data-plane/spark-job-definition
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/synapse/data-plane/managed-private-endpoints
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/synapse/data-plane/integration-runtimes
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/synapse/data-plane/library
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/synapse/data-plane/git-integration
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/synapse/ip-firewall-rules
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/synapse/keys
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/synapse/private-endpoint-connections
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/synapse/private-link-hubs
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/synapse/kusto-pools
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/synapse/azure-ad-only-authentications
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/synapse/data-plane/spark-configuration
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/synapse/data-plane/data-flow-debug-session
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/synapse/data-plane/credential
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/synapse/data-plane/kql-script
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/synapse/data-plane/link-connection

Specifications

Schemas & Data

📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/microsoft-azure-synapse-analytics/refs/heads/main/json-schema/azure-synapse-analytics-workspace-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/microsoft-azure-synapse-analytics/refs/heads/main/json-schema/azure-synapse-analytics-sql-pool-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/microsoft-azure-synapse-analytics/refs/heads/main/json-schema/azure-synapse-analytics-spark-pool-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/microsoft-azure-synapse-analytics/refs/heads/main/json-schema/azure-synapse-analytics-pipeline-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/microsoft-azure-synapse-analytics/refs/heads/main/json-schema/azure-synapse-analytics-spark-batch-job-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/microsoft-azure-synapse-analytics/refs/heads/main/json-schema/azure-synapse-analytics-role-assignment-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/microsoft-azure-synapse-analytics/refs/heads/main/json-schema/azure-synapse-analytics-notebook-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/microsoft-azure-synapse-analytics/refs/heads/main/json-schema/azure-synapse-analytics-dataset-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/microsoft-azure-synapse-analytics/refs/heads/main/json-schema/azure-synapse-analytics-linked-service-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/microsoft-azure-synapse-analytics/refs/heads/main/json-schema/azure-synapse-analytics-trigger-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/microsoft-azure-synapse-analytics/refs/heads/main/json-schema/azure-synapse-analytics-firewall-rule-schema.json

Other Resources

OpenAPI Specification

microsoft-azure-synapse-analytics-pipeline-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Azure Synapse Analytics - Access Control AzureADOnlyAuthentications Pipeline API
  description: Manage role assignments, role definitions, and access control for Synapse workspace resources. Supports Synapse role-based access control for fine-grained permissions.
  version: '2020-12-01'
  contact:
    name: Microsoft Azure Support
    url: https://azure.microsoft.com/en-us/support/
  license:
    name: Microsoft
    url: https://azure.microsoft.com/en-us/support/legal/
servers:
- url: https://{workspaceName}.dev.azuresynapse.net
  description: Synapse Data Plane
  variables:
    workspaceName:
      description: The workspace name.
      default: myworkspace
security:
- azure_auth:
  - user_impersonation
tags:
- name: Pipeline
paths:
  /pipelines:
    get:
      operationId: Pipeline_GetPipelinesByWorkspace
      summary: Azure Synapse Analytics List pipelines
      description: Lists pipelines in the workspace.
      tags:
      - Pipeline
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      responses:
        '200':
          description: Successfully retrieved the list of pipelines.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PipelineListResponse'
        default:
          description: Error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /pipelines/{pipelineName}:
    get:
      operationId: Pipeline_GetPipeline
      summary: Azure Synapse Analytics Get a pipeline
      description: Gets a pipeline.
      tags:
      - Pipeline
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/PipelineNameParameter'
      - name: If-None-Match
        in: header
        description: ETag of the pipeline entity. Should only be specified for get. If the ETag matches the existing entity tag, or if * was provided, then no content will be returned.
        schema:
          type: string
      responses:
        '200':
          description: Successfully retrieved the pipeline.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PipelineResource'
        '304':
          description: Not modified.
        default:
          description: Error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    put:
      operationId: Pipeline_CreateOrUpdatePipeline
      summary: Azure Synapse Analytics Create or update a pipeline
      description: Creates or updates a pipeline.
      tags:
      - Pipeline
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/PipelineNameParameter'
      - name: If-Match
        in: header
        description: ETag of the pipeline entity. Should only be specified for update, for which it should match existing entity or can be * for unconditional update.
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PipelineResource'
      responses:
        '200':
          description: Successfully updated the pipeline.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PipelineResource'
        '202':
          description: Pipeline creation accepted.
        default:
          description: Error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    delete:
      operationId: Pipeline_DeletePipeline
      summary: Azure Synapse Analytics Delete a pipeline
      description: Deletes a pipeline.
      tags:
      - Pipeline
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/PipelineNameParameter'
      responses:
        '200':
          description: Successfully deleted the pipeline.
        '202':
          description: Pipeline deletion accepted.
        '204':
          description: Pipeline not found.
        default:
          description: Error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /pipelines/{pipelineName}/rename:
    post:
      operationId: Pipeline_RenamePipeline
      summary: Azure Synapse Analytics Rename a pipeline
      description: Renames a pipeline.
      tags:
      - Pipeline
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/PipelineNameParameter'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ArtifactRenameRequest'
      responses:
        '200':
          description: Successfully renamed the pipeline.
        '202':
          description: Pipeline rename accepted.
        default:
          description: Error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /pipelines/{pipelineName}/createRun:
    post:
      operationId: Pipeline_CreatePipelineRun
      summary: Azure Synapse Analytics Create a pipeline run
      description: Creates a run of a pipeline.
      tags:
      - Pipeline
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/PipelineNameParameter'
      - name: referencePipelineRunId
        in: query
        description: The pipeline run identifier. If specified, the new run will be grouped with the specified run.
        schema:
          type: string
      - name: isRecovery
        in: query
        description: Recovery mode flag. If true, the specified referenced pipeline run will be used for recovery.
        schema:
          type: boolean
      - name: startActivityName
        in: query
        description: In recovery mode, the rerun will start from this activity.
        schema:
          type: string
      requestBody:
        description: Pipeline parameters for the run. These are optional.
        content:
          application/json:
            schema:
              type: object
              additionalProperties: true
      responses:
        '202':
          description: Pipeline run created.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateRunResponse'
        default:
          description: Error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    CreateRunResponse:
      type: object
      description: Response body with a run identifier.
      properties:
        runId:
          type: string
          description: Identifier of the created run.
    ParameterSpecification:
      type: object
      properties:
        type:
          type: string
          enum:
          - Object
          - String
          - Int
          - Float
          - Bool
          - Array
          - SecureString
        defaultValue:
          description: Default value of the parameter.
    Activity:
      type: object
      description: A pipeline activity.
      required:
      - name
      - type
      properties:
        name:
          type: string
          description: Activity name.
        type:
          type: string
          description: Type of activity.
        description:
          type: string
          description: Activity description.
        dependsOn:
          type: array
          items:
            type: object
            properties:
              activity:
                type: string
              dependencyConditions:
                type: array
                items:
                  type: string
                  enum:
                  - Succeeded
                  - Failed
                  - Skipped
                  - Completed
    VariableSpecification:
      type: object
      properties:
        type:
          type: string
          enum:
          - String
          - Bool
          - Array
        defaultValue:
          description: Default value of the variable.
    PipelineListResponse:
      type: object
      description: A list of pipeline resources.
      properties:
        value:
          type: array
          items:
            $ref: '#/components/schemas/PipelineResource'
        nextLink:
          type: string
    ArtifactRenameRequest:
      type: object
      properties:
        newName:
          type: string
          description: New name of the artifact.
    PipelineResource:
      type: object
      description: Pipeline resource.
      properties:
        id:
          type: string
          readOnly: true
        name:
          type: string
          readOnly: true
        type:
          type: string
          readOnly: true
        etag:
          type: string
          readOnly: true
        properties:
          $ref: '#/components/schemas/Pipeline'
    ErrorResponse:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
    Pipeline:
      type: object
      description: A pipeline definition.
      properties:
        description:
          type: string
          description: The description of the pipeline.
        activities:
          type: array
          items:
            $ref: '#/components/schemas/Activity'
          description: List of activities in the pipeline.
        parameters:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/ParameterSpecification'
          description: Pipeline parameters.
        variables:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/VariableSpecification'
          description: Pipeline variables.
        concurrency:
          type: integer
          description: The max number of concurrent runs for the pipeline.
        annotations:
          type: array
          items:
            type: string
          description: List of tags that can be used for describing the pipeline.
        folder:
          type: object
          properties:
            name:
              type: string
              description: The name of the folder that this pipeline is in.
  parameters:
    ApiVersionParameter:
      name: api-version
      in: query
      required: true
      schema:
        type: string
        default: '2020-12-01'
    PipelineNameParameter:
      name: pipelineName
      in: path
      required: true
      description: The pipeline name.
      schema:
        type: string
  securitySchemes:
    azure_auth:
      type: oauth2
      flows:
        implicit:
          authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
          scopes:
            user_impersonation: impersonate your user account