SAP Business Technology Platform Operations API

Operations Operations are long-running background jobs created after specific SAP Service Manager APIs have been called. Use the Operations API to get the status of these jobs.

GitHub OpenAPI

Operations 1

GET /v1/{resourceType}/{resourceID}/operations/{operationID} Get operation status #

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/sap-btp:sap-btp-operations-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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

sap-btp-operations-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Sap Btp Operations API
  version: '1.0'
  termsOfService: http://www.sap.com
  description: 'Operations tagged Operations across 2 of this provider''s published API definitions: service-manager.json, sap-btp-service-manager-openapi.yml. Each path carries the servers of the definition it was published in.'
security:
- oAuth2ClientCredentials: []
tags:
- name: Operations
  description: 'Operations

    Operations are long-running background jobs created after specific SAP Service Manager APIs have been called.

    Use the Operations API to get the status of these jobs.'
paths:
  /v1/{resourceType}/{resourceID}/operations/{operationID}:
    get:
      tags:
      - Operations
      summary: Get operation status
      description: 'Check the status of the asynchronous operation you created after the POST, DELETE, or PATCH (where applicable) calls of the following API groups: Service Instances, and Service Bindings.

        The APIs provide a boolean request parameter ''async'' whose default value is TRUE.

        Use the parameter to generate an asynchronous operation, if needed.

        In the **Location** response headers of the APIs, you get the path parameters that are required for this API.'
      operationId: getSingleOperation
      parameters:
      - name: resourceType
        in: path
        description: The type of the SAP Service Manager resource.
        required: true
        schema:
          type: string
          enum:
          - platforms
          - service_brokers
          - service_bindings
          - service_instances
      - name: resourceID
        in: path
        description: The ID of the previously created entity of the specified resource type.
        required: true
        schema:
          type: string
      - name: operationID
        in: path
        description: The ID of the operation for which to get status.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Found asynchronous operation (OK)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OperationResponseObject'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Operation not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Too Many Requests<br>When the rate limit is exceeded, the client receives the HTTP 429 "Too Many Requests" response status code.<br/>Total of 10,000 requests per hour or 1,000 requests per minute are allowed.<br><a href="https://help.sap.com/docs/SERVICEMANAGEMENT/09cc82baadc542a688176dce601398de/97be6794829a441f99c9da04532a3c2b.html?version=Cloud&locale=en-US" target="_blank">For more information, see Rate Limiting.</a>
          headers:
            Retry-After:
              schema:
                type: string
              description: The 'Retry-After' response header indicates how long a service is expected to be unavailable. In the HTTP-Date format.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    OperationResponseObject:
      type: object
      properties:
        id:
          type: string
          description: The ID of the operation.
          example: dsdssd498da96-e5f3-4402-8
        ready:
          type: boolean
          description: Whether the resource is ready.
        type:
          type: string
          description: 'The type of the operation.<br><br> Possible values:'
          enum:
          - CREATE
          - UPDATE
          - DELETE
        state:
          type: string
          description: 'Valid values are: in progress, succeeded, and failed. <br> While the state is "in progress", the platform should continue polling. <br/> The responses: "state": "succeeded" or "state": "failed" must cause the platform to stop polling.'
          enum:
          - in progress
          - succeeded
          - failed
        description:
          type: string
          description: Details about the operation for customer-facing UI.
        resource_id:
          type: string
          description: 'The ID of the resource. <br> Exists if: "state": "succeeded", and also for PATCH and DELETE requests'
        transitive_resources:
          type: array
          items:
            $ref: '#/components/schemas/TransitiveResource'
        resource_type:
          type: string
          description: The type of the resource (e.g. service_brokers, service_instances).
        platform_id:
          type: string
          description: The ID of the platform associated with the operation.
        correlation_id:
          type: string
          description: The correlation ID received from the request related to this operation.
        reschedule:
          type: boolean
          description: Whether the operation has reached a checkpoint and can be executed again.
        deletion_scheduled:
          type: string
          description: The time the resource is scheduled for deletion. <br/>In ISO 8601 format:</br> YYYY-MM-DDThh:mm:ssTZD
          format: date-time
        created_at:
          type: string
          description: The time the resource was created. <br/>In ISO 8601 format.
          format: date-time
        updated_at:
          type: string
          description: 'The last time the resource was updated. <br/>In ISO 8601 format. <br/>Recommended field if "state": "succeeded" or "state": "failed".'
          format: date-time
        errors:
          anyOf:
          - $ref: '#/components/schemas/Error'
          - type: string
            description: A JSON object that contains details about one or more errors if the operation has failed.
            items:
              $ref: '#/components/schemas/Error'
        labels:
          $ref: '#/components/schemas/Labels'
    Error:
      type: object
      description: A response object that contains details about the error.
      properties:
        error:
          type: string
          description: The name of the error.
        description:
          type: string
          description: The description of the error.
        broker_error:
          type: object
          properties:
            StatusCode:
              type: integer
              description: The broker status code.
            ErrorMessage:
              type: string
              description: A machine-readable error string that may be returned by the broker.
            Description:
              type: string
              description: A human-readable description of the error that may be returned by the broker.
            ResponseError:
              type: string
              description: ResponseError is set to the error that occurred when unmarshalling a response body from the broker.
          description: The broker error
    Labels:
      type: object
      additionalProperties:
        type: array
        items:
          type: string
      description: Additional data associated with the resource entity. <br><br>Can be an empty object.
      example:
        label1:
        - value1
        - value2
        - value3
        label2:
        - value1
        - value2
        - value3
    TransitiveResource:
      type: object
      properties:
        id:
          type: string
          description: The ID of the resource.
          example: 0aba8e41-5e69-44b1-974f-83100
        type:
          type: string
          description: The type of the resource.
        operation_type:
          type: string
          description: The type of the operation associated with the resource.
        criteria:
          type: string
          description: The minimum criteria required to use the resource in the context of the platform.
  securitySchemes:
    oAuth2ClientCredentials:
      type: oauth2
      description: To run the api you need to get a token.
      flows:
        clientCredentials:
          tokenUrl: /v1/oauth/{subdomain}/token
          scopes: {}
        password:
          tokenUrl: /v1/oauth/{subdomain}/token
          scopes: {}
x-refined-from:
- service-manager.json
- sap-btp-service-manager-openapi.yml
x-sap-shortText: Create and manage AI scenarios, trainings, deployments, and artifacts in SAP AI Core.