Skip to content

Return Report Criteria

Request

Fetches the available criteria for a specified report type.
This endpoint is a prerequisite for creating a report and provides the valid fields that can populate the criteria property in the POST /reports request.

Use this to retrieve a list of valid fields for the report type before proceeding with report creation.

Security
bearerToken
Path
typestringrequired

The type of report for which criteria are requested. Supported values:

- amlAlert: Criteria for Anti-Money Laundering alerts.
- audit: Criteria for audit-related reports.
- profile: Criteria for profile-based reports.
- amlScreen: Criteria for AML screening reports.
- monitorSearch: Criteria for monitoring search reports.

Enum:"amlAlert""audit""profile""amlScreen""monitorSearch"
Example:amlAlert
curl -i -X GET \
  https://connect.sandbox.creditsafe.com/v1/compliance/kyc-protect/reports/criteria/amlAlert \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

Success

Bodyapplication/json
correlationIdstring

A unique ID assigned to this request.

<property name>objectadditional property

Describes one criterion.

Response
{ "fromDate": { "isRequired": true, "type": "string($Date)", "format": "yyyy-mm-dd", "description": "Cannot be a future date", "acceptableValues": null }, "toDate": { "isRequired": true, "type": "string($Date)", "format": "yyyy-mm-dd", "description": "Should fall after fromDate, results will be fetched excluding the provided to date", "acceptableValues": null }, "filterType": { "isRequired": false, "type": "string", "format": null, "description": "Determines how date filters are applied. 'screeningDate' filters searches by screening date (default). 'alertDate' filters hits by fromDate and toDate", "acceptableValues": [ … ] }, "hitDecisions": { "isRequired": false, "type": "array[string]", "format": null, "description": "Decisions made on hits. Multiple values are acceptable", "acceptableValues": [ … ] }, "hasHits": { "isRequired": false, "type": "boolean", "format": null, "description": "Indicates if there are any hits.", "acceptableValues": [ … ] }, "includeSources": { "isRequired": false, "type": "boolean", "format": null, "description": "Indicates if sources information is included in the report.", "acceptableValues": [ … ] }, "correlationId": "23f0eeef-2ff5-4ebf-a387-c1783cef0b62" }