Query statisticsAsk AIget https://{tenant}/admin/api/v1/statistics/{name}You can query statistics by calling this endpoint. REQUIRED API PERMISSIONread:statisticPath ParamsnamestringenumrequiredCustomerAuthenticatedCustomerRegisteredForgottenUsernameRequestedMFAEnrollmentPasswordResetFlowRunExternalServiceCallMFAAuthenticationAdaptiveAccessResendRequestAccountLockoutDisabledAccountLoginAttemptConsentActivityScreenTimeConnectorErrorConnectorResponseTimeEventHookExecutionTimeEventHookErrorsIdentityVerificationStepShow 19 enum valuesQuery ParamsstartDatedate-timeendDatedate-timelocationstringDefaults to Etc/UTCLocation in IANA time zone format.groupByarray of stringsgroupByADD stringapplicationarray of stringsList of application ids that events should be used for the statisticsapplicationADD stringclientarray of stringsList of client ids that events should be used for the statisticsclientADD stringidentityStoresarray of stringsFilter by identity store namesidentityStoresADD stringhookarray of stringsFilter by hook id or ids. Supported for 'EventHookExecutionTime' and 'EventHookErrors', otherwise ignored.hookADD stringorganizationarray of stringsFilter by organization id or idsorganizationADD stringintervalstringenum1h...99hAllowed:1h...99hperiodstringenumDesired resolution for the the requested statisticshourdaymonthyearAllowed:hourdaymonthyearflowTypearray of stringsenumFilter against the given flowType. Supported for 'FlowRun', otherwise ignored.flowTypeADD stringdecisionarray of stringsenumFilter against adaptive access decision. Supported for 'AdaptiveAccess', otherwise ignored.decisionADD stringresultarray of stringsenumFilter against the given result.resultADD stringvariantarray of stringsFilter against the given variant IDs or 'null'. Explicit 'null' means baseline variant.variantADD stringsizeint32≥ 0Defaults to 0Limits the number of returned elements. Value '0' means no limiting. Supported for 'FlowRun' and 'ScreenTime', otherwise ignored.sortstringSorting criteria in the format: value,(asc|desc). Supported for 'FlowRun' and 'ScreenTime', otherwise ignored.consentIdstringConsent ID filter. Supported for 'ConsentActivity', otherwise ignored.consentVersionint32Consent version filter, which should be used with consent ID. Supported for 'ConsentActivity', otherwise ignored.connectorResponseTimeTypearray of stringsFilter against the given connector response time type. Supported for 'ConnectorResponseTime', otherwise ignored.connectorResponseTimeTypeADD stringconnectorErrorTypearray of stringsFilter against the given connector error type. Supported for 'ConnectorError', otherwise ignored.connectorErrorTypeADD stringstepIdarray of stringsFilter against identity verification step id. supported for 'IdentityVerificationStep', otherwise ignored.stepIdADD stringpolicyIdstringIdentity verification policy ID filter. supported for 'IdentityVerificationStep', otherwise ignored.policyVersionstringIdentity verification policy version filter. Should be used with identity verification policy ID. Supported for 'IdentityVerificationStep', otherwise ignored.HeadersacceptstringenumDefaults to application/problem+jsonGenerated from available response content types*/*application/problem+jsonAllowed:*/*application/problem+jsonResponses 200OK 400Bad Request 401Unauthorized 403ForbiddenUpdated about 1 month ago