İçeriğe geç
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Tarama Kullanımını Görüntüle

Get screening usage

get

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.

Authorizations
API-KeystringRequired
Query parameters
startTimeinteger · int64Optional

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.

Example: 1704067200
endTimeinteger · int64Optional

End of the time range, as a Unix timestamp in seconds (inclusive). If both startTime and endTime are omitted, the current billing cycle is used.

Example: 1706745600
targetstring · enumOptional

The target type to count. Omit to count all targets.

Example: addressPossible values:
Responses
200

Response. A non-zero code indicates a business error even when the HTTP status is 200.

application/json
codeintegerOptional

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.

Example: 0
msgstringOptional

"Success" when code is 0, otherwise the error message for that code.

Example: Success
get/account/usage/screening
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
  }
}

Son güncelleme