Getting Started
The SAP Analytics Cloud REST API follows the OpenAPI specification.
The API allows third-party applications to access data stored on an SAP Analytics Cloud tenant. The API is best used for requesting small amounts of data in real time. You must have a tenant URL and SAP Analytics Cloud user. You must also configure OAuth to work with your application before you can use the REST API. For more information, see Setting Up Authentication.
Choose the Domain for Your API Calls
SAP Analytics Cloud provides two domains for accessing the same API endpoints. The direct API domain is the recommended approach for most integrations. Choose the appropriate domain based on your integration scenario.
1) Direct API Domain (Recommended)
https://<tenant-name>.api.<region>.<domain>
Example URL: https://testtenant.api.eu10.sapanalytics.cloud/api/v1/stories
Use this domain for all programmatic, automated, and non-browser integrations. This is the standard and recommended approach for integrating third-party applications with SAP Analytics Cloud. This domain is designed for server-to-server integrations, automation, and any scenario where there is no existing browser session with SAP Analytics Cloud.
-
Third-party application integrations
-
Command-line tools, CLI applications for administration and scripting
-
Scheduled jobs and background processes
2) Browser-based Domain (Specific Use Cases Only)
https://<tenant-name>.<region>.<domain>
Email URL: https://testtenant.eu10.sapanalytics.cloud/api/v1/stories
Use this domain only when you have an active SAP Analytics Cloud session in your browser and cannot use the direct API domain. This approach has limitations and shouldn't be used for standard integration.
-
You are building custom widgets within SAP Analytics Cloud that need to fetch data via REST API
-
You have a web application with embedded SAP Analytics Cloud content where users are already logged into SAP Analytics Cloud
-
The direct API domain approach is technically not feasible
API Endpoints
|
Endpoint |
Description |
|---|---|
|
Allows you to get, copy, rename, and delete stories available on your tenant. |
|
|
Returns the metadata associated with your tenant. |
|
|
Returns a list of stories available on your tenant. |
|
|
Allows you to extract a list of models and metadata on your tenant, or retrieve information about a specific model. |
|
|
Allows you to import fact and master data to SAP Analytics Cloud. |
|
|
Allows you to have access to various capabilities offered by multi actions of SAP Analytics Cloud. |
|
|
Allows you to interact with events in SAP Analytics Cloud calendar. |
|
|
Allows you to get, move, and delete items on the Content Network. You can also create Content Network import or export jobs. |
|
|
Allows you to programmatically manage users and teams. |
|
|
Allows you to programmatically manage users and teams using a SCIM 2.0 compliant endpoint. SCIM2 includes additional functionality not included in the api/v1/SCIM endpoint. |
|
|
Returns a log of user activities in a CSV file. |
|
|
Returns a log of model monitoring data or performance information in a CSV file. |
|
|
Allows you to create and manage schedule publications. |
Make sure to visit the SAP Business Accelerator Hub to explore API specifications and try out the functionality. To submit API improvement requests, visit the Customer Influence Hub
.