Request indexing
Press Request indexing for one URL, which puts it in Google's indexing queue.
POST https://cotlet.dev/api/v1/google-search-console/indexing/request
Presses Request indexing in the URL Inspection tool. If the page passes a quick check, Google adds it to the indexing queue, and refuses when the live test finds the page non-indexable. Request indexing allows about 10 requests a day per Google account, shared across all its properties; every call spends one, and when it is spent the call returns quota_exceeded and submits nothing. A request does not guarantee the page appears in Google. It reaches no one, so it runs without asking first; the agent counts the quota instead.
Parameters
| Name | Type | Description |
|---|---|---|
| property string required | string | Property as Search Console lists it: sc-domain:example.com for a Domain property, https://example.com/ for a URL-prefix property. |
| url string required | string | Full URL inside the property, e.g. https://example.com/blog/new-post. |
Request
curl -X POST https://cotlet.dev/api/v1/google-search-console/indexing/request \
-H "Authorization: Bearer $COTLET_API_KEY" \
-H "Content-Type: application/json" \
-d '{"property":"sc-domain:example.com","url":"https://example.com/guides/search-console-api"}' result = client.call("google-search-console", "request_indexing", {"property":"sc-domain:example.com","url":"https://example.com/guides/search-console-api"}) const result = await cotlet.call('google-search-console', 'request_indexing', {"property":"sc-domain:example.com","url":"https://example.com/guides/search-console-api"}); cotlet call google-search-console request_indexing --data '{"property":"sc-domain:example.com","url":"https://example.com/guides/search-console-api"}' Example response
{
"url": "https://example.com/guides/search-console-api",
"status": "requested",
"indexed_before": false,
"quota": "available",
"note": "Google queues the URL after a quick check. Indexing usually takes about a day but can take much longer."
}