Moody's RMS Metrics V2 API

The MetricsV2 API from Moody's RMS — 27 operation(s) for metricsv2.

Operations 30

GET /v2/analyses Get results #
DELETE /v2/analyses Delete results #
PUT /v2/analyses/{id} Rename result #
DELETE /v2/analyses/{id} Delete result #
GET /v2/analyses/{id}/analysis-region Get region details #
GET /v2/analyses/{analysisID}/cedants Get cedants by result #
POST /v2/analyses/{id}/climate-change Calculate climate change #
POST /v2/analyses/{id}/convert-event-rate-loss Convert event rates and losses #
POST /v2/analyses/{id}/convertcurrency Convert result currency #
GET /v2/analyses/{id}/elt Get ELT #
GET /v2/analyses/{id}/ep Get EP metrics #
GET /v2/analyses/{id}/ep/interpolate Get EP interpolation results #
GET /v2/analyses/{id}/keylosses Get key losses #
GET /v2/analyses/{analysisID}/location-aal Get location AAL #
POST /v2/analyses/{id}/map-perspective Convert financial perspectives #
POST /v2/analyses/{id}/marginal-impact Calculate marginal impact report #
GET /v2/analyses/{analysisID}/metrics Get metrics #
POST /v2/analyses/{id}/pate Recalculate result with PATE #
DELETE /v2/analyses/{id}/pate-batch Delete PATE treaties #
GET /v2/analyses/{analysisID}/pate-treaties Get PATE treaties #
DELETE /v2/analyses/{analysisID}/pate-treaties Delete PATE treaties by result #
GET /v2/analyses/{analysisID}/perspectives Get financial perspectives #
GET /v2/analyses/{id}/plt Get PLT #
POST /v2/analyses/{id}/rerun-ep Recalculate result EP and statistics #
GET /v2/analyses/{id}/sampledlosses Get sampled losses #
POST /v2/analyses/{id}/simulate-losses Simulate PLT analysis #
GET /v2/analyses/{id}/stats Get statistics #
POST /v2/analyses/{id}/summary_report Generate summary report #
GET /v2/analyses/{analysisID}/treaties Get treaties by result #
GET /v2/analyses/{analysisID}/treaty/{treatyID} Get treaty by result #

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-metricsv2-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-metricsv2-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Risk Modeler Metrics V2 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: MetricsV2
paths:
  /v2/analyses:
    get:
      operationId: getAnalysesResultsv2
      summary: Get results
      description: ''
      parameters:
      - name: q
        in: query
        description: 'Filters query results by evaluating the value of expressions. 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: 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. By default, _0_.

          '
        schema:
          type: integer
          format: int32
      - name: userName
        in: query
        description: Name of <<glossary:principal>> that submitted the workflow.
        schema:
          type: string
      - name: runDate
        in: query
        description: Date that the analysis was run.
        schema:
          type: string
      responses:
        '200':
          description: All Analyses successfully retrieved.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AnalysisSearchResultV2'
        '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 "View Results" action.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessage'
      security:
      - RMS_Auth: []
      tags:
      - MetricsV2
    delete:
      operationId: deleteAnalysesv2
      summary: Delete results
      description: ''
      requestBody:
        content:
          application/json:
            schema:
              type: array
              items:
                type: integer
                format: int64
        required: true
      responses:
        '204':
          description: A list of Analyses deleted.
          content:
            application/json:
              schema:
                type: object
                properties:
                  metadata:
                    type: object
                    additionalProperties:
                      type: array
                      items:
                        type: object
                  status:
                    type: integer
                    format: int32
                  length:
                    type: integer
                    format: int32
                  location:
                    type: string
                    format: uri
                  language:
                    type: object
                    properties:
                      language:
                        type: string
                      script:
                        type: string
                      country:
                        type: string
                      variant:
                        type: string
                      extensionKeys:
                        type: array
                        items:
                          type: string
                        uniqueItems: true
                      unicodeLocaleAttributes:
                        type: array
                        items:
                          type: string
                        uniqueItems: true
                      unicodeLocaleKeys:
                        type: array
                        items:
                          type: string
                        uniqueItems: true
                      iso3Language:
                        type: string
                      iso3Country:
                        type: string
                      displayLanguage:
                        type: string
                      displayScript:
                        type: string
                      displayCountry:
                        type: string
                      displayVariant:
                        type: string
                      displayName:
                        type: string
                  statusInfo:
                    type: object
                    properties:
                      family:
                        type: string
                        enum:
                        - INFORMATIONAL
                        - SUCCESSFUL
                        - REDIRECTION
                        - CLIENT_ERROR
                        - SERVER_ERROR
                        - OTHER
                      statusCode:
                        type: integer
                        format: int32
                      reasonPhrase:
                        type: string
                  mediaType:
                    type: object
                    properties:
                      type:
                        type: string
                      subtype:
                        type: string
                      parameters:
                        additionalProperties:
                          type: string
                        type: object
                      wildcardType:
                        type: boolean
                      wildcardSubtype:
                        type: boolean
                  allowedMethods:
                    type: array
                    items:
                      type: string
                    uniqueItems: true
                  cookies:
                    type: object
                    additionalProperties:
                      type: object
                      properties:
                        name:
                          type: string
                        value:
                          type: string
                        version:
                          type: integer
                          format: int32
                        path:
                          type: string
                        domain:
                          type: string
                        comment:
                          type: string
                        maxAge:
                          type: integer
                          format: int32
                        expiry:
                          type: string
                          format: date-time
                        secure:
                          type: boolean
                        httpOnly:
                          type: boolean
                  entityTag:
                    type: object
                    properties:
                      value:
                        type: string
                      weak:
                        type: boolean
                  stringHeaders:
                    type: object
                    additionalProperties:
                      type: array
                      items:
                        type: string
                  lastModified:
                    type: string
                    format: date-time
                  date:
                    type: string
                    format: date-time
                  headers:
                    type: object
                    additionalProperties:
                      type: array
                      items:
                        type: object
                  entity:
                    type: object
                  links:
                    type: array
                    items:
                      type: object
                      properties:
                        type:
                          type: string
                        params:
                          type: object
                          additionalProperties:
                            type: string
                        uri:
                          type: string
                          format: uri
                        title:
                          type: string
                        uriBuilder:
                          type: object
                        rel:
                          type: string
                        rels:
                          type: array
                          items:
                            type: string
                    uniqueItems: true
        '400':
          description: 'Forbidden: Access to this resource is denied or not authorized to perform the "Edit Results" action.'
          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:
      - MetricsV2
  /v2/analyses/{id}:
    put:
      operationId: runRenameAnalysisv2
      summary: Rename result
      description: ''
      parameters:
      - name: id
        in: path
        description: ID number of result to be renamed.
        required: true
        schema:
          type: integer
          format: int32
          minimum: 1
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RenameAnalysisInput'
        required: true
      responses:
        '202':
          description: 'Accepted: A `RENAME_ANALYSIS` job was added to the workflow engine queue for processing. Returns a URL in the `Location` header that enables you to track the status of the job e.g. `/{host}/v1/workflows/100000`. Send periodic HTTP GET requests to the URL for the job status. See [Workflow Engine](https://developer.rms.com/rms-developers/docs/workflow-engine).

            '
          headers:
            Location:
              description: workflowId
              style: simple
              schema:
                type: string
                format: URI
          content:
            application/json:
              schema:
                type: object
                properties:
                  metadata:
                    type: object
                    additionalProperties:
                      type: array
                      items:
                        type: object
                  status:
                    type: integer
                    format: int32
                  length:
                    type: integer
                    format: int32
                  location:
                    type: string
                    format: uri
                  language:
                    type: object
                    properties:
                      language:
                        type: string
                      script:
                        type: string
                      country:
                        type: string
                      variant:
                        type: string
                      extensionKeys:
                        type: array
                        items:
                          type: string
                        uniqueItems: true
                      unicodeLocaleAttributes:
                        type: array
                        items:
                          type: string
                        uniqueItems: true
                      unicodeLocaleKeys:
                        type: array
                        items:
                          type: string
                        uniqueItems: true
                      iso3Language:
                        type: string
                      iso3Country:
                        type: string
                      displayLanguage:
                        type: string
                      displayScript:
                        type: string
                      displayCountry:
                        type: string
                      displayVariant:
                        type: string
                      displayName:
                        type: string
                  statusInfo:
                    type: object
                    properties:
                      family:
                        type: string
                        enum:
                        - INFORMATIONAL
                        - SUCCESSFUL
                        - REDIRECTION
                        - CLIENT_ERROR
                        - SERVER_ERROR
                        - OTHER
                      statusCode:
                        type: integer
                        format: int32
                      reasonPhrase:
                        type: string
                  mediaType:
                    type: object
                    properties:
                      type:
                        type: string
                      subtype:
                        type: string
                      parameters:
                        additionalProperties:
                          type: string
                        type: object
                      wildcardType:
                        type: boolean
                      wildcardSubtype:
                        type: boolean
                  allowedMethods:
                    type: array
                    items:
                      type: string
                    uniqueItems: true
                  cookies:
                    type: object
                    additionalProperties:
                      type: object
                      properties:
                        name:
                          type: string
                        value:
                          type: string
                        version:
                          type: integer
                          format: int32
                        path:
                          type: string
                        domain:
                          type: string
                        comment:
                          type: string
                        maxAge:
                          type: integer
                          format: int32
                        expiry:
                          type: string
                          format: date-time
                        secure:
                          type: boolean
                        httpOnly:
                          type: boolean
                  entityTag:
                    type: object
                    properties:
                      value:
                        type: string
                      weak:
                        type: boolean
                  stringHeaders:
                    type: object
                    additionalProperties:
                      type: array
                      items:
                        type: string
                  lastModified:
                    type: string
                    format: date-time
                  date:
                    type: string
                    format: date-time
                  headers:
                    type: object
                    additionalProperties:
                      type: array
                      items:
                        type: object
                  entity:
                    type: object
                  links:
                    type: array
                    items:
                      type: object
                      properties:
                        type:
                          type: string
                        params:
                          type: object
                          additionalProperties:
                            type: string
                        uri:
                          type: string
                          format: uri
                        title:
                          type: string
                        uriBuilder:
                          type: object
                        rel:
                          type: string
                        rels:
                          type: array
                          items:
                            type: string
                    uniqueItems: true
        '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 "Rename Analysis" action.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessage'
      security:
      - RMS_Auth: []
      tags:
      - MetricsV2
    delete:
      operationId: deleteAnalysisv2
      summary: Delete result
      description: ''
      parameters:
      - name: id
        in: path
        description: ID number of result.
        required: true
        schema:
          type: integer
          format: int32
          minimum: 1
      responses:
        '204':
          description: Analysis deleted successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  metadata:
                    type: object
                    additionalProperties:
                      type: array
                      items:
                        type: object
                  status:
                    type: integer
                    format: int32
                  length:
                    type: integer
                    format: int32
                  location:
                    type: string
                    format: uri
                  language:
                    type: object
                    properties:
                      language:
                        type: string
                      script:
                        type: string
                      country:
                        type: string
                      variant:
                        type: string
                      extensionKeys:
                        type: array
                        items:
                          type: string
                        uniqueItems: true
                      unicodeLocaleAttributes:
                        type: array
                        items:
                          type: string
                        uniqueItems: true
                      unicodeLocaleKeys:
                        type: array
                        items:
                          type: string
                        uniqueItems: true
                      iso3Language:
                        type: string
                      iso3Country:
                        type: string
                      displayLanguage:
                        type: string
                      displayScript:
                        type: string
                      displayCountry:
                        type: string
                      displayVariant:
                        type: string
                      displayName:
                        type: string
                  statusInfo:
                    type: object
                    properties:
                      family:
                        type: string
                        enum:
                        - INFORMATIONAL
                        - SUCCESSFUL
                        - REDIRECTION
                        - CLIENT_ERROR
                        - SERVER_ERROR
                        - OTHER
                      statusCode:
                        type: integer
                        format: int32
                      reasonPhrase:
                        type: string
                  mediaType:
                    type: object
                    properties:
                      type:
                        type: string
                      subtype:
                        type: string
                      parameters:
                        additionalProperties:
                          type: string
                        type: object
                      wildcardType:
                        type: boolean
                      wildcardSubtype:
                        type: boolean
                  allowedMethods:
                    type: array
                    items:
                      type: string
                    uniqueItems: true
                  cookies:
                    type: object
                    additionalProperties:
                      type: object
                      properties:
                        name:
                          type: string
                        value:
                          type: string
                        version:
                          type: integer
                          format: int32
                        path:
                          type: string
                        domain:
                          type: string
                        comment:
                          type: string
                        maxAge:
                          type: integer
                          format: int32
                        expiry:
                          type: string
                          format: date-time
                        secure:
                          type: boolean
                        httpOnly:
                          type: boolean
                  entityTag:
                    type: object
                    properties:
                      value:
                        type: string
                      weak:
                        type: boolean
                  stringHeaders:
                    type: object
                    additionalProperties:
                      type: array
                      items:
                        type: string
                  lastModified:
                    type: string
                    format: date-time
                  date:
                    type: string
                    format: date-time
                  headers:
                    type: object
                    additionalProperties:
                      type: array
                      items:
                        type: object
                  entity:
                    type: object
                  links:
                    type: array
                    items:
                      type: object
                      properties:
                        type:
                          type: string
                        params:
                          type: object
                          additionalProperties:
                            type: string
                        uri:
                          type: string
                          format: uri
                        title:
                          type: string
                        uriBuilder:
                          type: object
                        rel:
                          type: string
                        rels:
                          type: array
                          items:
                            type: string
                    uniqueItems: true
        '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 Results" action.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessage'
      security:
      - RMS_Auth: []
      tags:
      - MetricsV2
  /v2/analyses/{id}/analysis-region:
    get:
      operationId: getAnalysisRegionsv2
      summary: Get region details
      description: ''
      parameters:
      - name: id
        in: path
        description: ID number of result.
        required: true
        schema:
          type: integer
          format: int32
          minimum: 1
      responses:
        '200':
          description: List of region details for specified analysis successfully retrieved.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AnalysisRegionSearchResultV2'
        '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 "View Results" action.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessage'
      security:
      - RMS_Auth: []
      tags:
      - MetricsV2
  /v2/analyses/{analysisID}/cedants:
    get:
      operationId: getCedantsByAnalysisv2
      summary: Get cedants by result
      description: ''
      parameters:
      - name: analysisID
        in: path
        description: ID number of result.
        required: true
        schema:
          type: integer
          format: int32
          minimum: 1
      - name: perspective
        in: query
        description: Financial perspective that provides a view of risk. One of `FA` (facultative reinsurance loss), `GR` (gross loss), `GU` (ground up loss), `QS` (quota share loss), `RG` (reinsurance gross loss), `RL` (net loss cat), `RN` (reinsurance net loss), `SS` (surplus share loss), or `WX` (working excess loss).
        schema:
          type: string
      responses:
        '200':
          description: List of Cedants in the analysis is successfully retrieved.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CedantSearchResult'
        '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 "View Results" action.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessage'
      security:
      - RMS_Auth: []
      tags:
      - MetricsV2
  /v2/analyses/{id}/climate-change:
    post:
      operationId: runClimateChangev2
      summary: Calculate climate change
      description: ''
      parameters:
      - name: id
        in: path
        description: ID number of <<glossary:base analysis>> result.
        required: true
        schema:
          type: integer
          format: int32
          minimum: 1
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ClimateChangeInput'
        required: true
      responses:
        '202':
          description: 'Accepted: A `CLIMATE_CHANGE` job was added to the workflow engine queue for processing. Returns a URL in the `Location` header that enables you to track the status of the job e.g. `/{host}/v1/workflows/100000`. Send periodic HTTP GET requests to the URL for the job status. See [Workflow Engine](https://developer.rms.com/rms-developers/docs/workflow-engine).

            '
          headers:
            Location:
              description: workflowId
              style: simple
              schema:
                type: string
                format: URI
          content:
            application/json:
              schema:
                type: object
                properties:
                  metadata:
                    type: object
                    additionalProperties:
                      type: array
                      items:
                        type: object
                  status:
                    type: integer
                    format: int32
                  length:
                    type: integer
                    format: int32
                  location:
                    type: string
                    format: uri
                  language:
                    type: object
                    properties:
                      language:
                        type: string
                      script:
                        type: string
                      country:
                        type: string
                      variant:
                        type: string
                      extensionKeys:
                        type: array
                        items:
                          type: string
                        uniqueItems: true
                      unicodeLocaleAttributes:
                        type: array
                        items:
                          type: string
                        uniqueItems: true
                      unicodeLocaleKeys:
                        type: array
                        items:
                          type: string
                        uniqueItems: true
                      iso3Language:
                        type: string
                      iso3Country:
                        type: string
                      displayLanguage:
                        type: string
                      displayScript:
                        type: string
                      displayCountry:
                        type: string
                      displayVariant:
                        type: string
                      displayName:
                        type: string
                  statusInfo:
                    type: object
                    properties:
                      family:
                        type: string
                        enum:
                        - INFORMATIONAL
                        - SUCCESSFUL
                        - REDIRECTION
                        - CLIENT_ERROR
                        - SERVER_ERROR
                        - OTHER
                      statusCode:
                        type: integer
                        format: int32
                      reasonPhrase:
                        type: string
                  mediaType:
                    type: object
                    properties:
                      type:
                        type: string
                      subtype:
                        type: string
                      parameters:
                        additionalProperties:
                          type: string
                        type: object
                      wildcardType:
                        type: boolean
                      wildcardSubtype:
                        type: boolean
                  allowedMethods:
                    type: array
                    items:
                      type: string
                    uniqueItems: true
                  cookies:
                    type: object
                    additionalProperties:
                      type: object
                      properties:
                        name:
                          type: string
             

# --- truncated at 32 KB (144 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/moodys-rms/refs/heads/main/openapi/moodys-rms-metricsv2-api-openapi.yml