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.

Use Cases:
  • 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.

Use this domain only when:
  • 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

api/v1/stories

Allows you to get, copy, rename, and delete stories available on your tenant.

api/v1/$metadata

Returns the metadata associated with your tenant.

api/v1/Resources

Returns a list of stories available on your tenant.

api/v1/dataexport

Allows you to extract a list of models and metadata on your tenant, or retrieve information about a specific model.

api/v1/dataimport

Allows you to import fact and master data to SAP Analytics Cloud.

api/v1/multiActions

Allows you to have access to various capabilities offered by multi actions of SAP Analytics Cloud.

api/v1/calendar

Allows you to interact with events in SAP Analytics Cloud calendar.

api/v1/content

Allows you to get, move, and delete items on the Content Network. You can also create Content Network import or export jobs.

api/v1/scim

Allows you to programmatically manage users and teams.

api/v1/scim2

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.

api/v1/audit/activities/exportActivities

Returns a log of user activities in a CSV file.

api/v1/monitoring

Returns a log of model monitoring data or performance information in a CSV file.

api/v1/ps/schedules

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 HubInformation published on SAP site.