Skip to content

Read the tenant's recurring consent reference audit.

GET
/api/admin/consent-statements/reference-audit
Code sample: Shell / cURL
curl --request GET \
--url https://auth.example.com/api/admin/consent-statements/reference-audit \
--header 'Authorization: Bearer <token>'

Requires consent settings read permission. Reports unresolved statement/version references from account shards without deleting evidence. Current progress and the last complete pass are durable; inspect last_completed after DR. Samples are bounded and samples_truncated indicates that unresolved exceeds the sample list. A version under another statement or tenant is unresolved. The endpoint does not start repairs.

Current pass and last complete report, or not_started before the first scan.

Media type application/json
object
status
required
string
Allowed values: not_started processing completed
current
required

Pass cursor, start time, scanned/unresolved counts and bounded samples.

object
key
additional properties
last_completed
required

Last completed pass, including completed_at, scanned, unresolved, samples and samples_truncated.

object
key
additional properties
Example
{
"status": "not_started"
}

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"
}