Consultar el uso de evaluaciones
Get the account's screening usage count based on screen tasks. Optionally filter by a time range and a target type. If both startTime and endTime are omitted, the current billing cycle is used by default.
Start of the time range, as a Unix timestamp in seconds (inclusive). If both startTime and endTime are omitted, the current billing cycle is used.
1704067200End of the time range, as a Unix timestamp in seconds (inclusive). If both startTime and endTime are omitted, the current billing cycle is used.
1706745600The target type to count. Omit to count all targets.
addressValores posibles: Response. A non-zero code indicates a business error even when the HTTP status is 200.
The business status code. 0 means the request succeeded; any other value means it failed. Business errors are returned with HTTP 200 and a non-zero code, so a 200 response is not by itself a success — always check this field. Authentication and rate-limiting failures use a non-200 HTTP status instead, so check both.
0"Success" when code is 0, otherwise the error message for that code.
SuccessAuthentication failed. The API-Key header is missing or invalid.
Rate limit exceeded. Reduce the request rate and retry.
GET /phalcon/compliance/v2/account/usage/screening HTTP/1.1
Host: api.blocksec.com
API-Key: YOUR_API_KEY
Accept: */*
{
"code": 0,
"msg": "Success",
"data": {
"screeningCount": 1234
}
}Última actualización