SAP Business Technology Platform Service Bindings API

Service Bindings Service bindings provide access details to existing service instances. The access details are part of the service bindings' ‘credentials’ property, and typically include access URLs and credentials.

GitHub OpenAPI

Operations 5

GET /v1/service_bindings Get all service bindings #
POST /v1/service_bindings Create a service binding #
GET /v1/service_bindings/{serviceBindingID} Get service binding details #
DELETE /v1/service_bindings/{serviceBindingID} Delete a service binding #
GET /v1/service_bindings/{serviceBindingID}/parameters Get service binding parameters #

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

    Service bindings provide access details to existing service instances.

    The access details are part of the service bindings'' ‘credentials’ property, and typically include access URLs and credentials.'
paths:
  /v1/service_bindings:
    get:
      tags:
      - Service Bindings
      summary: Get all service bindings
      description: 'View the list of all service bindings.


        Required scopes: service-manager!b8989.subaccount.service_binding.read'
      operationId: getAllServiceBindings
      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> ready eq 'true'
        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> If this is the first time you are calling the API, leave this field empty.
        required: false
        schema:
          type: string
      - name: max_items
        in: query
        description: 'The maximum number of service bindings to return in the response. '
        required: false
        schema:
          type: integer
      responses:
        '200':
          description: Found service bindings (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_bindings?max_items=2&token=MTQ5Mg%3D%3D'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceBindingResponseList'
        '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 6,000 requests per hour or 600 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'
    post:
      tags:
      - Service Bindings
      summary: Create a service binding
      description: 'Create a new service binding between a service instance and an application.


        Required scopes: service-manager!b8989.subaccount.service_binding.manage'
      operationId: createServiceBinding
      parameters:
      - name: async
        schema:
          type: boolean
        in: query
        example: true
        description: Whether to perform this operation asynchronously.
      requestBody:
        description: Configure a new service binding to obtain the access credentials to the service instance.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateServiceBindingRequestPayload'
        required: true
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreatedServiceBindingResponseObject'
        '202':
          description: Accepted
          headers:
            Location:
              schema:
                type: string
              description: 'A path to the operation status. </br> This path serves as the relative path for the base request URI of the API: ''Get operation status''.'
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: Conflict
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '412':
          description: Target resource updated since this request sent (Precondition Failed)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: Unprocessable Entity
          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 6,000 requests per hour or 600 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_bindings/{serviceBindingID}:
    get:
      tags:
      - Service Bindings
      summary: Get service binding details
      description: 'Get details about a specific service binding.


        Required scopes: service-manager!b8989.subaccount.service_binding.read'
      operationId: getServiceBindingById
      parameters:
      - name: serviceBindingID
        in: path
        description: The ID of the service binding for which to get details.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Found service binding (OK)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceBindingResponseObject'
        '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 binding 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 6,000 requests per hour or 600 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'
    delete:
      tags:
      - Service Bindings
      summary: Delete a service binding
      description: 'Delete a specific service binding.


        Required scopes: service-manager!b8989.subaccount.service_binding.manage'
      operationId: deleteServiceBinding
      parameters:
      - name: serviceBindingID
        in: path
        description: The ID of the service binding to delete.
        required: true
        schema:
          type: string
      - name: async
        schema:
          type: boolean
        in: query
        example: true
        description: Whether to perform this operation asynchronously.
      responses:
        '200':
          description: Deleted service binding (OK)
          content:
            application/json:
              schema:
                type: object
        '202':
          description: Accepted
          headers:
            Location:
              schema:
                type: string
              description: 'A path to the operation status. <br/> This path serves as the relative path for the base request URI of the API: ''Get operation status''.'
          content:
            application/json:
              schema:
                type: object
        '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 binding not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: Conflict
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '412':
          description: Target resource updated since this request sent (Precondition Failed)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: Unprocessable Entity
          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 6,000 requests per hour or 600 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_bindings/{serviceBindingID}/parameters:
    get:
      tags:
      - Service Bindings
      summary: Get service binding parameters
      description: 'View the additional configuration parameters of a specified service binding.

        The parameters were provided during the creation of the binding as part of the request payload.

        See *POST /v1/service_bindings* API for more details.


        **Prerequisite:**

        To get configuration parameters, bindings_retrievable field of the service offering to which this binding relates, must be set to true ("bindings_retrievable":true).

        To check, use the API: *GET /v1/service_offerings/{serviceOfferingID}*


        Required scopes:

        service-manager!b8989.subaccount.service_binding.read'
      operationId: getServiceBindingParametersById
      parameters:
      - name: serviceBindingID
        in: path
        description: The ID of the service binding for which to get parameters.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Found service binding configuration parameters.
          content:
            application/json:
              schema:
                type: object
                additionalProperties:
                  type: string
                description: parameters
                example:
                  host: localhost
                  port: 8082
        '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 binding configuration parameters were not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '502':
          description: Bad Geteway
          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 6,000 requests per hour or 600 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:
    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
    ListedServiceBindingResponseObject:
      type: object
      properties:
        id:
          type: string
          description: The ID of the service binding.
          example: my-service-binding-123-id
        ready:
          description: Whether the service binding is ready.
          type: boolean
        name:
          type: string
          description: The name of the service binding.
          example: my-service-binding
        service_instance_id:
          type: string
          description: The ID of the service instance associated with the binding.
          example: asd124bc21-df28-4891-8d91-46334e04600d
        context:
          type: object
          description: Contextual data for the resource.
          example:
            account: my-account
        bind_resource:
          type: object
          description: Contains the resources associated with the binding.
          additionalProperties:
            type: string
          example:
            app_guid: 5e76c9bf-d5e3-46bf-9877-6d8dddfc8a45
            space_guid: 15823972-c216-4ba5-9f3f-e75b0b891297
        credentials:
          type: object
          description: Credentials to access the binding.
        created_at:
          type: string
          description: The time the binding 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 binding was updated.<br/> In ISO 8601 format.
          format: date-time
        created_by:
          type: string
          description: The user that created this service binding.<br>If the binding was created programmatically (for example, by the SM API), this may be a client ID.<br>For Cloud Foundry or Kubernetes bindings, this is the user ID as defined by that environment's user management system.
        updated_by:
          type: string
          description: The user that last updated this service binding.<br>If the binding was created programmatically (for example, by the SM API), this may be a client ID.<br>For Cloud Foundry or Kubernetes bindings, this is the user ID as defined by that environment's user management system.<br/>
        labels:
          $ref: '#/components/schemas/Labels'
    CreatedServiceBindingResponseObject:
      type: object
      properties:
        id:
          type: string
          description: The ID of the service binding.
          example: my-service-binding-123-id
        ready:
          description: Whether the resource is ready to be used.
          type: boolean
        name:
          type: string
          description: The name of the service binding.
          example: my-service-binding
        service_instance_id:
          type: string
          description: The ID of the service instance associated with the binding.
          example: asd124bc21-df28-4891-8d91-46334e04600d
        context:
          type: object
          description: Contextual data for the resource.
          example:
            account: my-account
        credentials:
          type: object
          description: Credentials to access the binding.
        bind_resource:
          type: object
          description: The bound resources.
          additionalProperties:
            type: string
          example:
            app_guid: 5e76c9bf-d5e3-46bf-9877-6d8dddfc8a45
            space_guid: 15823972-c216-4ba5-9f3f-e75b0b891297
        created_at:
          type: string
          description: The time the binding 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 binding was updated.<br/> In ISO 8601 format.
          format: date-time
        labels:
          $ref: '#/components/schemas/Labels'
    ServiceBindingResponseList:
      type: object
      properties:
        token:
          type: string
          example: wcxdX
          description: Use this token when you call the API again to get more service bindings associated with your subaccount.</br> The token field indicates that the total number of service bindings to view in the list (num_items) is larger than the defined maximum number of service bindings to be returned after a single API call (max_items). </br> If the field is not present, either all the service bindings 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 bindings associated with the subaccount.
          example: 1
        items:
          type: array
          description: The list of the response objects that contains details about the service bindings.
          items:
            $ref: '#/components/schemas/ListedServiceBindingResponseObject'
    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
    CreateServiceBindingRequestPayload:
      required:
      - name
      - service_instance_id
      type: object
      properties:
        name:
          type: string
          description: The name of the service binding.
          example: my-service-binding
        service_instance_id:
          type: string
          description: The id of the service instance associated with the binding.
          example: asd124bc21-df28-4891-8d91-46334e04600d
        parameters:
          type: object
          description: Some services support providing of additional configuration parameters during binding creation. Pass these parameters as key-value pairs.<br> For the list of supported configuration parameters, see the documentation of a particular service offering.<br>You can also use the *GET /v1/service_bindings/{serviceBindingID}/parameters* API later to view the parameters defined during this step.
          additionalProperties:
            type: string
          example:
            parameter1: value1
            parameter2: value2
        bind_resource:
          type: object
          description: 'The bind_resource object contains platform-specific information related to the context in which the service is used.<br> The examples of some common fields to use: <br> app_guid - A string GUID of an application associated with the binding. For credentials bindings. Must be unique within the scope of the platform.<br>app_guid - Represents the scope to which the binding applies within the platform. <br>For example, in Kubernetes it can map to a namespace.<br> The scope of what the platform maps the app_guid to is platform-specific and can vary across binding requests.<br>route - URL of the intermediate application. For route services bindings.'
          example:
            app_guid: 5e76c9bf-d5e3-46bf-9877-6d8dddfc8a45
            space_guid: 15823972-c216-4ba5-9f3f-e75b0b891297
        labels:
          $ref: '#/components/schemas/Labels'
    ServiceBindingResponseObject:
      type: object
      properties:
        id:
          type: string
          description: The ID of the service binding.
          example: my-service-binding-123-id
        ready:
          description: Whether the service binding is ready.
          type: boolean
        last_operation:
          $ref: '#/components/schemas/OperationResponseObject'
        name:
          type: string
          description: The name of the service binding.
          example: my-service-binding
        service_instance_id:
          type: string
          description: The ID of the service instance associated with the binding.
          example: asd124bc21-df28-4891-8d91-46334e04600d
        context:
          type: object
          description: Contextual data for the resource.
          example:
            account: my-account
        credentials:
          type: object
          description: Credentials to access the binding.
        bind_resource:
          type: object
          description: The bound resources.
          additionalProperties:
            type: string
          example:
            app_guid: 5e76c9bf-d5e3-46bf-9877-6d8dddfc8a45
            space_guid: 15823972-c216-4ba5-9f3f-e75b0b891297
        created_at:
          type: string
          description: The time the binding 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 binding was updated.<br/> In ISO 8601 format.
          format: date-time
        created_by:
          type: string
          description: The user that created this service binding.<br>If the binding was created programmatically (for example, by the SM API), this may be a client ID.<br>For Cloud Foundry or Kubernetes bindings, this is the user ID as defined by that environment's user management system.
        updated_by:
          type: string
          description: The user that last updated this service binding.<br>If the binding was created programmatically (for example, by the SM API), this may be a client ID.<br>For Cloud Foundry or Kubernetes bindings, this is the user ID as defined by that environment's user management system.<br/>
        labels:
          $ref: '#/components/schemas/Labels'
  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.