ApiMonitorConfig data model
The ApiMonitorConfig shape in the Visual Sentinel REST API.
Fields
| Field | Type | Required | Description |
|---|---|---|---|
assertions | array of object | No | Max items 100. |
assertions[].path | string | Yes | Max length 1024. |
assertions[].operator | string | Yes | One of: equals, not_equals, contains, not_contains, exists, not_exists, greaterThan, lessThan, matches, type. |
assertions[].value | string or number or boolean or null | No | |
assertions[].valueType | string | No | One of: string, number, boolean, null. |
assertions[].target | string | No | One of: body, header, status. Default: body. |
responseSlo | number or null | No | Default: null. |
responseFormat | string | No | One of: json, text, xml, auto. Default: json. |
saveResponseBody | boolean | No | Default: true. |
maxResponseBodySize | integer | No | Default: 10240. Minimum 1024, maximum 51200. |
graphql | object | No | |
graphql.query | string | Yes | Min length 1, max length 20480. |
graphql.variables | map of JsonValue | No |
Used by
- CreateMonitorRequest data model
- UpdateMonitorRequest data model
Generated from the OpenAPI 3.1 specification at https://docs.visualsentinel.com/openapi.json.