Cleanup counts at a glance
The numbers for the top of a cleanup page. Nothing is checked when you call this; it reads what the checks found.
bearerAuthorizationBearer <token>A personal API key (ga_…), sent as Authorization: Bearer ga_…. A key gets 403 on a resource it has no access to, and on anything that changes data without write access.
Counts of links, dead links and duplicates
application/json- response
links*integerLive link items
checked*integerOf those, how many have been checked at least once
dead*integerDead links the user has not chosen to keep
suspect*integerLinks that are failing but not yet confirmed dead
duplicate_groups*integerPages saved more than once
duplicate_items*integerCopies beyond the first of each page, so the number a full cleanup would remove
last_checked_at*|The most recent check of any of the user's links
date-timecurl -X GET 'https://example.com/v1/cleanup'{ "links": 0, "checked": 0, "dead": 0, "suspect": 0, "duplicate_groups": 0, "duplicate_items": 0, "last_checked_at": "2019-08-24T14:15:22Z"}Delete a rule (changes it already made stay) DELETE
Previous Page
List dead links GET
Link items whose page is gone, oldest id first. Dead links the user chose to keep are left out. A link counts as dead only after 3 answers in a row that the page does not exist (a 404, a 410 or a domain that no longer exists), spread over at least 24 hours. A site that is briefly down is never reported. Until then the link is counted as `suspect` in the summary. Each entry is a short summary. Get `GET /v1/items/{id}` for the whole item. To archive or delete a dead link, use the normal item routes.