Risk¶
List Models¶
GET /risk-models
Responses
| Status | Meaning | Body |
|---|---|---|
| 200 | Successful Response | RiskModelCollection |
Also the shared errors: 400, 401, 404, 405, 422, 500, 501, 503.
Get Model¶
GET /risk-models/{model_id}
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
model_id |
path | string | yes | Letters, digits, dash and underscore; up to 64. |
Responses
| Status | Meaning | Body |
|---|---|---|
| 200 | Successful Response | RiskModelView |
Also the shared errors: 400, 401, 404, 405, 422, 500, 501, 503.
Estimate¶
POST /risk-models/{model_id}/estimate
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
model_id |
path | string | yes | Letters, digits, dash and underscore; up to 64. |
Request body: RiskModelRequest or null
Responses
| Status | Meaning | Body |
|---|---|---|
| 202 | Successful Response | RiskModelJobStatus |
Also the shared errors: 400, 401, 404, 405, 422, 500, 501, 503.