This resource supports the definition and submission of the different types of export jobs: EDM, EXPOSURE_RESOURCE, EXPOSURE_VARIATION. LOCATION_RESULTS, RDM_DATABRIDGE, RDM, RESULTS, ROLLUP_RESULTS.
The request specifies the exportType, the resource URI of the data to be exported, and other job-specific settings.
If the request is successful, returns a 201 Created HTTP response and adds an export job of the specified job type to the queue. Use the Get Export Job operation to poll the status of the export job.
EDM
The EDM export type creates a DOWNLOAD_EDM job that exports the specified exposure data (accounts, portfolios, or aggregate portfolios) from the specified EDM (resourceUri) to a downloadable on-premise EDM as a database artifact (BAK or MDF).
{
"exportType": "EDM",
"resourceType": "exposure",
"settings": {
"fileExtension": "BAK",
"sqlVersion": "2019",
"filters": {
"exposureResourceType": "ACCOUNTS",
"exposureResourceIds": [555, 556, 557]
},
"fileName": "myEDM"
},
"resourceUri": "/platform/riskdata/v1/exposures/5555"
}
The optional filters parameter selects the exposures to be exported by exposure type (e.g. ACCOUNTS, PORTFOLIOS, AGGREGATEPORTFOLIOS ) and ID number. If unspecified, all exposure data in the EDM (resourceUri) is exported. The schemaVersion parameter specifies the database schema version of the exported EDM. The schemaVersion parameter accepts the following values: v18, v21, v22, v23, v24, v25.
Exposure Resources
The EXPOSURE_RESOURCE export job exports a single account or portfolio exposure to a flat file in PARQUET format.
{
"exportType": "EXPOSURE_RESOURCE",
"resourceType": "account",
"settings": {
"fileExtension": "PARQUET",
"fileName": "myFile"
},
"resourceUri": "/platform/riskdata/v1/exposures/23/accounts/555"
}
Adds a DOWNLOAD_EXPOSURE_RESOURCE export job to the queue.
Exposure Variations
An EXPOSURE_VARIATION export job exports an exposure variation as a downloadable Parquet file.
An exposure variation is a snapshot of an account, aggregate portfolio,or portfolio exposure. Variations enable tenants to better manage exposure data by ensuring that analyses, reports, and data exports accurately reflect the state of an exposure.
This operation supports exporting three types of exposure variations: accountVariation, aggregatePortfolioVariation, portfolioVariation.
The request specifies the exportType, the resource type, the resource URI of the exposure variation to export, and other job-specific settings. The settings object varies depending on whether the exposure variation is exported to a downloadable Parquet file, an existing EDM, or a new EDM.
{
"exportType": "EXPOSURE_VARIATION",
"resourceUri": "/platform/riskdata/v1/exposurevariations/3233774",
"resourceType": "portfolioVariation",
"settings": {
"fileExtension": "parquet",
"fileName": "my_variation_export_1"
}
}
The settings object specifies the name of the file and the file format, i.e. parquet.
If successful, this operation creates a new job (DOWNLOAD_EXPOSURE_VARIATION) and returns a 201 Created HTTP Status code. The Location header parameter returns the URL of DOWNLOAD_EXPOSURE_VARIATION job that can be used to poll the status of the job, and download the file when the job is finished.
Location Results
The LOCATION_RESULTS export type enables you to export location-level analysis results to a flat file in CSV format.
{
"exportType": "LOCATION_RESULTS",
"resourceType": "analyses",
"settings": {
"fileExtension": "CSV",
"exposureFields": ["apZone", "areaUnit", "basinName", "biZone"],
"perspectiveCodes": ["C0", "GR"],
"fileName": "myCsvFile"
},
"resourceUris": [
"/platform/riskdata/v1/analyses/555",
"/platform/riskdata/v1/analyses/556",
"/platform/riskdata/v1/analyses/557"
]
}
The number of analysis results that can be exported in a single request depends on the entitlement assigned to the client.
RI-UNDERWRITEIQ: Up to 100 analysis results can be exported.RI-EXPOSUREIQorRI-MODELER: Up to 15 analysis results can be exported.
Adds a DOWNLOAD_LOCATION_RESULTS export job to the queue.
RDM
The RDM export type creates a DOWNLOAD_RDM job that exports the specified result data to an RDM (result data module) as a database artifact (BAK or MDF).
A maximum of 100 analysis results can be exported in a single request.
{
"exportType": "RDM",
"resourceType": "analyses",
"settings": {
"fileExtension": "BAK",
"sqlVersion": "2019",
"rdmName": "rdm_327993",
"exportHdLossesAs": "ELT",
"lossDetails": [
{
"metricType": "STATS",
"outputLevels": ["Policy", "Location"]
},
{
"metricType": "EP",
"outputLevels": ["Portfolio", "Account"]
},
{
"metricType": "LOSS_TABLES",
"outputLevels": ["Geographic", "Facultative"]
}
]
},
"resourceUris": [
"/platform/riskdata/v1/analyses/555",
"/platform/riskdata/v1/analyses/556",
"/platform/riskdata/v1/analyses/557",
"/platform/riskdata/v1/analyses/558",
"/platform/riskdata/v1/analyses/559"
]
}
The optional loss Details parameter specifies the metricType (EP, STATS, LOSS_TABLES) to export and the output level (granularity) of exported result data: Account, Facultative, Geographic, Policy, Location, Portfolio.
If specified, the optional schemaVersion parameter specifies the database schema version of the result data in the exported RDM. The schemaVersion parameter accepts the following values: v18, v21, v22, v23, v24, v25.
RDM Data Bridge
The RDM_DATABRIDGE export type creates a DOWNLOAD_RDM job that exports analysis result data to a new or existing managed RDM database on Data Bridge.
Data Bridge is a data integration service that enables Intelligent Risk Platform tenants to transfer data between cloud-based and on-premise risk modeling systems. Moody’s Insurance Solutions exposure and results data uploaded to Data Bridge may be accessed and processed by applications like Risk Modeler running on Risk Intelligence™
A maximum of 100 analysis results can be exported in a single request.
Depending on the parameters specified in the request, data can be exported to a new or existing RDM database.
Result data is exported to an existing RDM if the request specifies the serverId and databaseId in the settings object of the request.
{
"exportType": "RDM_DATABRIDGE",
"resourceType": "analyses",
"settings": {
"rdmName": "RDM",
"serverId": 67,
"databaseId": 9999,
"exportHdLossesAs": "ELT"
},
"resourceUris": [
"/platform/riskdata/v1/analyses/555",
"/platform/riskdata/v1/analyses/556",
"/platform/riskdata/v1/analyses/557"
]
}
Note
Whenever analysis results data is exported to an existing RDM, the database schema version of that RDM will be automatically updated to the latest version of the RDM database schema.
Result data is exported to an entirely new RDM if the request specifies the serverId and name parameters in the settings object of the request. The request can specify the name of the new RDM and the database schema version of that database.
{
"exportType": "RDM_DATABRIDGE",
"resourceType": "analyses",
"settings": {
"rdmName": "rdm_export",
"serverId": 88094,
"exportHdLossesAs": "ELT",
"schemaVersion": "v18"
},
"resourceUris": [
"/platform/riskdata/v1/analyses/555",
"/platform/riskdata/v1/analyses/556",
"/platform/riskdata/v1/analyses/557"
]
}
The optional schemaVersion parameter specifies the database schema version of the new RDM. The schemaVersion parameter accepts the following values: v18, v21, v22, v23, v24, v25.
Results
The RESULTS job type supports exporting analysis result data (loss tables, EP metrics, and statistics) to a flat file in CSV or PARQUET format.
Following one or more HD, DLM, ALM analysis, you can export the metadata, EP, stats, event loss table, period loss table, hazard data, damage data, and uncertainty data as files for manipulation outside of Risk Modeler.
For treaty losses, export of catastrophe (CATA), corporate catastrophe (CORP), stop loss (STOP), and per-risk treaty losses are supported for DLM, ALM, and HD results, but export of facultative losses is available for HD results only.
A single analysis result can be exported.
{
"exportType": "RESULTS",
"resourceType": "analyses",
"settings": {
"fileExtension": "CSV",
"additionalOutputs": ["DAMAGE", "HAZARD", "UNCERTAINTY"],
"lossDetails": [
{
"metricType": "STATS",
"outputLevels": ["Cresta"]
}
],
"nonWeightedPlt": true
},
"resourceUris": ["/platform/riskdata/v1/analyses/555"]
}
Table identifies analysis results can export data:
| Metric Type | HD EP | HD Non-EP | DLM EP | DLM Non-EP | ALM EP | ALM Non-EP |
|---|---|---|---|---|---|---|
DAMAGE | X | X | X | X | X | X |
EP | X | X | X | |||
HAZARD | X | |||||
LOSS_TABLES | X | X | X | X | X | X |
STATS | X | X | X | X | ||
UNCERTAINTY | X | X |
Adds a DOWNLOAD_RESULTS export job to the queue.
Rollup analysis results
The ROLLUP_RESULTS export type supports exporting rollup analysis results to a flat file in CSV or PARQUET format.
A rollup analysis computes marginal EP curves, calculates gross and net portfolio position metrics, and breakdowns by segment for each hierarchy node in the portfolio. Rollup results include loss tables, EP curves, and statistics (aal, stddev, cv ).
This operation enables the client to export EP, PLT, or STATS for the specified analysis. Within each export loss type, data can be filtered by position or "broken down".
Exported analysis data may be segmented or unsegmented.
{
"exportType": "ROLLUP_RESULTS",
"resourceType": "analyses",
"settings": {
"fileExtension": "PARQUET",
"lossDetails": {
"ep": {
"includeSegmented": true,
"includeUnSegmented": true,
"positionTypes": ["PROGRAM", "CONTRACT_SUBJECT", "GROSS"]
}
}
},
"resourceUris": ["/platform/riskdata/v1/analyses/555"]
}
The request can export EP, STATS, or PLT data.
Data can filtered by positionType. The following position types are supported: ASSUMED, CEDED, CONTRACT, CONTRACT_ASSUMED, CONTRACT_SUBJECT, GROSS, NET, NODE, PROGRAM, RETRO_CONTRACT, and RETRO_CONTRACT_SUBJECT.
Adds a DOWNLOAD_ROLLUP_RESULTS export job to the queue.
End of SQL Server 2016 Support
Microsoft plans to end extended support of SQL Server 2016 on July 14, 2026. As a result, the Intelligent Risk Platform™ will end support for SQL Server 2016 in June 2026. This change may affect Export API jobs that export data to EDM or RDM databases.
Entitlements
RI-EXPOSUREIQ∙RI-RISKMODLER∙RI-TREATYIQ∙RI-UNDERWRITEIQ
/platform/export/v1/jobs/, BAK, CSV, EDM, EXPOSURE_RESOURCE, LOCATION_RESULTS, MDF, PARQUET, RDM, RDM_DATABRIDGE, RESULTS, ROLLUP_RESULTS, additionalOutputs, createexportjob, databaseId, exportHdLossesAs, exportType, exposureFields, fileExtension, lossDetails, nonWeightedPlt, perspectiveCodes, rdmName, resourceUris, serverId, sqlVersion
