Website indexing summary
A one-call health check on indexing coverage: how many pages are known, how many have actually been fetched, where they sit in the embedding pipeline, and how many technical issues are open.
Fetch this before drawing conclusions from any per-page citation metric. Coverage is the denominator under all of them.
GET /v1/brands/{brand_id}/website/summaryAuthorization
| Header | Type | Required |
|---|---|---|
Authorization | Bearer asky_sk_… | required |
Path parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
brand_id | uuid | required | From List brands |
Query parameters
None.
Any parameter you pass returns 400 invalid_request naming the offending key, rather than being
ignored silently.
Request
cURL
curl --request GET \
--url 'https://api.askylabs.com/v1/brands/242546de-4cee-4a7d-952e-f6aa60c63ef8/website/summary' \
--header 'Authorization: Bearer <api-key>'Response
200
{
"data": {
"total_pages": 318,
"fetched_pages": 302,
"embedding_status_counts": {
"embedded": 288,
"pending": 12,
"discovered": 14,
"failed": 3,
"skipped": 1
},
"open_issue_count": 7
},
"request_id": "req_bf7210ce49a3486d95f8"
}Response fields
| Field | Type | Description |
|---|---|---|
data.total_pages | integer | required. HTML pages known to us |
data.fetched_pages | integer | required. Pages that came back with a title. total − fetched is the crawl backlog |
data.embedding_status_counts | object | required. Page count per embedding state |
data.open_issue_count | integer | required. Unresolved technical issues found on the site |
request_id | string | required. Also returned as the x-request-id header. Quote it when contacting support |
Errors
| Status | Code | When |
|---|---|---|
| 400 | invalid_request | A parameter is unknown or malformed. The message names it |
| 401 | invalid_token | The key is missing, malformed, or does not exist |
| 401 | token_expired | The key passed its expiry date |
| 401 | token_revoked | The key was revoked |
| 404 | not_found | The brand does not exist, or this key is not allowed to reach it. The two are deliberately indistinguishable |
| 429 | rate_limited | Over 300 requests per minute. See the Retry-After header |
Notes
A large gap between total_pages and fetched_pages usually means the site is blocking our
crawler rather than that the pages do not exist. That is worth checking before treating low
citation rates as a content problem.
Last updated on