Microsoft Fabric Long Running Operations API

The LongRunningOperations API from Microsoft Fabric — 2 operation(s) for longrunningoperations.

Operations 2

GET /operations/{operationId} Returns the current state of the long running operation #
GET /operations/{operationId}/result Returns the result of the long running operation #

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/microsoft-fabric:microsoft-fabric-longrunningoperations-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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.

OpenAPI Specification

microsoft-fabric-longrunningoperations-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Microsoft Fabric Platform REST Long Running Operations API
  version: v1
  x-source: 'https://github.com/microsoft/fabric-rest-api-specs (bundled from openapi/_original/fabric-rest-api-specs: platform/swagger.json)'
servers:
- url: https://api.fabric.microsoft.com/v1
security: []
tags:
- name: LongRunningOperations
paths:
  /operations/{operationId}:
    get:
      tags:
      - LongRunningOperations
      summary: Returns the current state of the long running operation
      description: 'You get the operationId from x-ms-operation-id header return by the API that initiated the operation.

        Once the operation status is ''Succeeded'' use the Get Operation Result API to retrieve the result.


        ## Permissions


        Same as the permissions required for the API that initiated the operation.


        ## Required Delegated Scope


        Same as the scopes required for the API that initiated the operation.


        ## Throttling limits


        | Limit Type | Value |

        |-|-|

        | Unified quota for Long-Running operations APIs | 500 calls/min |

        | API limit | 500 calls/min |


        ## Microsoft Entra supported identities


        This API supports the Microsoft identities listed in this section.


        | Identity | Support |

        |-|-|

        | User | Yes |

        | Service principal and Managed identities | Yes |


        ## Interface'
      operationId: LongRunningOperations_GetOperationState
      parameters:
      - name: operationId
        in: path
        required: true
        description: The operation ID
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: Request completed successfully.
          headers:
            Location:
              description: The URL for polling the operation status or retrieving the result in case the operation status is Succeeded.
              schema:
                type: string
            Retry-After:
              description: The number of seconds to wait before retrying the request.
              schema:
                type: integer
            x-ms-operation-id:
              description: The Operation ID.
              schema:
                type: string
                format: uuid
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OperationState'
        '429':
          description: The service rate limit was exceeded. The server returns a `Retry-After` header indicating, in seconds, how long the client must wait before sending additional requests.
          x-ms-error-response: true
          headers:
            Retry-After:
              description: The number of seconds to wait before retrying the request.
              schema:
                type: integer
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        default:
          description: 'Common error codes:


            * UnknownError - An error occurred.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /operations/{operationId}/result:
    get:
      tags:
      - LongRunningOperations
      summary: Returns the result of the long running operation
      description: 'You get the operationId from x-ms-operation-id header return by the API that initiated the operation.


        ## Permissions


        Same as the permissions required for the API that initiated the operation.


        ## Required Delegated Scope


        Same as the scopes required for the API that initiated the operation.


        ## Throttling limits


        | Limit Type | Value |

        |-|-|

        | Unified quota for Long-Running operations APIs | 500 calls/min |

        | API limit | 500 calls/min |


        ## Microsoft Entra supported identities


        This API supports the Microsoft identities listed in this section.


        | Identity | Support |

        |-|-|

        | User | Yes |

        | Service principal and Managed identities | Yes |


        ## Interface'
      operationId: LongRunningOperations_GetOperationResult
      parameters:
      - name: operationId
        in: path
        required: true
        description: The operation ID
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: Request completed successfully.
          content:
            application/json:
              schema:
                type: string
                format: binary
            application/octet-stream:
              schema:
                type: string
                format: binary
        '429':
          description: The service rate limit was exceeded. The server returns a `Retry-After` header indicating, in seconds, how long the client must wait before sending additional requests.
          x-ms-error-response: true
          headers:
            Retry-After:
              description: The number of seconds to wait before retrying the request.
              schema:
                type: integer
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
            application/octet-stream:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        default:
          description: 'Common error codes:


            * UnknownError - An error occurred.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
            application/octet-stream:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    ErrorResponse:
      description: The error response.
      required:
      - message
      - errorCode
      allOf:
      - $ref: '#/components/schemas/ErrorResponseDetails'
      properties:
        requestId:
          type: string
          format: uuid
          description: ID of the request associated with the error.
          readOnly: true
        moreDetails:
          description: List of additional error details.
          type: array
          items:
            $ref: '#/components/schemas/ErrorResponseDetails'
          readOnly: true
        isRetriable:
          type: boolean
          description: When true, the request can be retried. Use the `Retry-After` response header to determine the delay, if available.
          readOnly: true
    OperationState:
      description: An object describing the details and current state of a long running operation
      type: object
      required:
      - status
      - createdTimeUtc
      - lastUpdatedTimeUtc
      properties:
        status:
          type: string
          description: The current status of the operation. Additional operation statuses may be added over time.
          enum:
          - Undefined
          - NotStarted
          - Running
          - Succeeded
          - Failed
          x-ms-enum:
            name: LongRunningOperationStatus
            modelAsString: true
            values:
            - value: Undefined
              description: The status of the operation is undefined
            - value: NotStarted
              description: The operation didn't start
            - value: Running
              description: The operation is running
            - value: Succeeded
              description: The operation has finished successfully
            - value: Failed
              description: The operation has failed
        createdTimeUtc:
          type: string
          format: date-time
          description: The start date and time of the operation
        lastUpdatedTimeUtc:
          type: string
          format: date-time
          description: The date and time of the last change to the operation
        percentComplete:
          type: integer
          description: Operation progress as a percentage
          format: int32
          minimum: 0
          maximum: 100
        error:
          $ref: '#/components/schemas/ErrorResponse'
    ErrorResponseDetails:
      description: The error response details.
      type: object
      required:
      - message
      - errorCode
      properties:
        errorCode:
          type: string
          description: A specific identifier that provides information about an error condition, allowing for standardized communication between our service and its users.
          readOnly: true
        message:
          type: string
          description: A human readable representation of the error.
          readOnly: true
        relatedResource:
          $ref: '#/components/schemas/ErrorRelatedResource'
        parameters:
          description: Structured parameters providing additional machine-readable context about the error.
          type: array
          items:
            $ref: '#/components/schemas/ErrorParameter'
          readOnly: true
    ErrorRelatedResource:
      description: The error related resource details object.
      type: object
      required:
      - resourceId
      - resourceType
      properties:
        resourceId:
          type: string
          description: The resource ID that's involved in the error.
          readOnly: true
        resourceType:
          type: string
          description: The type of the resource that's involved in the error.
          readOnly: true
    ErrorParameter:
      description: A structured parameter providing additional machine-readable context about an error.
      type: object
      properties:
        name:
          type: string
          description: The parameter identifier.
          readOnly: true
        value:
          type: string
          description: The parameter value.
          readOnly: true
        message:
          type: string
          description: A human-readable description of the parameter's meaning.
          readOnly: true