Skip to content

Get Password Exposure Stats

GET
/api/v1/password-exposure
curl --request GET \
--url https://api.spartanauth.com/api/v1/password-exposure

Counts passwords that are breached, clear, or not yet checked. A sector admin can read that sector. A tenant-root admin can omit sectorID to count every sector on the current tenant database. This does not open other tenants.

sectorID
string

Empty counts every sector on the bound tenant database

A successful response.

Media type application/json
object
withPassword
integer format: int32
pwned
integer format: int32
clear
integer format: int32
unchecked
not clear and not pwned, including unknown and never checked
integer format: int32
unknown
integer format: int32
Example generated
{
"withPassword": 1,
"pwned": 1,
"clear": 1,
"unchecked": 1,
"unknown": 1
}

An unexpected error response.

Media type application/json
object
code
integer format: int32
message
string
details
Array<object>
object
@type
string
key
additional properties
Example generated
{
"code": 1,
"message": "example",
"details": [
{
"@type": "example"
}
]
}