sap-rpt-samples
Bruno API collections and code samples for calling SAP's Relational Pretrained Transformer models on SAP AI CoreSAP AI CoreSAP's AI service on BTP: the runtime for AI assets, and through the Generative AI Hub inside it the access to foundation models, the orchestration service with its templating, masking, filtering and grounding modules, the Prompt Registry and Document Grounding.sap official, btp for predictions on tabular data, one subdirectory per model.
Making a prediction with an SAP-RPT model means calling its SAP AI CoreSAP AI CoreSAP's AI service on BTP: the runtime for AI assets, and through the Generative AI Hub inside it the access to foundation models, the orchestration service with its templating, masking, filtering and grounding modules, the Prompt Registry and Document Grounding.sap official, btp deployment directly, and this repository packages that as Bruno API collections and code, one subdirectory per model such as sap-rpt-1.6. It covers reading the AI Core service key from the BTP subaccount, generating an OAuth token and sending the prediction request from Bruno, with the collection's baseUrl and authUrl to be set first. It stops there: a service instance on AI Core's extended plan and a deployment of the model are the reader's to set up, and Bruno is installed separately.
Facts
Where it sits
Who is behind it
In the atlas: maintains 222@SAP-samplesmaintainerClemens BiehlContributes to this
In the atlas: contributes to 1@cbiehlsapJohn KengContributes to this
In the atlas: contributes to 1@gzg55sherene-tan-sapContributes to this
In the atlas: contributes to 1@sherene-tan-sap3 contributors
What it declares
Every artifact
- Type
- Sample
- Origin
- By SAP
- Use as
- A reference
As a sample
- Form
- does not say
Connections
Training, deploying and calling predictive models on tabular data
AI runtime on BTP with the Generative AI Hub
Download
README
quoted from SAP-samples/sap-rpt-samples under Apache-2.0, readSAP Relational Pretrained Transformer Samples
Description
This repository contains Bruno API collections and code samples for using SAP Relational Pretrained Transformer (RPT) models.
Usage
The Bruno API collections and code in the model subdirectories (e.g. /sap-rpt-1.6) show how to make predictions on tabular data using SAP RPT models.
Please note that you need a service instance of SAP AI Core (service plan "extended") and a deployment of the model (for example sap-rpt-1.6 - see SAP AI Core documentation and tutorials).
Get Service Key
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.
Generate AUTH_TOKEN
To generate your authentication token, please refer to this link.
Bruno API Collection
- 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.
How to obtain support
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.
Contributing
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.
License
Copyright (c) 2026 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.
Detailed information including third-party components and their licensing/copyright information is available via the REUSE tool.
Details
Sources
Sources are graph entities: the same page may back several entries, and an unreachable source flags every row that rests on it.
Compatibility and provenance
Contributors
History in the atlas
- First seen.
For your agent
- Ref
artifact:sap-samples-sap-rpt-samples- JSON
- /artifacts/sap-samples-sap-rpt-samples.json
- MCP
- Connecting an agent