Autional Autional
API Reference GitHub autional.com →

GET /admin/oauth/clients/{client_id}/stats

Returns token usage statistics for a specified client (active token count, last request time, etc.).

OAuth Client Management `bearerAuth` application/json

Request Parameters

NameInTypeRequiredDefaultExampleConstraintsDescription
client_id path string Yes Client ID

Responses

StatusDescriptionSchema
200Statistics datadto.ClientStatsDetailResponse
400Invalid request parametersgitee_com_linmes_authms_base_dto.SimpleResponse
401Unauthenticated: provide a valid Bearer Tokengitee_com_linmes_authms_base_dto.SimpleResponse
403Insufficient permissions: administrator role requiredgitee_com_linmes_authms_base_dto.SimpleResponse
404Client not found or does not belong to the current tenantgitee_com_linmes_authms_base_dto.SimpleResponse
500Internal server errorgitee_com_linmes_authms_base_dto.SimpleResponse

Referenced Schemas

dto.ClientStatsDetailResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
data dto.ClientStatsResponse No
message string No
timestamp string No

dto.ClientStatsResponse

OAuth client token statistics

FieldTypeRequiredExampleConstraintsDescription
active_refresh_tokens integer No 5
active_tokens integer No 10
client_id string No client-001
last_request_at string No 2026-04-15T10:30:00Z

gitee_com_linmes_authms_base_dto.SimpleResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
message string No
timestamp string No