SAP Business Technology Platform Platforms API

PlatformsPlatforms are OSBAPI-enabled software systems on which applications and services are hosted. With the SAP Service Manager, you can now register your platform and enable it to consume the SAP BTP services from your native environment. This registration results in a returned set of credentials that are needed to deploy the SAP Service Manager agent.

GitHub OpenAPI

Operations 5

GET /v1/platforms Get all platforms #
POST /v1/platforms Register a platform #
GET /v1/platforms/{platformID} Get platform details #
DELETE /v1/platforms/{platformID} Unregister a platform #
PATCH /v1/platforms/{platformID} Update a platform #

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

    Platforms are OSBAPI-enabled software systems on which applications and services are hosted.

    With the SAP Service Manager, you can now register your platform and enable it to consume the SAP BTP services from your native environment.

    This registration results in a returned set of credentials that are needed to deploy the SAP Service Manager agent.'
paths:
  /v1/platforms:
    get:
      tags:
      - Platforms
      summary: Get all platforms
      description: 'View the list of all platforms in the subaccount that are registered for service consumption.


        Required scopes: service-manager!b8989.subaccount.platform.read'
      operationId: getAllPlatforms
      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/> type eq 'kubernetes'
        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 items 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 platforms to return in the response. '
        required: false
        schema:
          type: integer
      responses:
        '200':
          description: Found platforms (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/platforms?max_items=2&token=MTQ5Mg%3D%3D'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PlatformResponseList'
        '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'
    post:
      tags:
      - Platforms
      summary: Register a platform
      description: 'Register a new platform to enable the consumption of services in the subaccount, via the SAP Service Manager.


        **Note:**

        The platform credentials are only available during the registration process in the response.

        They can''t be retrieved later.


        Required scopes: service-manager!b8989.subaccount.platform.manage'
      operationId: registerPlatfrom
      requestBody:
        description: Details of the platform to register.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RegisterPlatformRequestPayload'
        required: true
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RegisteredPlatformResponseObject'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: Conflict
          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/platforms/{platformID}:
    get:
      tags:
      - Platforms
      summary: Get platform details
      description: 'View details of a specific platform registered for consumption in the subaccount.


        Required scopes: service-manager!b8989.subaccount.platform.read'
      operationId: getPlatformById
      parameters:
      - name: platformID
        in: path
        description: The ID of the registered platform for which to get details.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Found platform (OK)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PlatformResponseObject'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Platform 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'
    delete:
      tags:
      - Platforms
      summary: Unregister a platform
      description: 'Unregister a specific platform from the SAP Service Manager.

        If the platform still uses service instances or bindings, you must either delete them first or use the "cascade" parameter.


        **Note:**

        Once the platform has been unregistered, its credentials are invalidated and can no longer be used.


        Required scopes: service-manager!b8989.subaccount.platform.manage'
      operationId: unregisterPlatform
      parameters:
      - name: platformID
        in: path
        description: The ID of the platform to unregister.
        required: true
        schema:
          type: string
      - name: cascade
        schema:
          type: boolean
        in: query
        example: false
        description: Whether to cascade-delete all the services and bindings that are related to the platform.
      responses:
        '200':
          description: Unregistered the platform (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'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Platform 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 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'
    patch:
      tags:
      - Platforms
      summary: Update a platform
      description: 'Update details of a registered platform.


        Required scopes: service-manager!b8989.subaccount.platform.manage'
      operationId: patchPlatfrom
      parameters:
      - name: platformID
        in: path
        description: The ID of the registered platform to update.
        required: true
        schema:
          type: string
      requestBody:
        description: Details of the platform to update.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdatePlatformRequestPayload'
        required: true
      responses:
        '200':
          description: Updated (OK)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpdatedPlatformResponseObject'
        '202':
          description: Accepted
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: 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'
        '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:
    RegisterPlatformRequestPayload:
      required:
      - name
      - type
      type: object
      properties:
        name:
          type: string
          description: The CLI-friendly name of the platform.<br/>A CLI-friendly name is a short string that only contains alphanumeric characters, periods, and hyphens.<br> It can't contain white spaces. <br>The name must not exceed 255 characters, but it is recommended to keep it much shorter, for the convenience of using short names in CLI commands.
          example: my-platform
        type:
          type: string
          description: 'The type of the platform. <br><br> Possible values: '
          enum:
          - kubernetes
        description:
          type: string
          description: The description of the platform for customer-facing UIs.
          example: Try our new features.
        labels:
          $ref: '#/components/schemas/Labels'
    RegisteredPlatformResponseObject:
      type: object
      properties:
        id:
          type: string
          description: The ID of the platform.<br>You can use this ID to get details about the platform, to update, or to delete the platform.<br/> See the GET, PATCH, and DELETE APIs for the **Platforms** group.
          example: my-platform-123-id
        ready:
          type: boolean
          description: Whether the platform is ready for consumption.
        type:
          type: string
          description: 'The type of the platform.<br/><br/> Possible values: '
          enum:
          - kubernetes
        name:
          type: string
          description: The technical name of the platform.
          example: my-platform
        description:
          type: string
          description: The description of the platform.
          example: Use the platform to develop and to test your software.
        credentials:
          $ref: '#/components/schemas/Credentials'
        created_at:
          type: string
          description: The time the platform 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 platform was updated. <br/>In ISO 8601 format. </br> '
          format: date-time
        labels:
          $ref: '#/components/schemas/Labels'
    ListedPlatformResponseObject:
      type: object
      properties:
        id:
          type: string
          description: The ID of the platform.</br> You can use this ID to get details about the platform, to update or to delete it.<br/> See the GET, PATCH, or DELETE APIs for the Platforms group.
          example: my-platform-123-id
        ready:
          type: boolean
          description: Whether the platform is ready for consumption.
        type:
          type: string
          description: 'The type of the platform.<br><br> Possible values: '
          enum:
          - kubernetes
          - cloud foundry
        name:
          type: string
          description: The name of the platform.
          example: my-platform
        description:
          type: string
          description: The description of the platform.
          example: You can use this platform to develop and to test your applications.
        created_at:
          type: string
          description: The time the platform 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 platform was updated. <br/>In ISO 8601 format.
          format: date-time
        labels:
          $ref: '#/components/schemas/Labels'
    UpdateLabelsPayload:
      type: array
      description: The list of labels to update for the resource.
      items:
        $ref: '#/components/schemas/Label'
    Label:
      type: object
      description: The request object that contains details about the labels to update.
      properties:
        op:
          type: string
          description: 'The operation to perform on a label.<br/><br/> Possible values:'
          enum:
          - add
          - remove
        key:
          type: string
          description: The name of the label.
          example: label1
        values:
          type: array
          description: The list of values for the label
          example:
          - value1
          - value2
          items:
            type: string
    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
    UpdatedPlatformResponseObject:
      required:
      - name
      type: object
      properties:
        id:
          type: string
          description: The ID of the updated platform.<br/>
          example: my-platform-123-id
        ready:
          type: boolean
          description: Whether the resource is ready for consumption.
        type:
          type: string
          description: 'The type of the platform.<br><br> Possible values: '
          enum:
          - kubernetes
        name:
          type: string
          description: The technical name of the platform.
          example: my-platform
        description:
          type: string
          description: The description of the platform for customer-facing UIs.
          example: Describe your platform here.
        created_at:
          type: string
          description: The time the platform 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 platform 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
    PlatformResponseList:
      type: object
      properties:
        token:
          type: string
          description: Use this token when you call the API again to get more platforms associated with your subaccount.</br> The token field indicates that the total number of platforms to view in the list (num_items) is larger than the defined maximum number of platforms to be returned after a single API call (max_items). </br> If the field is not present, either all the platforms were included in the first response, or you have reached the end of the list.
        num_items:
          type: integer
          description: The number of platforms associated with the subaccount.
          example: 1
        items:
          type: array
          description: The list of response objects that contains details about the platforms.
          items:
            $ref: '#/components/schemas/ListedPlatformResponseObject'
    UpdatePlatformRequestPayload:
      type: object
      properties:
        id:
          type: string
          description: The ID of the platform to update. <br>Platform ID is a globally unique identifier (GUID). <br> GUID must be longer than 50 characters and only contains uppercase and lowercase letters, decimal digits, hyphens, periods, and underscores.
          example: my-platform-123-id
        name:
          type: string
          description: The CLI-friendly name of the platform to update.<br>A CLI-friendly name is a short string that only contains alphanumeric characters, periods, and hyphens. <br> It can't contain white spaces. <br> The name must not exceed 255 characters, but it is recommended to keep it much shorter, for the convenience of using short names in CLI commands.
          example: my-platform
        type:
          type: string
          description: 'The type of the platform.<br/><br/> Possible values:'
          enum:
          - kubernetes
        description:
          type: string
          description: The description of the platform for customer-facing UIs.
          example: Description goes here.
        labels:
          $ref: '#/components/schemas/UpdateLabelsPayload'
    Credentials:
      type: object
      properties:
        basic:
          type: object
          properties:
            username:
              type: string
            password:
              type: string
      description: Credentials to authenticate with the SAP Service Manager.
    PlatformResponseObject:
      type: object
      properties:
        id:
          type: string
          description: The ID of the platform. <br/> You can use this ID to update or to delete the platform.<br/> See the PATCH and DELETE calls for the **Platforms** group.
          example: my-platform-123-id
        ready:
          type: boolean
          description: Whether the platform is ready for consumption.
        last_operation:
          $ref: '#/components/schemas/OperationResponseObject'
        type:
          type: string
          description: 'The type of the platform.<br><br> Possible values: '
          enum:
          - kubernetes
          - cloud foundry
        name:
          type: string
          description: The name of the platform.
          example: my-platform
        description:
          type: string
          description: The description of the platform.
          example: This platform is used for consumption.
        created_at:
          type: string
          description: The time the platform 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 platform was updated. <br/>In ISO 8601 format.
          format: date-time
        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.