For the complete documentation index, see llms.txt. This page is also available as Markdown.

スクリーニング利用状況を取得する

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.

認可
API-Keystring必須
クエリパラメータ
startTimeinteger · int64オプション

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 · int64オプション

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 · enumオプション

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

Example: address可能な値:
レスポンス
200

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

application/json
codeintegerオプション

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
msgstringオプション

"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
  }
}

最終更新