Unkey · Schema

V2AnalyticsGetVerificationsRequestBody

API KeysRate LimitingAuthenticationDeveloper PlatformAccess ControlIdentityAnalytics

Properties

Name Type Description
query string SQL query to execute against your analytics data. Only SELECT queries are allowed.
View JSON Schema on GitHub

JSON Schema

unkey-v2analyticsgetverificationsrequestbody-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/V2AnalyticsGetVerificationsRequestBody",
  "title": "V2AnalyticsGetVerificationsRequestBody",
  "type": "object",
  "required": [
    "query"
  ],
  "properties": {
    "query": {
      "type": "string",
      "description": "SQL query to execute against your analytics data.\nOnly SELECT queries are allowed.\n",
      "example": "SELECT COUNT(*) as total FROM key_verifications_v1 WHERE outcome = 'VALID' AND time >= now() - INTERVAL 7 DAY"
    }
  }
}