X-ray an ad or landing page
sightglass_xrayStart an X-ray: a graded teardown of one ad (with its landing page, as a funnel) or one landing page, scored against what works in its category. Pass exactly one of adId or sitePageId. This spends the workspace's Replo credits (the model cost, or one credit when a grade already exists), so only call it when the user asked for a grade. It returns a request; poll sightglass_get_xray with its id every few seconds until it finishes, then read the grade with the same target. Returns data only: nothing is shown to the user yet. Once you know the answer, call sightglass_show once with this call's resultId to show it as cards; the show call does not search again.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| adId | No | Grade this ad together with its landing page, as a funnel. | |
| projectId | Yes | Replo project id, from list_projects: where the charge or the asset lands. Its workspace's plan applies. | |
| sitePageId | No | Grade this landing page alone. | |
| workspaceId | No | Replo workspace id, from list_workspaces. Sets which workspace's plan applies; required when the user has more than one workspace. |