Edit a page target
A new selector or text resets its health.
Sessions: admins.
Needs the experts:write scope. A key without it gets 403 insufficient_scope. Routes not in this reference cannot be called with a key at all (403 not_available_to_api_keys).
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
id
The expert id.
targetId
The page target id.
Request
This endpoint expects an object.
name
description
pagePattern
selector
textHint
Response
OK
id
A UUID.
agentId
A UUID.
name
pagePattern
Where it lives (a path glob; * is every page).
health
ok: found recently; missing: an SDK reported it missing; unseen: no report yet.
Allowed values:
createdAt
updatedAt
description
selector
textHint
lastSeenAt
missingSince
Errors
401
Unauthorized Error
403
Forbidden Error
429
Too Many Requests Error