Skip to content

Get the contact cleanup report

GET
/api/privacy/cleanup
curl --request GET \
--url http://127.0.0.1:8765/api/privacy/cleanup

The one-time contact cleanup’s report. Contact details stored before 0.1.10.7 (stored resumes; the name and contact items of the PDF settings) are removed once, at gigai scout run and when the server starts, through the normal write path. This reads the stored report: what kinds and how many were removed, where, never a value, and that earlier copies remain in the workpad’s local history. status is not_run before the first cleanup.

Success.

Media typeapplication/json
object
schema_version
required
Allowed value: scout-contact-cleanup-report:1
key
additional properties
any
Example
{
"removed_any": false,
"schema_version": "scout-contact-cleanup-report:1",
"shown": true,
"status": "already_done"
}

Forbidden_origin

Media typeapplication/json
object
error
required
object
allowed_keys
Array<string>
code
required
string
message
required
string
key
additional properties
any
Example
{
"error": {
"code": "forbidden_origin",
"message": "..."
}
}

Target_unavailable

Media typeapplication/json
object
error
required
object
allowed_keys
Array<string>
code
required
string
message
required
string
key
additional properties
any
Example
{
"error": {
"code": "target_unavailable",
"message": "..."
}
}