SAP Business Technology Platform Service Brokers API

Service Brokers Service brokers act as brokers between the SAP Service Manager and a platform’s marketplace to advertise catalogues of service offerings and service plans. They also receive and process the requests from the marketplace to provision, bind, unbind, and deprovision these offerings and plans.

GitHub OpenAPI

Operations 2

GET /v1/service_brokers Get all service brokers #
GET /v1/service_brokers/{serviceBrokerID} Get service broker details #

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-service-brokers-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-service-brokers-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Sap Btp Service Brokers API
  version: '1.0'
  termsOfService: http://www.sap.com
  description: 'Operations tagged Service Brokers 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: Service Brokers
  description: 'Service Brokers

    Service brokers act as brokers between the SAP Service Manager and a platform’s marketplace to advertise catalogues of service offerings and service plans.

    They also receive and process the requests from the marketplace to provision, bind, unbind, and deprovision these offerings and plans.'
paths:
  /v1/service_brokers:
    get:
      tags:
      - Service Brokers
      summary: Get all service brokers
      description: 'View the list of all service brokers in the subaccount.


        Required scopes: service-manager!b8989.subaccount.broker.read'
      operationId: getAllServiceBrokers
      parameters:
      - name: fieldQuery
        in: query
        description: Filters the response based on the field query.  <br/> If used, must be a nonempty string.<br/>For example:<br> name eq 'my service broker'.
        required: false
        schema:
          type: string
      - name: labelQuery
        in: query
        description: Filters the response based on the label query. <br> If used, must be a nonempty string.<br>For example:<br/> environment eq 'dev'.
        required: false
        schema:
          type: string
      - name: token
        in: query
        description: You get this parameter in the response list of the API if the total number of items to return (num_items) is larger than the number of items returned in a single API call (max_items).<br/> You get a different token in each response to be used in each consecutive call as long as there are more items to list.<br/> Use the returned tokens to get the full list of resources associated with your subaccount.<br/> Leave the field empty if this is the first time you are calling the API.
        required: false
        schema:
          type: string
      - name: max_items
        in: query
        description: 'The maximum number of service brokers to return in the response. '
        required: false
        schema:
          type: integer
      responses:
        '200':
          description: Found service brokers (OK)
          headers:
            Link:
              schema:
                type: string
              description: 'URL to obtain the next page.  <br/> This is an alternative method to use the token, by including it in the relatve path of the API call. <br> Example: <br> /v1/service_brokers?max_items=2&token=MTQ5Mg%3D%3D'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceBrokerResponseList'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Forbidden
          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'
  /v1/service_brokers/{serviceBrokerID}:
    get:
      tags:
      - Service Brokers
      summary: Get service broker details
      description: 'View details of a specific service broker registered in the subaccount.


        Required scopes: service-manager!b8989.subaccount.broker.read'
      operationId: getServiceBrokerId
      parameters:
      - name: serviceBrokerID
        in: path
        description: The ID of the service broker for which to get details.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Found service broker (OK)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceBrokerResponseObject'
        '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: Service broker 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:
    ListedServiceBrokerResponseObject:
      required:
      - id
      - name
      type: object
      properties:
        id:
          type: string
          description: The ID of the service broker.
          example: my-service-broker-123-id
        ready:
          type: boolean
          description: Whether the service broker is ready.
        name:
          type: string
          description: The name of the service broker.
          example: my service broker
        description:
          type: string
          description: The description of the service broker.
          example: Some description here.
        broker_url:
          type: string
          description: The URL of the service broker.
          example: http://myservicebroker.domain.com
        created_at:
          type: string
          description: The time the service broker was created. <br/><br/>In ISO 8601 format:</br> YYYY-MM-DDThh:mm:ssTZD
          format: date-time
        updated_at:
          type: string
          description: The last time the service broker was updated. <br/>In ISO 8601 format.
          format: date-time
        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
    ServiceBrokerResponseObject:
      required:
      - id
      - name
      type: object
      properties:
        id:
          type: string
          description: The ID of the service broker.
          example: my-service-broker-123-id
        ready:
          type: boolean
          description: Whether the service broker is ready.
        last_operation:
          $ref: '#/components/schemas/OperationResponseObject'
        name:
          type: string
          description: The name of the service broker.
          example: my service broker
        description:
          type: string
          description: The description of the service broker.
          example: Some description here.
        broker_url:
          type: string
          description: The URL of the service broker.
          example: http://myservicebroker.domain.com
        created_at:
          type: string
          description: The time the service broker was created. <br/>In ISO 8601 format:</br> YYYY-MM-DDThh:mm:ssTZD
          format: date-time
        updated_at:
          type: string
          description: The last time the service broker was updated. <br/>In ISO 8601 format.
          format: date-time
        labels:
          $ref: '#/components/schemas/Labels'
    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'
    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.
    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
    ServiceBrokerResponseList:
      type: object
      properties:
        token:
          type: string
          example: wcxdX
          description: Use this token when you call the API again to get more service brokers associated with your subaccount.</br> The token field indicates that the total number of service brokers to view in the list (num_items) is larger than the defined maximum number of service brokers to be returned after a single API call (max_items). </br> If the field is not present, either all the service brokers were included in the first response, or you have reached the end of the list.
        num_items:
          type: integer
          description: The number of the service brokers associated with the subaccount.
          example: 1
        items:
          type: array
          description: The list of response objects that contains details about the service brokers.
          items:
            $ref: '#/components/schemas/ListedServiceBrokerResponseObject'
  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.