Get user attribute statistics.
GET
/api/admin/attributes/stats
Code sample: Shell / cURL
curl --request GET \ --url https://auth.example.com/api/admin/attributes/stats \ --header 'Authorization: Bearer <token>'Returns totals for all, active, expired, and unique-user attributes, plus breakdowns by source, attribute name, and verification result.
Authorizations
Section titled “Authorizations ”Responses
Section titled “ Responses ”User attribute statistics response.
Media type application/json
object
total
required
integer
active
required
integer
expired
required
integer
unique_users
required
integer
by_source
required
Array<object>
object
source_type
string
count
integer
key
additional properties
by_name
required
Array<object>
object
attribute_name
string
count
integer
key
additional properties
verifications
required
Array<object>
object
verification_result
string
count
integer
key
additional properties
key
additional properties
Example generated
{ "total": 1, "active": 1, "expired": 1, "unique_users": 1, "by_source": [ { "source_type": "example", "count": 1 } ], "by_name": [ { "attribute_name": "example", "count": 1 } ], "verifications": [ { "verification_result": "example", "count": 1 } ]}Error response.
Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{ "error": "example", "message": "example", "error_description": "example"}Error response.
Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{ "error": "example", "message": "example", "error_description": "example"}Error response.
Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{ "error": "example", "message": "example", "error_description": "example"}