Filters
Cadence
Categories

Rest APIs

SAS Viya REST APIs are designed for enterprise application developers who intend to build on the work of model builders and data scientists. With SAS REST APIs, you can create and access SAS resources using any client technology.

APIs are listed in alphabetical order. Filter the API list using the Categories menu.

APIs Image

Browse REST APIs

AnnotationsThe Annotations API allows users to associate annotations with resources that other decoupled API manage. An annotation augments a target resource, which is typically a column or table, with information that extends beyond its physical properties. This information might include categorization (such as email and address), role (such as categorical and primary key), or other descriptive information.
AuthorizationManages authorization rules and makes authorization decisions.
Business RulesThe Business Rules API supports the creation and management of business rules. These business rules are organized within rule sets.
CAS RESTProvides REST access to CAS and the CAS grid. Endpoints are grouped into three categories.
CAS ManagementThe CAS Management API enables users to manage and perform actions on common resources related to Cloud Analytic Services (CAS).
CatalogThe Catalog API allows for the discovery, creation, and integration of metadata. This allows management of information about other information.
SAS Clinical Acceleration RepositoryThe SAS Clinical Acceleration Repository API provides the necessary endpoints for managing the clinical repository.
ComputeThe Compute API enables users to submit and execute SAS code using REST calls. Users can manage Compute contexts, create sessions, submit jobs, and access information about the session.
Data MiningThe Data Mining API provides resources for training, scoring, and comparing data mining models.
Data QualityThe Data Quality API retrieves information about locales, functions, definitions, and tokens provided by a Quality Knowledge Base (QKB).
Data SourcesThe Data Sources API works in concert with the Data Tables and Row Sets APIs to navigate, reference, and retrieve data in the SAS Viya ecosystem. The Data Sources API enables retrieval of metadata for data sources and linking to their respective tables.
Data TablesThe Data Tables API works in concert with the Data Sources and Row Sets APIs to navigate, reference, and retrieve data in the SAS Viya ecosystem. The Data Tables API enables retrieval of metadata for data tables and their respective columns.
DecisionsThe Decisions API supports the life cycle of decision data.
Decisions Runtime BuilderThe Decisions Runtime Builder API provides functions that enable you to update the SAS Container Runtime binary files in a published image.
FilesThe Files API provides persistence of files, such as comment attachments and report images.With this version File API will now support versioned files. A solution can maintain multiple versions of a file. There are few additional parameters which will be required while creation of File, which indicates that the File is a versioned file.
FoldersThe Folders API provides an organizational structure for SAS and external content. It can also be used for favorites folders or a history of objects accessed. The resources that are stored in folders (members) use a URI to point back to those resources.
GlossaryThe Glossary API allows users to associate business terms with technology assets such as data sets and columns, documents, and business rules.
InsightsThe Insights API provides insights into your data.
Job DefinitionsThe Job Definitions API enables users to manage job definitions.
Job ExecutionThe Job Execution API is used to execute and manage asynchronous jobs across environments.
List DataThis List Data API enables users to manage lookup lists across products and solutions.
LocalizationThe Localization service provides the ways to get, add or localize the message bundles. With the GET request, the Localization service returns the localized message bundle corresponding to the requested locale.
Micro Analytic ScoreThe Micro Analytic Score API provides stateless, memory-resident, high-performance program execution.
Machine Learning Pipeline AutomationThe Machine Learning Pipeline Automation (MLPA) API enables CRUD operations on automation projects, which automates VDMML project creation, pipeline building and training, and the production of champion models.
Model ManagementThe Model Management API provides basic resources for monitoring performance, comparing models, and running workflow processes.
Model PublishThe Model Publish API provides support for publishing objects to a predefined destination.
Model RepositoryThe Model Repository API provides support for registering, organizing, and managing models within a common model repository.
Reference DataThe Reference Data API supports the life cycle of reference data.
RelationshipsThis API is deprecated as of 2023.10 and will be removed in a future release. The Relationships API manages the storage and discovery of relationships, and the retrieval of networks of relationship data.
Report ImagesThis API is deprecated as of 2021.2.6 and will be removed in a future release.
ReportsYou can use the Reports API to create, read, and update reports. This API enables basic tasks such as moving or renaming reports, as well as editorial tasks such as reading, writing, and updating report content.
Report TransformsThis API creates and manipulates "transforms" of SAS reports that conform to the Business Intelligence Report Definition (BIRD) specification. A transform is a wrapper for a BIRD report. When a transform is part of a request, it contains instructions and parameters to perform an editing action or structural modification to the report. When a transform is part of a response, it describes the action or modification that was performed or attempted. The response transform contains either the BIRD report directly, or it has a reference to a persistent report. All GET operations have a corresponding HEAD that is identical in all respects, except that a response body is not returned.
Row SetsThe Row Sets API provides a common way to reference rows of rectangular data that are available in the SAS ecosystem. The URLs for this API are the only canonical form of storing data references for SAS Viya.
SAS LogonThe SAS Logon API provides the standard OAuth protocol endpoints through which clients obtain access tokens to make API calls.
Score DefinitionsThe Score Definitions API is used for creating and maintaining score definitions.
Score ExecutionThe Score Execution API is used to produce a score by executing the mapped code generated by score objects using the score definition.
SAS Studio DevelopmentSAS Studio API
Subject ContactsThe Subject Contacts API records contacts to subjects and records documents that are produced when executing decisions and business rules.
Data HubThe Data Hub API provides access to information that is managed by SAS Visual Investigator. This API facilitates describing data that resides in either internal writable databases or external customer-controlled read-only databases. Once the data definitions are provided as entity types, the data becomes accessible within SAS Visual Investigator. This API also provides mechanisms for fetching individual entity records that were defined by the entity type definitions.
Search and DiscoveryThe SAS Visual Investigator Search and Discovery API provides access to real-time exploration and visualization of the data in SAS Visual Investigator.
Treatment DefinitionsThe Treatment Definitions API is used for creating and maintaining treatment definitions and treatment definition groups.
Visual AnalyticsThe Visual Analytics API provides simplified ways to perform basic tasks with reports. Tasks include exporting a report as a PDF file, or as a package file, or exporting an image of a part of the report.
Real-Time Watchlist ScreeningThe Real-Time Watchlist Screening API supports screening party and payment information against lists of known or suspected parties that are involved in illegal activities, such as money laundering, terrorism financing, or other criminal behaviors.
Visual Investigator WorkflowThe SAS Visual Investigator Workflow API enable users to execute and manage workflows created within SAS Visual Investigator. The SAS Visual Investigator workflows are based on an open-source engine that complies with the Business Process Model and Notation (BPMN) 2.0 standard. It supports industry standards for visual representation and behavior, and it provides support for established workflow patterns. SAS Visual Investigator workflows are efficient and scalable, and integrate with other standard business process implementations.