Skip to main content
GET
Redirect Insights

Authorizations

X-Lightsage-Api-Key
string
header
required

Path Parameters

redirect_id
string
required

Response

Successful Response

id
string
required

Library redirect ID.

title
string
required
from_url
string
required

The old address, which now redirects.

to_url
string
required

Where the old address now sends visitors and agents.

status
enum<string>
required

Whether agents that ask for the old address are now redirected, from what Agent Analytics recorded at the old address since the redirect went live. not_working when requests that still got an error or the old page are at least as many as requests that were redirected (this can show before 7 days). Otherwise checking until it has been live 7 days and at least one agent has asked for the old address, then working (redirected requests outnumber the rest; answer says so when some still fail). cant_check when the old address is on a site Agent Analytics does not track. Only 301, 302, 303, 307 and 308 count as redirected. Agent Analytics does not record where a redirect points, so working means agents are sent on, not that they reach to_url.

Available options:
working,
not_working,
checking,
cant_check
label
string
required

The status as shown: Working, Not working, Checking or Can't check.

headline
string
required

The one number behind the status, such as 41 agent errors stopped.

reason
string
required

One sentence on what it means or what to do.

answer
string
required

The status as a sentence, for the top of the redirect's page.

lede
string
required

The numbers behind it, in a sentence or two.

days_live
integer
required
tracked
boolean
required

Whether the old address is on a site Agent Analytics tracks.

host
string
required
numbers
LibraryRedirectNumbers · object
required
citations
LibraryRedirectCitations · object
required

AI answer citations in the 14 days before it went live and since, for both addresses.

live_on
string<date> | null

Day the redirect went live.

task_id
string | null
added_at
string | null
updated_at
string | null
eval
LibraryRedirectEval · object | null

The eval fix that redirects the same old address to the same new one, and its latest finished test.

daily
LibraryRedirectDay · object[]

Agent requests to the old address per day, 14 days before it went live through today.

latest_requests
LibraryRedirectRequest · object[]