This repository contains a Bruno API collection and code samples for using SAP Relational Pretrained Transformer (RPT) models.
The Bruno API collection and code in /sap-rpt-1 show how to make predictions on tabular data using the REST API of SAP RPT-1.
Please note that you need a service instance of SAP AI Core (service plan "extended") and a deployment of the model (e.g. sap-rpt-1-small or sap-rpt-1-large - see SAP AI Core documentation and tutorials).
To obtain your service key:
- Navigate to your BTP subaccount overview page.
- Navigate to your BTP service instance page and Click on the
SAP AI Coreinstance to view the service key details.
To generate your authentication token, please refer to this link.
- Install bruno, then open the collection (use Open Collection).

- Configuring sap-rpt-1 environment
.
Important Note The baseUrl and authUrl need to be modified by the above picture.
- Get the Oauth Token.

- You can verify that your access token should work by sending the request in bruno.
Create an issue in this repository if you find a bug or have questions about the content.
For additional support, ask a question in SAP Community.
If you wish to contribute code, offer fixes or improvements, please send a pull request. Due to legal reasons, contributors will be asked to accept a DCO when they create the first pull request to this project. This happens in an automated fashion during the submission process. SAP uses the standard DCO text of the Linux Foundation.
Copyright (c) 2025 SAP SE or an SAP affiliate company. All rights reserved. This project is licensed under the Apache Software License, version 2.0 except as noted otherwise in the LICENSE file.