Moody's RMS Exposure SetsV1 API

The Exposure SetsV1 API from Moody's RMS — 3 operation(s) for exposure setsv1.

Operations 3

GET /v1/exposuresets Get exposure sets #
PATCH /v1/exposuresets/{exposureSetId} Update exposure set #
GET /v1/exposuresets/{exposureSetId}/groups Get groups by exposure set #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/moodys-rms-exposure-setsv1-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

moodys-rms-exposure-setsv1-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Risk Modeler Exposure SetsV1 API
  description: This documentation provides information on the Risk Modeler 2.0 public API.
  version: March, 2023
servers:
- url: https://{host}/riskmodeler
  description: Risk Intelligence Analytics Platform
  variables:
    host:
      enum:
      - api-euw1.rms.com
      - api-use1.rms.com
      default: api-euw1.rms.com
      description: 'Data center that hosts the tenant instance: api-euw1.rms.com or api-use1.rms.com.'
security:
- RMS_Auth: []
tags:
- name: Exposure SetsV1
paths:
  /v1/exposuresets:
    get:
      operationId: searchExposureSetId
      summary: Get exposure sets
      description: ''
      parameters:
      - name: q
        in: query
        description: 'Filters applied to the query results of the `id` or `name` attribute. The operation supports four types of operators:

          * Comparison: `q=[attribute][comparison operator][value]` e.g. `id=100`, `id!=100`, `id>100`

          * Logical: `q=[expression][logical operator][expression]` e.g. `id=100 AND name="xyz"` , `id=100 OR type="abc"`

          * List: `q=[attribute][list operator][values list]` e.g. `id IN (1,2,3]`, `name NOT IN ("abc","xyz")`

          * Matching: `q=[attribute][comparison operator][pattern]`, e.g. `name LIKE "abc "` , `type NOT LIKE " xyz* "`

          To learn more, see [Query Exposure Data](https://developer.rms.com/rms-developers/docs/query-exposure-data).'
        schema:
          type: string
      - name: sort
        in: query
        description: Sort order for query results based on the `id` or `name` attribute. Specify `ASC` to display the results in alphabetical or numerical ascending order or `DESC` to display the results in descending order.
        schema:
          type: string
      - name: limit
        in: query
        description: Number of records displayed per page.
        schema:
          type: integer
          format: int32
      - name: offset
        in: query
        description: Number of pages offset before the first page of returned records starting at ''0''.'
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: Exposure set list successfully retrieved.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExposureSetSearchResult'
        '400':
          description: 'Bad Request: Please check that you are provided all required values.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessage'
        '403':
          description: 'Forbidden: Access to this resource has been denied.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessage'
      security:
      - RMS_Auth: []
      tags:
      - Exposure SetsV1
  /v1/exposuresets/{exposureSetId}:
    patch:
      operationId: updateExposureSet
      summary: Update exposure set
      parameters:
      - name: exposureSetId
        in: path
        description: ID of the exposure set to update.
        required: true
        schema:
          type: string
      requestBody:
        description: Specify the patch request input
        content:
          '*/*':
            schema:
              type: array
              items:
                $ref: '#/components/schemas/PatchExposureSetReq'
      responses:
        '200':
          description: Update to exposure set name or group successfully.
        '400':
          description: 'Bad Request: Please check that you are provided all required values.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessage'
        '403':
          description: 'Forbidden: Access to this resource is denied or not authorized to perform the "Edit Databases/Exposure Sets" action.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessage'
      security:
      - RMS_Auth: []
      tags:
      - Exposure SetsV1
  /v1/exposuresets/{exposureSetId}/groups:
    get:
      operationId: searchExposureSetGroups
      summary: Get groups by exposure set
      description: ''
      parameters:
      - name: exposureSetId
        in: path
        description: ID exposure set to update.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Exposure set group list successfully retrieved.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/GroupDetail'
        '400':
          description: 'Bad Request: Please check that you are provided all required values.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessage'
        '403':
          description: 'Forbidden: Access to this resource has been denied.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessage'
      security:
      - RMS_Auth: []
      tags:
      - Exposure SetsV1
components:
  schemas:
    GroupDetail:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
    PatchExposureSetReq:
      type: object
      properties:
        operation:
          description: Edit to make to the exposure set. `ADD` or `REMOVE` groups. `UPDATE` names.
          type: string
          enum:
          - ADD
          - UPDATE
          - REMOVE
        targetProperty:
          description: Exposure set attribute to edit. `GROUPS` if edit is to `ADD` or `REMOVE` groups applied to exposure set. `NAME` if edit is to `UPDATE` the name of the exposure set.
          type: string
          enum:
          - NAME
          - GROUPS
        value:
          description: Value of edited attribute. If `GROUPS`, the ID of a group. If `NAME`, the updated name of the exposure set.
          type: string
      required:
      - operation
      - targetProperty
      - value
    ExposureSet:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        groups:
          type: array
          items:
            $ref: '#/components/schemas/GroupDetail'
    ErrorMessage:
      type: object
      properties:
        code:
          type: string
        message:
          type: string
        logId:
          type: string
    ExposureSetSearchResult:
      type: object
      properties:
        searchTotalMatch:
          type: integer
          format: int32
        searchItems:
          type: array
          items:
            $ref: '#/components/schemas/ExposureSet'
  securitySchemes:
    RMS_Auth:
      type: apiKey
      name: Authorization
      in: header
      description: An API key is a token that enables a client application to make requests to tenant applications running on Intelligent Risk Platform.
      x-default: XXXXXXXXXX
x-readme:
  explorer-enabled: false
  samples-languages:
  - curl
  - java
  - csharp
  - node
  - python
  proxy-enabled: true
  samples-enabled: true