Skip to main content
POST
Get Capture Focus
Use this API to find where a check’s comment sits on its captured screenshot: the site version, the page, the device, the element’s box, the pages to walk through, and the comment’s row with its thumbnail. Use it to open a screenshot zoomed on the problem. The comment must carry a check: an agent comment the engine keyed, or a person’s comment attached to a check. See Checks Overview.

Endpoint

POST https://api.velt.dev/v2/agents/checks/capture-focus/get

Headers

string
required
Your API key.
string
required

Body

Params

object
required
The schema uses .strict(): unknown fields are rejected.

Example Requests

Response

Success Response

The comment above is shortened. It has every field of a List Check Comments row.

Failure Response

Errors: INVALID_ARGUMENT (a body outside the schema: a missing or malformed annotationId, or an unknown field) / NOT_FOUND with CHECKS_COMMENT_NOT_FOUND (no such comment in the project) or CHECKS_WORKSPACE_NOT_FOUND (the workspace has no store database) / FAILED_PRECONDITION with CHECKS_NOT_A_CHECK_COMMENT (the comment carries no check).