Scans
Preview the cost of a Console check, submit it, follow its status, read its results, and cancel it.
A scan is one Console check. Submit it with a domain_id and optional keywords (prompts) and platforms; the credits are debited when it is accepted. The preview operation takes the same body and returns the cost without debiting. Triggering a check walks through the full flow and the request fields.
A scan's status is pending, then running, and ends as completed, failed, or cancelled. The list operation returns your 50 most recent scans, optionally filtered by domain_id. Only one scan can be pending or running per domain. Each scan carries measurement_scope, measurement_label, status, answers_total, answers_completed, answers_failed, visibility_score, brand_coverage_pct, citation_count, market_position, market_basis, started_at, completed_at, duration_seconds, error_message, selected_platforms, customer_keywords, and created_at; Triggering a check describes each field.
The results operation returns what a completed check measured: Visibility Score, Brand Coverage, AI Mentions, per-platform results, cited sources, and each prompt's presence on each platform. Market Position comes from the saved Full Check publication, with its reference in headline.market_basis; it is null when unranked or unavailable. The endpoint returns 409 results_not_ready with the check's status until the check has completed, and for a check that failed or was cancelled. Read the results describes each field. The scan.completed webhook for a Console check carries the results URL as results_url.
Submitting requires an Idempotency-Key header. If you lose the submission response, follow Recover an unconfirmed check before sending another request. Cancelling a pending scan refunds its credits; cancelling a running scan does not.
Query Parameters
501 <= value <= 200Header Parameters
Response Body
curl -X GET "https://api.surfacedby.com/api/v1/console/scans?domain_id=string&cursor=string&page_size=50" \ -H "X-API-Key: string"null{
"detail": [
{
"ctx": {},
"input": null,
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}Header Parameters
1 <= lengthResponse Body
curl -X POST "https://api.surfacedby.com/api/v1/console/scans" \ -H "Idempotency-Key: string" \ -H "X-API-Key: string" \ -H "Content-Type: application/json" \ -d '{ "domain_id": "string" }'null{
"detail": [
{
"ctx": {},
"input": null,
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}Header Parameters
1 <= lengthResponse Body
curl -X POST "https://api.surfacedby.com/api/v1/console/scans/preview" \ -H "X-API-Key: string" \ -H "Content-Type: application/json" \ -d '{ "domain_id": "string" }'null{
"detail": [
{
"ctx": {},
"input": null,
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}curl -X GET "https://api.surfacedby.com/api/v1/console/scans/string" \ -H "X-API-Key: string"null{
"detail": [
{
"ctx": {},
"input": null,
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}curl -X GET "https://api.surfacedby.com/api/v1/console/scans/string/results" \ -H "X-API-Key: string"null{
"detail": [
{
"ctx": {},
"input": null,
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}curl -X POST "https://api.surfacedby.com/api/v1/console/scans/string/cancel" \ -H "X-API-Key: string"null{
"detail": [
{
"ctx": {},
"input": null,
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}