# Endpoint reference

The public API has 448 operations in 26 groups. Every path on this page is relative to `https://app.vitalsentinel.com/api/public/v1`.

This page is a map. The [OpenAPI document](https://app.vitalsentinel.com/api/public/v1/openapi.json) is the contract. It has the request and response schemas, the query parameters, and the notes for each operation that are too long for a table.

**Read the conventions first.** [Pagination, time ranges, and idempotency](/api/conventions) apply to all operations. This page does not repeat them for each endpoint.

**How to read the Credits column.** The number is the full price of one successful call. An answer from the cache costs 0, except on the two routes marked "Never discounted". A call with the price 5 is a heavy read and uses the `heavy-query` [rate-limit bucket](/api/rate-limits). The `X-Credits-Cost` response header always shows what a call cost. See [API credits](/api/credits).

**Roles.** A `write:` or `run:` operation needs the owner or admin role in the workspace. There are two exceptions: `write:notifications` and `run:reports`, which a member can also use. See [Scopes](/api/scopes#a-credential-is-a-ceiling-not-a-grant).

## Meta [#meta]

| Method | Path | Scope | Credits | Description |
|---|---|---|---:|---|
| `GET` | `/health` | none | 0 | Service health. Unauthenticated |
| `GET` | `/me` | none | 0 | Describe the calling credential, its scopes, and its effective scopes |

## Crawler [#crawler]

| Method | Path | Scope | Credits | Description |
|---|---|---|---:|---|
| `GET` | `/crawler` | none | 0 | Facts about the VitalSentinel crawler, including its IP addresses and check rates |

Use `/crawler` to keep your firewall allowlist up to date. It needs no credential. See [Monitoring IPs](/help/monitoring-ips).

## Browser extension [#browser-extension]

The [SEO Extension](/browser-extension/introduction) uses these two operations.

| Method | Path | Scope | Credits | Description |
|---|---|---|---:|---|
| `GET` | `/domain-rating` | none | 0 | The Ahrefs Domain Rating (0-100) of the registrable domain of `target`, a host or a URL. Used by the browser extension |
| `POST` | `/extension/telemetry` | none | 0 | The daily usage report of the extension, without an identifier. Returns 204. Used by the browser extension |

`/domain-rating` needs no credential. Without one, it has a limit for each IP address. With an API key or OAuth token, the normal limits of the credential apply. Show the `attribution` of the answer with the number. `domain_rating` is null if Ahrefs has no score. An old cached answer has `stale: true`.

`/extension/telemetry` reads no credential. Only the extension calls it. See [Usage and error counts](/browser-extension/privacy-and-permissions#usage-and-error-counts).

## Workspaces and domains [#workspaces-and-domains]

These operations are read-only. You can create or change a workspace or a domain only in the dashboard.

| Method | Path | Scope | Credits | Description |
|---|---|---|---:|---|
| `GET` | `/workspaces` | `read:workspaces` | 0 | List accessible workspaces |
| `GET` | `/workspaces/{workspace_id}` | `read:workspaces` | 1 | Get a workspace |
| `GET` | `/workspaces/{workspace_id}/setup-summary` | `read:workspaces` | 5 | The setup summary of every domain in a workspace |
| `GET` | `/domains` | `read:domains` | 0 | List domains |
| `GET` | `/domains/{domain_id}` | `read:domains` | 1 | Get a domain |
| `GET` | `/domains/{domain_id}/limits` | `read:domains` | 5 | Get plan limits and usage |
| `GET` | `/domains/{domain_id}/verification` | `read:domains` or `read:pages` or `read:site_health` | 1 | Get the [domain verification](/getting-started/domain-setup/verify-ownership) status. Read-only: the API cannot start a verification |
| `GET` | `/domains/{domain_id}/annotations` | `read:domains` | 1 | List the site annotations of a domain |
| `GET` | `/domains/{domain_id}/setup-state` | `read:domains` | 5 | Which modules of a domain are connected, waiting or need attention |
| `GET` | `/domains/{domain_id}/tracking-settings` | `read:analytics` or `read:rum` | 1 | The options of the tracking scripts of a domain |

`/workspaces` and `/domains` return the page envelope, but today they always return a single page.

`/domains/{domain_id}/setup-state` tells you which modules of a domain are connected, which wait for their first data, and which need attention. Use it before you read a module, to know if an empty answer means "no data yet" or "not connected". For Form Monitoring, the answer also has `forms`, the number of active tracked forms, and `needs_script`. `needs_script` is true when a tracked form counts through the Forms tag (`forms.js`), but the tag has not reported on the site yet. `/workspaces/{workspace_id}/setup-summary` gives the same summary for every domain of a workspace in one call.

`/domains/{domain_id}/tracking-settings` needs `read:analytics` or `read:rum`. It shows how the tracking scripts of a domain are set up, for example the RUM sample rate.

<Callout type="info">
  **`/workspaces` reports no retention figure.** How long VitalSentinel keeps data depends on the type of data. To size a query window, see [Data privacy](/help/data-privacy).
</Callout>

## Domain overview and health [#domain-overview-and-health]

These are the two cross-module summaries. Start here before you read each module.

| Method | Path | Scope | Credits | Description |
|---|---|---|---:|---|
| `GET` | `/domains/{domain_id}/overview` | `read:overview` | 5 | Cross-module summary with period comparison |
| `GET` | `/domains/{domain_id}/health` | `read:domains` | 5 | Cross-module health snapshot |

Both answers cover every module that is set up for the domain. These modules are RUM, CrUX, Synthetic Monitoring, uptime, robots.txt, indexing, Search Console, Web Analytics, Page Monitoring, Form Monitoring, Sitemap Monitoring and Site Health Monitoring. With `read:logs`, they also cover Server Log Monitoring. Form Monitoring shows only in `verdict` and `module_status`.

Both answers have a `verdict` and a `module_status`. These are the same judgement that the dashboard shows: `critical`, `warning`, `good`, `neutral` or `none` for each module. A module that stopped receiving data is `critical`, and VitalSentinel does not judge it on its old figures.

A module block is `null` when the module is not set up for the domain. `null` does not mean healthy.

### Which summary to use [#which-summary-to-use]

| | `/overview` | `/health` |
|---|---|---|
| Scope required | `read:overview` | `read:domains` |
| Window | Last 28 complete UTC days against the 28 days before. Fixed | The same by default. `from` and `to` select a different window, at most 366 days |
| Comparison | Previous-period values for CrUX, Search Console and Web Analytics only | **Every** configured module. `compare` selects `previous_period`, `year_over_year`, `none` or `custom` |
| Freshness control | None. Always cached, up to one hour old | `freshness=cached` (default) or `freshness=live` |
| Reports its own age | Yes, `meta.cache_age_seconds` | Yes, `meta.cache_age_seconds` |

**Use `/health` during an incident.** Send `freshness=live` to skip the cache and calculate every module again now. It is slower, and `cache_age_seconds` is 0, so you know that the answer is fresh.

With the default `freshness=cached`, read `meta.cache_age_seconds` before you trust `uptime.is_up`. A snapshot up to one hour old is correct for a dashboard. It is not correct for the question "is the site up now".

`/overview` has no freshness control. Do not use it for a question about the current state. Use `/health?freshness=live`, or `/uptime/status`, which is never cached.

If VitalSentinel cannot read a module, `/health` returns `503` with `service-unavailable` and `Retry-After: 30`. It does not return a snapshot in which that module looks empty. Retry after the interval.

## URL Overview [#url-overview]

URL Overview is available only in the API and the MCP server. The dashboard has no page for it.

| Method | Path | Scope | Credits | Description |
|---|---|---|---:|---|
| `GET` | `/domains/{domain_id}/url-overview` | Any module `read:` scope, or `read:overview` | 5 | All that VitalSentinel knows about one URL, now. Put the full URL in `url` |

The response has one section for each module: `url`, `crawl`, `search_console`, `indexing`, `server_logs`, `sitemap`, `robots`, `web_analytics`, `rum`, `crux`, `synthetic`, `uptime` and `alerts`. Each section shows the latest state, not the history.

Each section has a `status`: `ok`, `no_data`, `not_connected`, `not_in_scope`, `not_applicable` or `timeout`. `not_in_scope` means that the credential has no scope for that module. `timeout` means that the section was too slow, and the other sections still come back. Missing data is never 0.

The `url` must be an absolute `http` or `https` URL on the domain. If it is not, the API returns `422` with `invalid_url` or `url_out_of_scope`.

Three optional parameters change the answer:

- `sections` is a comma-separated list of section keys, for example `search_console,crux`. Only these sections run and come back, so the call is faster. An unknown key returns `422` with `invalid_sections`.
- `days` is `28` or `90`. It sets the window of `search_console` and `web_analytics`. With it, `crux` also lists the 75th percentiles of every collection in the window.
- `fallback=domain` fills a section that has no data for the URL with the data of the domain. Each section then has `scope`: `url` or `domain`.

VitalSentinel keeps the answer in the cache for 10 minutes, and a cached answer costs 0. A credential that holds only `read:overview` pays 0 and gets only the `url` section. The `missing_scopes` field lists the scopes that would show more.

## Credits [#credits]

| Method | Path | Scope | Credits | Description |
|---|---|---|---:|---|
| `GET` | `/credits` | none | 0 | Workspace credit balance and your own cap |
| `GET` | `/credits/log` | `read:credits` for OAuth | 0 | This cycle's spending, request by request |
| `GET` | `/credits/workspaces` | none | 0 | One balance per accessible workspace, each with its own cycle |

All three cost 0 credits. `/credits` and `/credits/log` take an optional `workspace_id`. `/credits/workspaces` takes no parameters, because it already covers every workspace that the credential can reach.

VitalSentinel charges a request to the workspace whose data it read. Thus a connection that covers several workspaces has a separate balance and a separate log for each one. If you do not send `workspace_id`, you get the default workspace of the connection. For an API key, that is the only workspace.

`/credits/log` needs `read:credits` for an OAuth credential. An owner or admin sees the full log of the workspace. A member sees only the requests made with their own credentials.

Workspaces do not share a billing cycle, so each balance from `/credits/workspaces` has its own `cycle_start` and `cycle_end`. If you add their `used` figures together, the result mixes different date ranges.

See [API credits](/api/credits). In the dashboard, the balance is on the [API credits](/workspace/api-credits) page of the workspace.

## Uptime [#uptime]

There is no `write:uptime`. You can change the uptime settings only in the dashboard.

| Method | Path | Scope | Credits | Description |
|---|---|---|---:|---|
| `GET` | `/domains/{domain_id}/uptime/status` | `read:uptime` | 1 | Current uptime status. **Never cached**, so this is the right call for "is the site up right now" |
| `GET` | `/domains/{domain_id}/uptime/availability` | `read:uptime` | 5 | Uptime availability percentage |
| `GET` | `/domains/{domain_id}/uptime/after-effects` | `read:uptime` | 5 | What each outage did to crawling, Google fetches, the index and clicks |
| `GET` | `/domains/{domain_id}/uptime/timeline` | `read:uptime` | 5 | Uptime check timeline, bucketed |
| `GET` | `/domains/{domain_id}/uptime/incidents` | `read:uptime` | 5 | Downtime incidents |
| `GET` | `/domains/{domain_id}/uptime/incident-alerts` | `read:uptime` | 1 | The alerts that fired near an outage |
| `GET` | `/domains/{domain_id}/uptime/response-times` | `read:uptime` | 5 | DNS, connect, TLS, and total response-time breakdown |
| `GET` | `/domains/{domain_id}/uptime/response-clocks` | `read:uptime` | 5 | How fast the uptime check and Googlebot were served, over the same window |
| `GET` | `/domains/{domain_id}/uptime/slow-checks` | `read:uptime` | 5 | Slow but successful checks |
| `GET` | `/domains/{domain_id}/uptime/stats-extra` | `read:uptime` | 5 | Response-time percentiles, MTTR, and slow-check count |
| `GET` | `/domains/{domain_id}/uptime/speed-series` | `read:uptime` | 5 | How fast the site answered, over time |
| `GET` | `/domains/{domain_id}/uptime/config` | `read:uptime` | 1 | Get uptime monitoring configuration |
| `GET` | `/domains/{domain_id}/uptime/checker-block` | `read:uptime` | 5 | Whether the site refuses VitalSentinel's uptime checks |
| `GET` | `/domains/{domain_id}/uptime/days` | `read:uptime` | 5 | Uptime day by day |
| `GET` | `/domains/{domain_id}/uptime/up-but-broken` | `read:uptime` | 5 | Hours when something was wrong although the site looked up |

`/uptime/status` is never cached, so use it for the question "is the site up now".

Six reads leave the checker delay out of their response-time figures: `/uptime/availability`, `/uptime/timeline`, `/uptime/slow-checks`, `/uptime/stats-extra`, `/uptime/speed-series` and `/uptime/days`. `/uptime/response-times` does the same when you send `granularity`. A checker delay is a period in which the VitalSentinel checker was slow, not your site. The `checker_delay` object gives the minutes left out, and the periods. Up and down results and check counts do not change.

`/uptime/timeline` accepts an optional `tz` (an IANA time zone name). Without `tz`, the API uses UTC. An unknown time zone returns `400`.

## SSL [#ssl]

| Method | Path | Scope | Credits | Description |
|---|---|---|---:|---|
| `GET` | `/domains/{domain_id}/ssl/summary` | `read:ssl` | 1 | SSL status summary |
| `GET` | `/domains/{domain_id}/ssl/latest` | `read:ssl` | 1 | Latest SSL certificate |
| `GET` | `/domains/{domain_id}/ssl` | `read:ssl` | 1 | SSL certificate chain detail |
| `GET` | `/domains/{domain_id}/ssl/history` | `read:ssl` | 5 | SSL certificate history |
| `GET` | `/domains/{domain_id}/ssl/events` | `read:ssl` | 5 | SSL certificate change events |
| `GET` | `/domains/{domain_id}/ssl/domain-expiration` | `read:ssl` | 1 | Domain registration expiration |

## CrUX [#crux]

| Method | Path | Scope | Credits | Description |
|---|---|---|---:|---|
| `GET` | `/domains/{domain_id}/crux/overview` | `read:crux` | 5 | Latest CrUX overview |
| `GET` | `/domains/{domain_id}/crux/timeline` | `read:crux` | 5 | CrUX metrics timeline |
| `GET` | `/domains/{domain_id}/crux/compare` | `read:crux` | 5 | Compare metrics between two periods |
| `GET` | `/domains/{domain_id}/crux/trends/{metric_name}` | `read:crux` | 5 | Trend for one metric |
| `GET` | `/domains/{domain_id}/crux/histogram/{metric_name}` | `read:crux` | 5 | Distribution histogram for one metric |
| `GET` | `/domains/{domain_id}/crux/urls` | `read:crux` | 5 | List monitored URLs |
| `GET` | `/domains/{domain_id}/crux/urls/{url_id}` | `read:crux` | 1 | Get a monitored URL |
| `POST` | `/domains/{domain_id}/crux/urls/bulk` | `write:crux` | 25 | Add multiple URLs |
| `POST` | `/domains/{domain_id}/crux/urls/bulk-delete` | `write:crux` | 1 | Remove multiple URLs |
| `DELETE` | `/domains/{domain_id}/crux/urls/{url_id}` | `write:crux` | 1 | Remove a URL |
| `GET` | `/domains/{domain_id}/crux/urls/{url_id}/context` | `read:crux` | 5 | One tracked page in the other modules over the last 28 days. Each figure needs the scope of its module |
| `GET` | `/domains/{domain_id}/crux/pages` | `read:crux` | 5 | Every tracked page with Google's pass, needs work or fail verdict on phone and desktop |
| `GET` | `/domains/{domain_id}/crux/suggestions` | `read:crux` | 5 | Busy pages that CrUX Monitoring does not track yet |

The API cannot start a CrUX refresh. CrUX collection uses a key pool that all customers share, so a refresh loop from one script would make collection slower for every other customer.

## Synthetic Monitoring [#synthetic-monitoring]

There is no `run:synthetic`. A script that starts tests outside the schedule would cause a test bill with no limit, for data that the schedule collects anyway.

| Method | Path | Scope | Credits | Description |
|---|---|---|---:|---|
| `GET` | `/domains/{domain_id}/synthetic/overview` | `read:synthetic` | 5 | Overview |
| `GET` | `/domains/{domain_id}/synthetic/overview-trend` | `read:synthetic` | 5 | Synthetic Monitoring results as a time series, with a comparison window |
| `GET` | `/domains/{domain_id}/synthetic/timeline` | `read:synthetic` | 5 | Test timeline |
| `GET` | `/domains/{domain_id}/synthetic/trends` | `read:synthetic` | 5 | Metric trends over time |
| `GET` | `/domains/{domain_id}/synthetic/compare` | `read:synthetic` | 5 | Compare performance between two periods |
| `GET` | `/domains/{domain_id}/synthetic/tests/{test_id}` | `read:synthetic` | 5 | Full results for one test |
| `GET` | `/domains/{domain_id}/synthetic/opportunities` | `read:synthetic` | 5 | Recurring Lighthouse opportunities, aggregated across recent runs |
| `GET` | `/domains/{domain_id}/synthetic/urls` | `read:synthetic` | 5 | List monitored URLs |
| `GET` | `/domains/{domain_id}/synthetic/urls/{url_id}` | `read:synthetic` | 5 | Get a monitored URL |
| `GET` | `/domains/{domain_id}/synthetic/urls/{url_id}/locations` | `read:synthetic` | 1 | Configured locations for a URL |
| `GET` | `/domains/{domain_id}/synthetic/locations` | `read:synthetic` | 1 | Available testing locations |
| `GET` | `/domains/{domain_id}/synthetic/locations-with-data` | `read:synthetic` | 5 | Locations with collected data |
| `GET` | `/domains/{domain_id}/synthetic/location-limits` | `read:synthetic` | 1 | Location limits for this workspace |
| `POST` | `/domains/{domain_id}/synthetic/urls/bulk` | `write:synthetic` | 25 | Add multiple URLs |
| `POST` | `/domains/{domain_id}/synthetic/urls/bulk-delete` | `write:synthetic` | 1 | Remove multiple URLs |
| `POST` | `/domains/{domain_id}/synthetic/urls/bulk-frequency` | `write:synthetic` | 1 | Update frequency for multiple URLs |
| `PUT` | `/domains/{domain_id}/synthetic/urls/{url_id}/frequency` | `write:synthetic` | 1 | Update the frequency for one URL |
| `PUT` | `/domains/{domain_id}/synthetic/urls/{url_id}/locations` | `write:synthetic` | 1 | Set the locations for one URL |
| `DELETE` | `/domains/{domain_id}/synthetic/urls/{url_id}` | `write:synthetic` | 1 | Remove a URL |
| `GET` | `/domains/{domain_id}/synthetic/field-compare` | `read:synthetic` | 5 | Tested pages against real visitors (CrUX first, RUM second) |
| `GET` | `/domains/{domain_id}/synthetic/page-reach` | `read:synthetic` | 5 | The Google clicks and RUM visits of each tested page |
| `GET` | `/domains/{domain_id}/synthetic/suggestions` | `read:synthetic` | 5 | Busy pages that no test checks yet |

## RUM [#rum]

RUM is read-only, and the API [redacts RUM data more strictly than the dashboard](/api/conventions#rum-is-stricter-here-than-the-dashboard).

| Method | Path | Scope | Credits | Description |
|---|---|---|---:|---|
| `GET` | `/domains/{domain_id}/rum/overview` | `read:rum` | 5 | RUM overview |
| `GET` | `/domains/{domain_id}/rum/has-data` | `read:rum` | 5 | Whether this domain has any RUM data at all |
| `GET` | `/workspaces/{workspace_id}/rum/has-data` | `read:rum` | 5 | Whether each domain in a workspace has any RUM data |
| `GET` | `/domains/{domain_id}/rum/vitals` | `read:rum` | 5 | Core Web Vitals, by device type |
| `GET` | `/domains/{domain_id}/rum/vitals/timeline` | `read:rum` | 5 | Core Web Vitals over time |
| `GET` | `/domains/{domain_id}/rum/vitals/distribution-timeline` | `read:rum` | 5 | Good, needs-improvement, and poor split over time |
| `GET` | `/domains/{domain_id}/rum/vitals/lcp/subparts` | `read:rum` | 5 | LCP timing breakdown |
| `GET` | `/domains/{domain_id}/rum/vitals/lcp/subparts/timeline` | `read:rum` | 5 | LCP timing breakdown, daily |
| `GET` | `/domains/{domain_id}/rum/vitals/lcp/element-types` | `read:rum` | 5 | LCP breakdown by element type |
| `GET` | `/domains/{domain_id}/rum/vitals/lcp/element-types/timeline` | `read:rum` | 5 | LCP element types, daily |
| `GET` | `/domains/{domain_id}/rum/vitals/lcp/resources` | `read:rum` | 5 | Top LCP resources |
| `GET` | `/domains/{domain_id}/rum/vitals/inp/subparts/timeline` | `read:rum` | 5 | INP timing breakdown, daily |
| `GET` | `/domains/{domain_id}/rum/vitals/inp/script-domains` | `read:rum` | 5 | Top INP script sources |
| `GET` | `/domains/{domain_id}/rum/vitals/ttfb/subparts/timeline` | `read:rum` | 5 | TTFB timing breakdown, daily. Carries a sixth, nullable field, `avg_waiting_time_ms` |
| `GET` | `/domains/{domain_id}/rum/vitals/by-device` | `read:rum` | 5 | Core Web Vitals for phone and desktop in one call |
| `GET` | `/domains/{domain_id}/rum/vitals/cls/shift-elements` | `read:rum` | 5 | The elements that cause layout shift (CLS), and the pages where they move most |
| `GET` | `/domains/{domain_id}/rum/pages` | `read:rum` | 5 | Page performance breakdown |
| `GET` | `/domains/{domain_id}/rum/pages/by-device` | `read:rum` | 5 | Pages ranked by impact, with phone and desktop side by side |
| `GET` | `/domains/{domain_id}/rum/pageviews` | `read:rum` | 5 | Aggregated page views |
| `GET` | `/domains/{domain_id}/rum/events` | `read:rum` | 5 | Individual RUM events |
| `GET` | `/domains/{domain_id}/rum/errors` | `read:rum` | 5 | Error counts by type |
| `GET` | `/domains/{domain_id}/rum/errors/groups` | `read:rum` | 5 | Distinct error kinds |
| `GET` | `/domains/{domain_id}/rum/errors/groups/{key}` | `read:rum` | 5 | Where one error problem occurs: pages, browsers, devices and countries |
| `GET` | `/domains/{domain_id}/rum/errors/details` | `read:rum` | 5 | Detailed error records with stack traces |
| `GET` | `/domains/{domain_id}/rum/errors/timeline` | `read:rum` | 5 | The share of visits with an error, over time |
| `GET` | `/domains/{domain_id}/rum/engagement` | `read:rum` | 5 | User engagement metrics |
| `GET` | `/domains/{domain_id}/rum/engagement/correlation` | `read:rum` | 5 | Performance versus engagement correlation histogram |
| `GET` | `/domains/{domain_id}/rum/engagement/rage-click-spots` | `read:rum` | 5 | Rage-click hot spots: the page and element of each burst of three or more fast clicks |
| `GET` | `/domains/{domain_id}/rum/geographic` | `read:rum` | 5 | Geographic distribution of RUM metrics |
| `GET` | `/domains/{domain_id}/rum/summary` | `read:rum` | 5 | Visits, and the share of visits with an error |

`/workspaces/{workspace_id}/rum/has-data` is the one route in this group with a `workspace_id` instead of a `domain_id`. It reports every domain in the workspace in one call. Use it to find which of your sites send RUM data.

**`/rum/vitals/ttfb/subparts/timeline` has a nullable field, `avg_waiting_time_ms`.** It is the time from the start of navigation to the DNS lookup. With it, `avg_waiting_time_ms + avg_dns_time_ms + avg_connection_time_ms + avg_request_time_ms` is equal to TTFB. The TLS and response fields are context, not parts of the sum.

`null` in `avg_waiting_time_ms` means "not measured", never zero. A real value of zero is possible. Do not change `null` to `0`.

**The RUM `period_days` parameters have a maximum of `496`.** A larger value returns `422`, not an empty series. An explicit `end_date` ends the window at that time exactly, and `window_end` in the response states the exact window.

## Web Analytics [#web-analytics]

| Method | Path | Scope | Credits | Description |
|---|---|---|---:|---|
| `GET` | `/domains/{domain_id}/analytics/overview` | `read:analytics` | 5 | Traffic overview |
| `GET` | `/domains/{domain_id}/analytics/timeline` | `read:analytics` | 5 | Visitors and pageviews timeline |
| `GET` | `/domains/{domain_id}/analytics/realtime` | `read:analytics` | 5 | Live activity |
| `GET` | `/domains/{domain_id}/analytics/pages` | `read:analytics` | 5 | Top, entry, or exit pages |
| `GET` | `/domains/{domain_id}/analytics/authors` | `read:analytics` | 5 | Reading numbers per article author |
| `GET` | `/domains/{domain_id}/analytics/authors/articles` | `read:analytics` | 5 | The articles one author is credited on |
| `GET` | `/domains/{domain_id}/analytics/sources` | `read:analytics` | 5 | Traffic source breakdown |
| `GET` | `/domains/{domain_id}/analytics/devices` | `read:analytics` | 5 | Device, browser, and OS breakdown |
| `GET` | `/domains/{domain_id}/analytics/geographic` | `read:analytics` | 5 | Geographic breakdown |
| `POST` | `/domains/{domain_id}/analytics/goals` | `write:analytics` | 1 | Create a conversion goal |
| `GET` | `/domains/{domain_id}/analytics/goals` | `read:analytics` | 1 | List the conversion goals |
| `GET` | `/domains/{domain_id}/analytics/goals/suggestions` | `read:analytics` | 5 | Goals that the traffic of the site suggests |
| `DELETE` | `/domains/{domain_id}/analytics/goals/{goal_id}` | `write:analytics` | 1 | Delete a conversion goal |
| `PUT` | `/domains/{domain_id}/analytics/goals/{goal_id}` | `write:analytics` | 1 | Change a conversion goal |
| `GET` | `/domains/{domain_id}/analytics/events` | `read:analytics` | 5 | Custom events |
| `GET` | `/domains/{domain_id}/analytics/search` | `read:analytics` | 5 | Site search queries |
| `GET` | `/domains/{domain_id}/analytics/search-themes` | `read:analytics` | 1 | The themes of the site search |
| `GET` | `/domains/{domain_id}/analytics/search-themes/searches` | `read:analytics` | 5 | The searches in one theme |
| `GET` | `/domains/{domain_id}/analytics/outbound` | `read:analytics` | 5 | Outbound link clicks |
| `GET` | `/domains/{domain_id}/analytics/downloads` | `read:analytics` | 5 | File download clicks |
| `GET` | `/domains/{domain_id}/analytics/ecommerce/overview` | `read:analytics` | 5 | Ecommerce overview |
| `GET` | `/domains/{domain_id}/analytics/ecommerce/products` | `read:analytics` | 25 | Ecommerce products. Never discounted |
| `GET` | `/domains/{domain_id}/analytics/ecommerce/why-moved` | `read:analytics` | 5 | Why orders (or the conversions of a goal) and revenue moved |
| `GET` | `/domains/{domain_id}/analytics/config` | `read:analytics` | 1 | Get analytics configuration |
| `PUT` | `/domains/{domain_id}/analytics/config` | `write:analytics` | 1 | Update analytics configuration |
| `GET` | `/domains/{domain_id}/analytics/conversions` | `read:analytics` | 5 | Conversions: goals and orders over time |
| `GET` | `/domains/{domain_id}/analytics/conversions/cuts` | `read:analytics` | 5 | One goal, orders or revenue, split by a dimension |
| `GET` | `/domains/{domain_id}/analytics/funnels` | `read:analytics` | 1 | List funnels |
| `GET` | `/domains/{domain_id}/analytics/funnels/{funnel_id}` | `read:analytics` | 1 | Get a funnel |
| `POST` | `/domains/{domain_id}/analytics/funnels` | `write:analytics` | 1 | Create a funnel |
| `PUT` | `/domains/{domain_id}/analytics/funnels/{funnel_id}` | `write:analytics` | 1 | Update a funnel |
| `DELETE` | `/domains/{domain_id}/analytics/funnels/{funnel_id}` | `write:analytics` | 1 | Delete a funnel |
| `GET` | `/domains/{domain_id}/analytics/reports/_registered` | `read:analytics` | 1 | List registered report keys |
| `GET` | `/domains/{domain_id}/analytics/reports/_summary` | `read:analytics` | 5 | Latest run per registered report |
| `GET` | `/domains/{domain_id}/analytics/reports/{key}/latest` | `read:analytics` | 5 | Latest completed run for a report |
| `GET` | `/domains/{domain_id}/analytics/reports/runs/{run_id}` | `read:analytics` | 5 | Get a report run |
| `GET` | `/domains/{domain_id}/analytics/reports/runs/{run_id}/rows` | `read:analytics` | 5 | Paginated slice of a run's rows |
| `POST` | `/domains/{domain_id}/analytics/reports/{report_key}/run` | `run:analytics` | 25 | Run an on-demand report. Needs `Idempotency-Key` |
| `GET` | `/domains/{domain_id}/analytics/known-events` | `read:analytics` | 1 | Notes about changes to how metrics are calculated |

A conversion goal counts an event name or a page path. The goals and the conversions endpoints show the same data as the **Conversions** page of Web Analytics.

## Google Search Console [#google-search-console]

| Method | Path | Scope | Credits | Description |
|---|---|---|---:|---|
| `GET` | `/domains/{domain_id}/gsc/properties` | `read:gsc` | 1 | The Search Console properties of the domain, and the property that the Search Console routes read |
| `GET` | `/domains/{domain_id}/gsc/overview` | `read:gsc` | 5 | Overview statistics |
| `GET` | `/domains/{domain_id}/gsc/performance` | `read:gsc` | 25 | Performance time series. Never discounted |
| `GET` | `/domains/{domain_id}/gsc/queries` | `read:gsc` | 5 | Query-level performance |
| `GET` | `/domains/{domain_id}/gsc/pages` | `read:gsc` | 5 | Page-level performance |
| `GET` | `/domains/{domain_id}/gsc/countries` | `read:gsc` | 5 | Performance by country |
| `GET` | `/domains/{domain_id}/gsc/devices` | `read:gsc` | 5 | Performance by device |
| `POST` | `/domains/{domain_id}/gsc/dismissals` | `write:gsc` | 1 | Mark a report row as "Not a problem" |
| `GET` | `/domains/{domain_id}/gsc/dismissals` | `read:gsc` | 1 | List the report rows marked as "Not a problem" |
| `DELETE` | `/domains/{domain_id}/gsc/dismissals/{dismissal_id}` | `write:gsc` | 1 | Put a dismissed row back in the report |
| `GET` | `/domains/{domain_id}/gsc/search-appearance` | `read:gsc` | 5 | Performance by search appearance type |
| `GET` | `/domains/{domain_id}/gsc/ctr-benchmark` | `read:gsc` | 5 | Actual versus expected CTR across this domain's own position distribution |
| `GET` | `/domains/{domain_id}/gsc/new-rankings` | `read:gsc` | 5 | Queries or pages new to this domain's rankings |
| `GET` | `/domains/{domain_id}/gsc/known-events` | `read:gsc` | 1 | Known events annotated on this domain's traffic |
| `GET` | `/domains/{domain_id}/gsc/brand-patterns` | `read:gsc` | 1 | Brand-query patterns |
| `POST` | `/domains/{domain_id}/gsc/brand-patterns` | `write:gsc` | 1 | Add a brand term |
| `POST` | `/domains/{domain_id}/gsc/brand-patterns/preview` | `read:gsc` | 1 | Preview the searches that a brand term would match. Read-only POST |
| `DELETE` | `/domains/{domain_id}/gsc/brand-patterns/{pattern_id}` | `write:gsc` | 1 | Delete a brand term |
| `PATCH` | `/domains/{domain_id}/gsc/brand-patterns/{pattern_id}` | `write:gsc` | 1 | Change a brand term, or turn it on or off |
| `GET` | `/domains/{domain_id}/gsc/url-patterns` | `read:gsc` | 1 | URL-template pattern overrides |
| `GET` | `/domains/{domain_id}/gsc/locale-config` | `read:gsc` | 1 | Locale-detection configuration |
| `GET` | `/domains/{domain_id}/gsc/reports/_registered` | `read:gsc` | 1 | Reports available to run |
| `GET` | `/domains/{domain_id}/gsc/reports/_summary` | `read:gsc` | 5 | Reports hub summary |
| `GET` | `/domains/{domain_id}/gsc/reports/{report_key}/latest` | `read:gsc` | 5 | Latest completed run for a report |
| `GET` | `/domains/{domain_id}/gsc/reports/runs/{run_id}` | `read:gsc` | 5 | Get a report run |
| `GET` | `/domains/{domain_id}/gsc/reports/runs/{run_id}/rows` | `read:gsc` | 5 | Paginated slice of a run's rows |
| `POST` | `/domains/{domain_id}/gsc/reports/{report_key}/run` | `run:gsc` | 25 | Run a report. Needs `Idempotency-Key` |
| `GET` | `/domains/{domain_id}/gsc/reports/topic_clusters/runs/{run_id}/clusters/{cluster_id}/pages` | `read:gsc` | 5 | The pages of one topic cluster, one page of results at a time |
| `GET` | `/domains/{domain_id}/gsc/reports/topic_clusters/runs/{run_id}/clusters/{cluster_id}/queries` | `read:gsc` | 5 | The searches of one topic cluster, one page of results at a time |
| `GET` | `/domains/{domain_id}/gsc/topics` | `read:gsc` | 1 | List the Search Console topics (AI clusters) |
| `PUT` | `/domains/{domain_id}/gsc/topics/queries/move` | `write:gsc` | 1 | Move searches to a different topic |
| `GET` | `/domains/{domain_id}/gsc/topics/searches` | `read:gsc` | 5 | The searches in one topic |

Search Console data belongs to the domain that its property is linked to. You can connect or disconnect a Google account only in the dashboard.

Most Search Console answers have `property_used`, the property that VitalSentinel read. `GET .../gsc/properties` lists every property of the domain. Google Search Console and Indexing Monitoring use the same properties. `whole_site` is the property that a Search Console route reads by default.

To read one property alone, pass its `property_id` from `GET .../gsc/properties`. The `overview`, `performance`, `queries`, `pages`, `new-rankings`, `devices`, `countries`, `search-appearance` and `ctr-benchmark` routes accept it, and so do `reports/_summary`, `reports/{report_key}/latest` and `reports/{report_key}/run`. Without `property_id`, a route reads the Whole site. A `property_id` that is not a property of the domain gets a 404 `gsc-property-not-found`. A workspace without [Several properties for one site](/connect/search-console#several-properties-for-one-site) can read only its linked property.

With Several properties for one site, the Whole site is the property that the dashboard shows as **Whole site**. The `overview`, `performance`, `queries`, `pages`, `new-rankings`, `devices` and `countries` routes then combine the properties with the same rule as the dashboard. If the site has no Whole site property, the route answers 404 `gsc-whole-site-unavailable`. Then pass a `property_id`, or add the root URL-prefix property in Google Search Console. If the Whole site data comes from a domain property, `property_used.whole_site_source` is `domain_fallback` and `property_used.suggest_root_url` is the root property to add.

`write:gsc` changes how VitalSentinel groups the Search Console data of a domain: brand terms, topics and dismissed report rows. It changes nothing in Google Search Console.

## Indexing Monitoring [#indexing-monitoring]

| Method | Path | Scope | Credits | Description |
|---|---|---|---:|---|
| `GET` | `/domains/{domain_id}/indexing/timeline` | `read:indexing` | 5 | Coverage-state timeline |
| `GET` | `/domains/{domain_id}/indexing/issue-summary` | `read:indexing` | 5 | Aggregate issue counts |
| `GET` | `/domains/{domain_id}/indexing/inspections` | `read:indexing` | 5 | URL Inspection results |
| `GET` | `/domains/{domain_id}/indexing/url-history` | `read:indexing` | 5 | Every past inspection for one URL |
| `GET` | `/domains/{domain_id}/indexing/state-changes` | `read:indexing` | 5 | Recent per-URL coverage-state transitions |
| `GET` | `/domains/{domain_id}/indexing/state-change-counts` | `read:indexing` | 5 | The number of pages that entered or left Google |
| `POST` | `/domains/{domain_id}/indexing/stakes/query` | `read:indexing` | 5 | What a set of pages is worth in Google clicks and orders. Read-only POST |
| `GET` | `/domains/{domain_id}/indexing/sitemaps` | `read:indexing` | 5 | Search Console sitemap coverage stats |
| `GET` | `/domains/{domain_id}/indexing/diagnostics` | `read:indexing` | 5 | Collection diagnostics |
| `GET` | `/domains/{domain_id}/indexing/groups` | `read:indexing` | 1 | List URL groups |
| `GET` | `/domains/{domain_id}/indexing/priority-urls` | `read:indexing` | 1 | List priority-queue URLs |
| `GET` | `/domains/{domain_id}/indexing/properties` | `read:indexing` | 5 | List enrolled Search Console properties |
| `POST` | `/domains/{domain_id}/indexing/groups` | `write:indexing` | 1 | Create a URL group |
| `PATCH` | `/domains/{domain_id}/indexing/groups/{group_id}` | `write:indexing` | 1 | Update a URL group |
| `DELETE` | `/domains/{domain_id}/indexing/groups/{group_id}` | `write:indexing` | 1 | Delete a URL group |
| `POST` | `/domains/{domain_id}/indexing/priority-urls` | `write:indexing` | 1 | Add a URL to the priority inspection queue |
| `DELETE` | `/domains/{domain_id}/indexing/priority-urls/{priority_url_id}` | `write:indexing` | 1 | Remove a URL from the priority queue |
| `POST` | `/domains/{domain_id}/indexing/properties/{property_id}` | `write:indexing` | 25 | Enroll a property |
| `DELETE` | `/domains/{domain_id}/indexing/properties/{property_id}` | `write:indexing` | 1 | Remove a property |
| `GET` | `/domains/{domain_id}/indexing/page-causes` | `read:indexing` | 5 | What changed in the other modules near the time a page left Google |
| `GET` | `/domains/{domain_id}/indexing/log-stale-crawl` | `read:indexing` | 5 | Stale-crawl analysis from observed Googlebot fetches. Needs Server Log Monitoring |
| `GET` | `/domains/{domain_id}/indexing/log-coverage-check` | `read:indexing` | 5 | Self-check: crawls Search Console reports the log collector never saw. Needs Server Log Monitoring |
| `GET` | `/domains/{domain_id}/indexing/inspection-candidates` | `read:indexing` | 5 | Where to spend today's inspection quota, ranked by observed log activity. Needs Server Log Monitoring |
| `GET` | `/domains/{domain_id}/indexing/important-pages` | `read:indexing` | 5 | The pages that VitalSentinel checks again every week, and the reason for each page |
| `GET` | `/domains/{domain_id}/indexing/log-crawled-not-indexed` | `read:indexing` | 5 | "Crawled - currently not indexed", re-read against real crawl frequency. Needs Server Log Monitoring |
| `GET` | `/domains/{domain_id}/indexing/log-index-latency` | `read:indexing` | 5 | Time from a page's first observed crawl to it being indexed. Needs Server Log Monitoring |
| `GET` | `/domains/{domain_id}/indexing/breakdown` | `read:indexing` | 5 | The sitemap pages, split by sitemap file, site section or language |
| `GET` | `/domains/{domain_id}/indexing/check-spend` | `read:indexing` | 5 | Where this week's URL inspections went |
| `GET` | `/domains/{domain_id}/indexing/next-check` | `read:indexing` | 5 | When VitalSentinel next asks Google about one page |

The routes that start with `/indexing/log-` and `/indexing/inspection-candidates` need Server Log Monitoring.

## Robots.txt Monitoring [#robotstxt-monitoring]

There is no `run:robots`. VitalSentinel fetches robots.txt on a schedule.

| Method | Path | Scope | Credits | Description |
|---|---|---|---:|---|
| `GET` | `/domains/{domain_id}/robots/latest` | `read:robots` | 1 | Latest fetched robots.txt |
| `GET` | `/domains/{domain_id}/robots/health` | `read:robots` | 1 | Fetch health |
| `GET` | `/domains/{domain_id}/robots/hosts` | `read:robots` | 5 | robots.txt on every hostname that Google or VitalSentinel reached |
| `GET` | `/domains/{domain_id}/robots/timeline` | `read:robots` | 5 | Fetched versions |
| `GET` | `/domains/{domain_id}/robots/changes` | `read:robots` | 5 | List changes |
| `GET` | `/domains/{domain_id}/robots/diff-impacts` | `read:robots` | 5 | Per-change before and after impact |
| `POST` | `/domains/{domain_id}/robots/draft-impact/pages/query` | `read:robots` | 5 | The pages that one rule of a robots.txt draft would newly block or allow. Read-only POST |
| `POST` | `/domains/{domain_id}/robots/draft-impact/query` | `read:robots` | 5 | What a robots.txt draft would change: pages, Google clicks and AI crawlers. Read-only POST |
| `GET` | `/domains/{domain_id}/robots/crawler-access` | `read:robots` | 1 | Per-crawler allow and disallow matrix |
| `GET` | `/domains/{domain_id}/robots/ai-bots` | `read:robots` | 1 | AI-bot governance view |
| `GET` | `/domains/{domain_id}/robots/test-url` | `read:robots` | 1 | Test whether a URL is allowed for one crawler |
| `POST` | `/domains/{domain_id}/robots/test-urls/query` | `read:robots` | 1 | Test a batch of URLs. Read-only POST |
| `POST` | `/domains/{domain_id}/robots/simulate/query` | `read:robots` | 1 | Simulate a candidate robots.txt. Read-only POST |
| `GET` | `/domains/{domain_id}/robots/overlapping-rules` | `read:robots` | 1 | Overlapping rules in the stored file |
| `POST` | `/domains/{domain_id}/robots/overlapping-rules/query` | `read:robots` | 1 | Overlapping rules in a candidate file. Read-only POST |
| `GET` | `/domains/{domain_id}/robots/sitemap-conflicts` | `read:robots` | 5 | Sitemap URLs blocked by robots.txt |
| `GET` | `/domains/{domain_id}/robots/sitemap-conflicts/summary` | `read:robots` | 5 | Conflict summary |
| `GET` | `/domains/{domain_id}/robots/top-blocked` | `read:robots` | 5 | High-traffic URLs blocked by robots.txt |
| `GET` | `/domains/{domain_id}/robots/validation/history` | `read:robots` | 5 | Validation results |
| `GET` | `/domains/{domain_id}/robots/annotations` | `read:robots` | 1 | List change annotations |
| `POST` | `/domains/{domain_id}/robots/annotations` | `write:robots` | 1 | Add a note to a change |
| `PATCH` | `/domains/{domain_id}/robots/annotations/{annotation_id}` | `write:robots` | 1 | Update an annotation |
| `DELETE` | `/domains/{domain_id}/robots/annotations/{annotation_id}` | `write:robots` | 1 | Delete an annotation |
| `POST` | `/domains/{domain_id}/robots/sitemap-conflicts/recompute` | `write:robots` | 1 | Recompute the sitemap conflict check. Needs `Idempotency-Key` |
| `GET` | `/domains/{domain_id}/robots/sitemap-conflicts/patterns` | `read:robots` | 5 | The Disallow rules that block the most sitemap URLs |
| `GET` | `/domains/{domain_id}/robots/bot-reads` | `read:robots` | 5 | When Googlebot and the AI crawlers last read robots.txt |
| `GET` | `/domains/{domain_id}/robots/google-view` | `read:robots` | 5 | Pages where Google's last robots.txt verdict is different from the live file |
| `GET` | `/domains/{domain_id}/robots/reliability` | `read:robots` | 5 | How robots.txt answered VitalSentinel's checks over the last 30 days |

`write:robots` changes VitalSentinel's own notes on a change, and starts the sitemap conflict recompute. It does not change the robots.txt file on your site, and it cannot.

The recompute compares the sitemap URLs that VitalSentinel already stored against the current robots.txt again. It returns immediately and does the work in the background. Read `/robots/sitemap-conflicts/summary` again to get the result.

The recompute does not fetch a new sitemap. It removes the delay between the conflict check and a stored sitemap. It does not remove the delay of an old sitemap check. Sitemap Monitoring reads the sitemaps again every 24 hours.

The `draft-impact` routes are read-only POSTs. They calculate what a robots.txt draft would change, and VitalSentinel does not store the draft.

## Sitemap Monitoring [#sitemap-monitoring]

VitalSentinel checks the sitemaps of each domain automatically every 24 hours. See [Sitemap Monitoring](/sitemap-monitoring/overview).

| Method | Path | Scope | Credits | Description |
|---|---|---|---:|---|
| `GET` | `/domains/{domain_id}/sitemap/summary` | `read:sitemap` | 1 | Sitemap Monitoring summary |
| `GET` | `/domains/{domain_id}/sitemap/stats` | `read:sitemap` | 1 | Check statistics: the URLs in the sitemaps now, the first and the latest check, and when the next check is due |
| `GET` | `/domains/{domain_id}/sitemap/checks` | `read:sitemap` | 1 | List sitemap checks |
| `GET` | `/domains/{domain_id}/sitemap/checks/{seq}` | `read:sitemap` | 1 | Get one sitemap check |
| `GET` | `/domains/{domain_id}/sitemap/compare` | `read:sitemap` | 5 | Compare two sitemap checks |
| `GET` | `/domains/{domain_id}/sitemap/changes` | `read:sitemap` | 5 | List the URL changes between checks |
| `GET` | `/domains/{domain_id}/sitemap/urls` | `read:sitemap` | 5 | Export every discovered sitemap URL. Use `in_sitemap` to get `current`, `removed`, or `all` (default) URLs |
| `GET` | `/domains/{domain_id}/sitemap/urls/history` | `read:sitemap` | 1 | The history of one sitemap URL |
| `GET` | `/domains/{domain_id}/sitemap/urls/fate` | `read:sitemap` | 5 | The sitemap URLs, with what happened to each one |
| `GET` | `/domains/{domain_id}/sitemap/urls/summary` | `read:sitemap` | 5 | The counts behind the sitemap URLs tab |
| `GET` | `/domains/{domain_id}/sitemap/files` | `read:sitemap` | 1 | List the sitemap files and the result of each download |
| `GET` | `/domains/{domain_id}/sitemap/files/{file_id}` | `read:sitemap` | 1 | Get one sitemap file |
| `GET` | `/domains/{domain_id}/sitemap/hosts` | `read:sitemap` | 1 | List the hosts in the sitemap URLs, up to 200 |
| `GET` | `/domains/{domain_id}/sitemap/sources` | `read:sitemap` | 1 | Where each sitemap was found |
| `GET` | `/domains/{domain_id}/sitemap/config` | `read:sitemap` | 1 | Scan configuration |
| `GET` | `/domains/{domain_id}/sitemap/rate-limit` | `read:sitemap` | 1 | Whether a scan can be started |

Some fields need a second scope. Search Console figures, such as clicks on a removed URL, need `read:gsc`. Google indexing figures need `read:indexing`. Without the second scope, these fields are `null`.

To find sitemap URLs that robots.txt blocks, read the stored result at `/robots/sitemap-conflicts`. If it is old, start `POST /robots/sitemap-conflicts/recompute` first.

## Site Health Monitoring [#site-health-monitoring]

There is no `run:site_health`, because your plan sets how often VitalSentinel checks pages. See [Site Health Monitoring](/site-health/overview). With `write:site_health`, you can ask for the two checks that the dashboard also starts: **I've fixed it – check again** on one issue, and **I’ve allowlisted you – check again** on crawler access.

| Method | Path | Scope | Credits | Description |
|---|---|---|---:|---|
| `GET` | `/domains/{domain_id}/site-health` | `read:site_health` | 1 | Site Health Monitoring overview |
| `GET` | `/domains/{domain_id}/site-health/issues` | `read:site_health` | 1 | List issues |
| `GET` | `/domains/{domain_id}/site-health/issues/{issue_id}` | `read:site_health` | 5 | Get one issue with its evidence |
| `GET` | `/domains/{domain_id}/site-health/issues/{issue_id}/affected-urls` | `read:site_health` | 1 | List the pages an issue affects |
| `GET` | `/domains/{domain_id}/site-health/issues/{issue_id}/affected-pages` | `read:site_health` | 1 | The pages that an issue affects, as a table |
| `GET` | `/domains/{domain_id}/site-health/issues/{issue_id}/affected-pages/filter-options` | `read:site_health` | 1 | The filter values of an issue's affected pages |
| `POST` | `/domains/{domain_id}/site-health/issues/{issue_id}/{action}` | `write:site_health` | 1 | Act on an issue: `acknowledge` (**Mark as seen**), `ignore` (**Snooze…**), `accept-baseline` (**This is normal…**) or `reopen` |
| `GET` | `/domains/{domain_id}/site-health/issues/{issue_id}/checks` | `read:site_health` | 1 | The checks of one affected page for an issue |
| `GET` | `/domains/{domain_id}/site-health/issues/{issue_id}/evidence` | `read:site_health` | 5 | The evidence of an issue, read from its source now |
| `GET` | `/domains/{domain_id}/site-health/issues/{issue_id}/evidence/tables/{key}` | `read:site_health` | 5 | One page of an evidence table |
| `GET` | `/domains/{domain_id}/site-health/issues/{issue_id}/search` | `read:site_health` | 5 | Google search figures before and after an issue started |
| `GET` | `/domains/{domain_id}/site-health/issues/{issue_id}/story` | `read:site_health` | 5 | The story of an issue: whether the fix works |
| `GET` | `/domains/{domain_id}/site-health/issues/{issue_id}/recheck` | `read:site_health` | 1 | The state of **I've fixed it – check again**, and what each checked page shows now |
| `POST` | `/domains/{domain_id}/site-health/issues/{issue_id}/recheck` | `write:site_health` | 1 | **I've fixed it – check again**: read up to 10 pages of the issue again now. `group=true` also asks for every issue of the same kind |
| `GET` | `/domains/{domain_id}/site-health/issue-types` | `read:site_health` | 1 | Every kind of issue: its title, its source, if it can be checked again or snoozed, and the guidance. Filters: `issue_type`, `family` and `q` |
| `GET` | `/domains/{domain_id}/site-health/blocked-pages` | `read:site_health` | 1 | Which of up to 50 pages (`url_ids`) the crawler was refused on at its latest check, and by which firewall |
| `GET` | `/domains/{domain_id}/site-health/ignore-rules` | `read:site_health` | 1 | List ignore rules |
| `POST` | `/domains/{domain_id}/site-health/ignore-rules` | `write:site_health` | 1 | Add an ignore rule |
| `DELETE` | `/domains/{domain_id}/site-health/ignore-rules/{rule_id}` | `write:site_health` | 1 | Remove an ignore rule |
| `PATCH` | `/domains/{domain_id}/site-health/ignore-rules/{rule_id}` | `write:site_health` | 1 | Change an ignore rule |
| `GET` | `/domains/{domain_id}/site-health/sample` | `read:site_health` | 1 | The pages that Site Health Monitoring checks |
| `GET` | `/domains/{domain_id}/site-health/sample/urls` | `read:site_health` | 1 | List the checked URLs |
| `GET` | `/domains/{domain_id}/site-health/pins` | `read:site_health` | 1 | List pinned URLs |
| `POST` | `/domains/{domain_id}/site-health/pins` | `write:site_health` | 1 | Pin a URL |
| `DELETE` | `/domains/{domain_id}/site-health/pins/{pin_id}` | `write:site_health` | 1 | Unpin a URL |
| `GET` | `/domains/{domain_id}/site-health/settings` | `read:site_health` | 1 | Get the settings |
| `PATCH` | `/domains/{domain_id}/site-health/settings` | `write:site_health` | 1 | Change the settings |
| `GET` | `/domains/{domain_id}/site-health/score` | `read:site_health` | 1 | The Site Health score: how it moved and why |
| `GET` | `/domains/{domain_id}/site-health/availability` | `read:site_health` | 1 | Whether the crawler can reach the site. Send `limit` to get the changes of state one page at a time, with `next_cursor` and `total` |
| `POST` | `/domains/{domain_id}/site-health/availability/check` | `write:site_health` | 1 | **I’ve allowlisted you – check again** on crawler access. Returns a `job_id` |
| `GET` | `/domains/{domain_id}/site-health/deploys` | `read:site_health` | 1 | Detected site changes (deploys) |
| `GET` | `/domains/{domain_id}/site-health/ai-readability` | `read:site_health` | 1 | What AI crawlers can read. Server log figures need `read:logs` |

Each issue row has `title`, the name that the dashboard shows, and `verdict`, one sentence about what VitalSentinel found. `verdict` is `null` for a kind of issue that has no sentence. One issue also has `guidance` (why it is important, how to fix it, and the steps) and `recheck_available`.

Some issues come from the data of another module, for example Search Console or Server Log Monitoring. If the credential does not have the scope of that module, the issue detail has `evidence` as `{"status": "not_in_scope", "required_scope": "..."}`. The ranked list then has `stake` as `null`.

**I've fixed it – check again** is available once for each issue every 30 minutes. A request that is too early returns `429` with `check_rate_limited`. A closed issue, or a kind of issue that has no reading for each page, returns `409` with `recheck_not_supported`. Read the result with `GET .../recheck` until `latest.done` is true.

**I’ve allowlisted you – check again** on crawler access is available once for each domain every 5 minutes. Read `/site-health/availability` some moments later for the result.

Both checks need the owner or admin role.

## Page Monitoring [#page-monitoring]

See [Page Monitoring](/page-monitoring/overview).

| Method | Path | Scope | Credits | Description |
|---|---|---|---:|---|
| `GET` | `/domains/{domain_id}/page-monitoring` | `read:pages` | 1 | Page Monitoring overview |
| `GET` | `/domains/{domain_id}/page-monitoring/watches` | `read:pages` | 1 | List watched pages |
| `GET` | `/domains/{domain_id}/page-monitoring/watches/migration-summary` | `read:pages` | 1 | Migration check summary |
| `POST` | `/domains/{domain_id}/page-monitoring/watches` | `write:pages` | 1 | Watch one page |
| `POST` | `/domains/{domain_id}/page-monitoring/watches/bulk` | `write:pages` | 1 | Watch up to 500 pages, within your plan limit |
| `POST` | `/domains/{domain_id}/page-monitoring/watches/bulk-action` | `write:pages` | 1 | One action on up to 500 watched pages: `set_labels`, `add_labels`, `remove_labels`, `set_interval`, `stop_watching` or `resume` |
| `POST` | `/domains/{domain_id}/page-monitoring/watches/bulk-check` | `run:pages` | 25 per check | Check up to 500 pages now. Needs `Idempotency-Key` |
| `GET` | `/domains/{domain_id}/page-monitoring/watches/{watch_id}` | `read:pages` | 1 | Get one watched page |
| `PATCH` | `/domains/{domain_id}/page-monitoring/watches/{watch_id}` | `write:pages` | 1 | Change a watched page |
| `DELETE` | `/domains/{domain_id}/page-monitoring/watches/{watch_id}` | `write:pages` | 1 | Stop watching a page |
| `POST` | `/domains/{domain_id}/page-monitoring/watches/{watch_id}/resume` | `write:pages` | 1 | Resume a page that was paused for the plan limit |
| `GET` | `/domains/{domain_id}/page-monitoring/watches/{watch_id}/elements` | `read:pages` | 1 | The elements watched on a page |
| `POST` | `/domains/{domain_id}/page-monitoring/watches/{watch_id}/elements` | `write:pages` | 1 | Watch elements on a page |
| `PATCH` | `/domains/{domain_id}/page-monitoring/watches/{watch_id}/elements/{element_id}` | `write:pages` | 1 | Change an element of a page |
| `DELETE` | `/domains/{domain_id}/page-monitoring/watches/{watch_id}/elements/{element_id}` | `write:pages` | 1 | Stop watching an element on a page |
| `GET` | `/domains/{domain_id}/page-monitoring/watches/{watch_id}/related` | `read:pages` | 1 | Other events near a change or a traffic drop on a watched page |
| `POST` | `/domains/{domain_id}/page-monitoring/watches/{watch_id}/check` | `run:pages` | 25 | Check a page now. Needs `Idempotency-Key` |
| `GET` | `/domains/{domain_id}/page-monitoring/jobs/{job_id}` | `read:pages` or `run:pages` | 1 | Get the status of a check |
| `GET` | `/domains/{domain_id}/page-monitoring/watches/{watch_id}/checks` | `read:pages` | 1 | List the checks of a watched page |
| `GET` | `/domains/{domain_id}/page-monitoring/watches/{watch_id}/compare` | `read:pages` | 5 | Compare two checks of a watched page |
| `GET` | `/domains/{domain_id}/page-monitoring/watches/{watch_id}/impact` | `read:pages` | 1 | Search impact of the changes on a watched page. Search Console figures need `read:gsc` and Googlebot figures need `read:logs` |
| `GET` | `/domains/{domain_id}/page-monitoring/watches/{watch_id}/changes/{change_id}` | `read:pages` | 1 | Get one change of a watched page |
| `GET` | `/domains/{domain_id}/page-monitoring/watches/{watch_id}/search-series` | `read:pages` | 1 | The Google search figures of a watched page around its changes |
| `GET` | `/domains/{domain_id}/page-monitoring/changes` | `read:pages` | 1 | The change feed |
| `GET` | `/domains/{domain_id}/page-monitoring/changes/timeline` | `read:pages` | 1 | The number of changes over time |
| `GET` | `/domains/{domain_id}/page-monitoring/change-kinds` | `read:pages` | 1 | List the kinds of change |
| `GET` | `/domains/{domain_id}/page-monitoring/limits` | `read:pages` | 1 | Get the plan limits |
| `GET` | `/domains/{domain_id}/page-monitoring/issues` | `read:pages` | 1 | List issues |
| `GET` | `/domains/{domain_id}/page-monitoring/issues/{issue_id}` | `read:pages` | 5 | Get one issue with its evidence |
| `POST` | `/domains/{domain_id}/page-monitoring/issues/{issue_id}/{action}` | `write:pages` | 1 | Act on an issue: `acknowledge` (**Mark as seen**), `ignore` (**Snooze…**), `accept-baseline` (**This is normal…**) or `reopen` |
| `POST` | `/domains/{domain_id}/page-monitoring/issues/bulk` | `write:pages` | 1 | `acknowledge` or `accept-baseline` on up to 200 issues at once. Each issue gets its own result |
| `GET` | `/domains/{domain_id}/page-monitoring/custom-elements` | `read:pages` | 1 | List custom elements |
| `POST` | `/domains/{domain_id}/page-monitoring/custom-elements/test` | `read:pages` | 5 | Test a selector against a stored version. Read-only POST |
| `POST` | `/domains/{domain_id}/page-monitoring/custom-elements` | `write:pages` | 1 | Add a custom element |
| `PATCH` | `/domains/{domain_id}/page-monitoring/custom-elements/{element_id}` | `write:pages` | 1 | Change a custom element |
| `DELETE` | `/domains/{domain_id}/page-monitoring/custom-elements/{element_id}` | `write:pages` | 1 | Delete a custom element |
| `GET` | `/domains/{domain_id}/page-monitoring/ignore-rules` | `read:pages` | 1 | List ignore rules |
| `POST` | `/domains/{domain_id}/page-monitoring/ignore-rules` | `write:pages` | 1 | Add an ignore rule |
| `DELETE` | `/domains/{domain_id}/page-monitoring/ignore-rules/{rule_id}` | `write:pages` | 1 | Remove an ignore rule |
| `PATCH` | `/domains/{domain_id}/page-monitoring/ignore-rules/{rule_id}` | `write:pages` | 1 | Change an ignore rule |
| `GET` | `/domains/{domain_id}/page-monitoring/defaults` | `read:pages` | 1 | The default settings of a newly watched page |
| `PUT` | `/domains/{domain_id}/page-monitoring/defaults` | `write:pages` | 1 | Set the default settings of a newly watched page |
| `GET` | `/domains/{domain_id}/page-monitoring/top-pages-list` | `read:pages` | 1 | Whether Page Monitoring keeps your top pages watched |
| `PUT` | `/domains/{domain_id}/page-monitoring/top-pages-list` | `write:pages` | 1 | Turn the top-pages list on or off |

Checks from the API use an hourly allowance for each workspace. The size of the allowance depends on your plan: 5 checks an hour on Free and 20 on paid plans. Checks from **Check this page again** in the app use the same allowance. See [Plans and limits](/workspace/plans-and-limits#alerts-api-and-theo). When the allowance is used, the API refuses the check with a rate-limit error. A retry with the same `Idempotency-Key` returns the same check and costs 0.

`POST .../watches/bulk-check` costs 25 credits for each check that it starts. A page whose check is already in progress costs 0. A page that VitalSentinel skips also costs 0, for example when the hourly allowance is used. The call never starts more checks than your credit balance and your own cap pay for. It skips the other pages with `insufficient_credits`. If less than 25 credits are left, the call returns `402` and starts nothing.

Only one bulk check can run in a workspace at a time. A second call during that time returns `409` with `check-in-progress`. If VitalSentinel cannot make sure that no other bulk check runs, the call returns `503` with `check-lock-unavailable`, and it starts and charges nothing. Retry after the `Retry-After` interval.

## Stored page versions [#stored-page-versions]

Site Health Monitoring and Page Monitoring share the stored versions of a page, so `read:pages` or `read:site_health` reads them. A `403` lists both scopes and shows that one of them is enough.

| Method | Path | Scope | Credits | Description |
|---|---|---|---:|---|
| `GET` | `/domains/{domain_id}/crawl/pages` | `read:pages` or `read:site_health` | 1 | A crawled page, found by its URL. Pass the URL in `url` |
| `GET` | `/domains/{domain_id}/crawl/pages/{url_id}` | `read:pages` or `read:site_health` | 1 | A crawled page, found by its `url_id` |
| `GET` | `/domains/{domain_id}/crawl/pages/{url_id}/versions` | `read:pages` or `read:site_health` | 1 | List the stored versions of a page |
| `GET` | `/domains/{domain_id}/crawl/pages/{url_id}/versions/{version_id}` | `read:pages` or `read:site_health` | 1 | Get one stored version |
| `GET` | `/domains/{domain_id}/crawl/pages/{url_id}/versions/{version_id}/html` | `read:pages` or `read:site_health` | 5 | The stored HTML of a version, as text. More parts of the same version within 10 minutes cost 0 |
| `GET` | `/domains/{domain_id}/crawl/pages/{url_id}/diff` | `read:pages` or `read:site_health` | 5 | Compare two versions of a page |
| `DELETE` | `/domains/{domain_id}/crawl/pages/{url_id}/history` | `write:pages` | 1 | Delete the stored history of a page |

The stored HTML comes from your site. The API returns it as text, never as a web page.

<Callout type="warn">
  **You cannot undo a history deletion.** `DELETE .../history` deletes every stored version, field and change of the page, and the issues that VitalSentinel found for it. A watched page then makes a new baseline at its next check. The call needs the owner or admin role. A domain can delete the history of 30 pages each hour, together with the dashboard. More deletions return `429` with `purge_rate_limited`.
</Callout>

## Form Monitoring [#form-monitoring]

See [Form Monitoring](/form-monitoring/overview). Reads need `read:forms`. Writes need `write:forms` and the owner or admin role.

| Method | Path | Scope | Credits | Description |
|---|---|---|---:|---|
| `GET` | `/domains/{domain_id}/forms` | `read:forms` | 1 | The tracked forms with their last 7 days, the plan limit, and if the Forms tag (`forms.js`) is on the site (`analytics_installed`) |
| `GET` | `/domains/{domain_id}/forms/suggestions` | `read:forms` | 1 | Forms found on the site and not tracked yet. `filtered` holds the forms left out, each with its `filtered_reason` |
| `POST` | `/domains/{domain_id}/forms` | `write:forms` | 1 | Track a form. Returns 201 |
| `GET` | `/domains/{domain_id}/forms/{form_id}` | `read:forms` | 1 | One tracked form, with `started_at` and `snippets`. `snippets` needs `write:forms` and the owner or admin role. Without them, `snippets` is null and `code_hidden` is true |
| `PATCH` | `/domains/{domain_id}/forms/{form_id}` | `write:forms` | 1 | Change the name, method or reporting. Only the fields that you send change, but a new `method` also sets `mode`, and `reporting` if you do not send it |
| `DELETE` | `/domains/{domain_id}/forms/{form_id}` | `write:forms` | 1 | Stop tracking a form and remove its alerts. Returns 204 |
| `GET` | `/domains/{domain_id}/forms/{form_id}/stats` | `read:forms` | 1 | Shown, submitted, left and fails over `days`: 7, 30 or 90, limited by the plan history. One row for each day |
| `GET` | `/domains/{domain_id}/forms/{form_id}/self-test` | `read:forms` | 1 | If a submission arrived after `since`, an ISO 8601 time. VitalSentinel looks back 24 hours at most |
| `POST` | `/domains/{domain_id}/forms/{form_id}/rotate-url` | `write:forms` | 1 | Issue a new token. Place the new code from `snippets` |
| `GET` | `/domains/{domain_id}/forms/{form_id}/alerts` | `read:forms` | 1 | The three alerts of a form, and `suggested` values after 14 days of data |
| `PUT` | `/domains/{domain_id}/forms/{form_id}/alerts` | `write:forms` | 1 | Save the alerts that you send. The other alerts stay as they are |
| `GET` | `/domains/{domain_id}/forms/{form_id}/incidents` | `read:forms` | 1 | The alert history of a form, newest first |

**Values.**

| Field | Values |
|---|---|
| `mode` | `automatic`, `snippet` |
| `method` | `platform`, `common_message`, `page_attribute`, `javascript`, `pixel`, `webhook` |
| `reporting` | `success`, `success_fail` |
| `scope` | `site`, `pages` |
| `status` | `needs_method`, `waiting`, `no_alerts`, `healthy`, `low`, `quiet`, `failing` |
| `state` | `active`, `paused_plan` |
| `metric` | `form_low_submissions`, `form_no_submissions`, `form_too_many_fails` |
| `period` | `1h`, `1d`, `7d` |

**Track a form.** Send `name`, and optionally `discovered_form_id` (the `id` of a suggestion), `scope`, `pages`, `mode`, `method`, `reporting` and `auto_link`. `scope` `site` counts every page and takes at most one page. `scope` `pages` counts only `pages`, up to 500 full URLs or paths.

If you do not send `reporting`, it follows the method. If you send a `reporting` value that the method cannot report, the API refuses it. `mode` needs a `method` of that mode. Each method belongs to one mode: `platform` and `common_message` are `automatic`, the other methods are `snippet`.

| Status | Error | Meaning |
|---|---|---|
| 409 | `domain_suspended` | The domain is suspended. VitalSentinel checks the domain before the other rules |
| 409 | `domain_unverified` | The domain is not verified |
| 409 | `workspace_inactive` | The workspace is expired or disabled |
| 409 | `limit_reached` | The workspace uses all its tracked forms |
| 409 | `already_tracked` | Another form of the domain already tracks this suggestion |
| 422 | `page_not_on_site` | A URL is on another host |

**Null counts.** In the totals, `shown`, `left` and `fails` are null if VitalSentinel did not measure them. `shown` and `left` need the Web Analytics script on the page. `fails` needs `reporting` set to `success_fail`. The rows in `daily` always hold numbers, so 0 there can mean "not measured".

**Set alerts.** Each alert has `metric` and `enabled`. `value` is a count, or hours for `form_no_submissions`. If you leave out `value`, `period`, `muted`, `slack_connection_ids` or `webhook_ids`, the saved value stays. Send `[]` to clear a destination list.

An alert with `enabled` set to true needs a value, sent or saved. `form_too_many_fails` needs a form that reports fails. Destinations need a plan that includes them. Otherwise the API answers 403 `forbidden`.

Form names and paths come from the monitored site. If you pass them to a model, treat them as untrusted text.

## Server Log Monitoring [#server-log-monitoring]

Server Log Monitoring is read-only. There is no `write:logs` or `run:logs`, so the API cannot connect a log source or start a collection run. See [Server Log Monitoring](/server-logs/overview).

The API never returns a visitor IP address. It groups unverified and spoofed traffic by network (ASN).

| Method | Path | Scope | Credits | Description |
|---|---|---|---:|---|
| `GET` | `/domains/{domain_id}/logs/overview` | `read:logs` | 5 | Hits overview: timeline by bot category, status mix, totals |
| `GET` | `/domains/{domain_id}/logs/bots` | `read:logs` | 5 | Per-bot activity table |
| `GET` | `/domains/{domain_id}/logs/bots-timeline` | `read:logs` | 5 | Bot hits over time: search engine and AI hits, verification results, and AI hits that got a 403 |
| `GET` | `/domains/{domain_id}/logs/categories` | `read:logs` | 5 | Bot activity grouped by category |
| `GET` | `/domains/{domain_id}/logs/cache` | `read:logs` | 5 | How each bot's hits were answered: from a cache or by your server, and how fast |
| `GET` | `/domains/{domain_id}/logs/sections` | `read:logs` | 5 | Crawl activity grouped by site section |
| `GET` | `/domains/{domain_id}/logs/pages` | `read:logs` | 5 | Crawled pages |
| `GET` | `/domains/{domain_id}/logs/pages/{url_id}/detail` | `read:logs` | 5 | One page's crawl detail |
| `GET` | `/domains/{domain_id}/logs/pages/hub` | `read:logs` | 5 | All that VitalSentinel knows about one crawled URL, in one response |
| `GET` | `/domains/{domain_id}/logs/crawled-pages` | `read:logs` | 5 | Crawled pages: one row per URL, up to 12 months |
| `GET` | `/domains/{domain_id}/logs/urls-to-fix` | `read:logs` | 5 | Every URL crawlers got an error or a redirect for, one row per URL |
| `GET` | `/domains/{domain_id}/logs/urls-fixed` | `read:logs` | 5 | URLs that got an error for Googlebot and now answer normally |
| `GET` | `/domains/{domain_id}/logs/status-codes` | `read:logs` | 5 | Bot-by-status-code matrix and the error explorer |
| `GET` | `/domains/{domain_id}/logs/status-timeline` | `read:logs` | 5 | Status codes over time, one series per exact code |
| `GET` | `/domains/{domain_id}/logs/explore` | `read:logs` | 5 | Request-level drill-down: which crawler and which pages got a given status |
| `GET` | `/domains/{domain_id}/logs/crawl-budget` | `read:logs` | 5 | Crawl budget: waste, per-section spend, waste composition, top and long-tail URL split |
| `GET` | `/domains/{domain_id}/logs/crawl-mechanics/duplicate-variants` | `read:logs` | 5 | Budget spent fetching the same page under different URLs |
| `GET` | `/domains/{domain_id}/logs/crawl-mechanics/depth` | `read:logs` | 5 | How many folders deep verified Googlebot's crawl reaches |
| `GET` | `/domains/{domain_id}/logs/changes/reread` | `read:logs` | 5 | Whether Googlebot came back after a watched page changed |
| `GET` | `/domains/{domain_id}/logs/config` | `read:logs` | 1 | What is excluded from collection, and how pages are put into sections |
| `GET` | `/domains/{domain_id}/logs/tree` | `read:logs` | 5 | Site-structure crawl map: known vs crawled URLs, folder by folder |
| `GET` | `/domains/{domain_id}/logs/tree/never-crawled` | `read:logs` | 5 | The URLs behind the "not crawled by Googlebot" count of one folder |
| `GET` | `/domains/{domain_id}/logs/ai-crawlers` | `read:logs` | 5 | AI crawler activity, licensing split and robots.txt compliance |
| `GET` | `/domains/{domain_id}/logs/ai-crawlers/coverage-gap` | `read:logs` | 5 | Pages verified Googlebot crawled that no AI crawler has fetched |
| `GET` | `/domains/{domain_id}/logs/ai-crawlers/ledger` | `read:logs` | 5 | What each AI company takes from the site and what it sends back |
| `GET` | `/domains/{domain_id}/logs/ai-crawlers/robots-effect` | `read:logs` | 5 | AI company crawls and visitors before and after a robots.txt change |
| `GET` | `/domains/{domain_id}/logs/security` | `read:logs` | 5 | Spoofed bot identities, ASN clusters and scanner activity |
| `GET` | `/domains/{domain_id}/logs/sources` | `read:logs` | 1 | Log source configuration and health |
| `GET` | `/domains/{domain_id}/logs/exclusions` | `read:logs` | 1 | Excluded traffic: what the collection policy did not keep, and why |
| `GET` | `/domains/{domain_id}/logs/search-console/funnel` | `read:logs` | 5 | Crawl-to-click funnel per URL |
| `GET` | `/domains/{domain_id}/logs/search-console/crawl-roi` | `read:logs` | 5 | Share of crawl spent per section against share of clicks |
| `GET` | `/domains/{domain_id}/logs/search-console/stale-money-pages` | `read:logs` | 5 | Impressions behind pages Google stopped re-crawling |
| `GET` | `/domains/{domain_id}/logs/search-console/ctr-vs-crawl` | `read:logs` | 5 | CTR underperformance crossed with stale crawl |
| `GET` | `/domains/{domain_id}/logs/search-console/impression-collapse` | `read:logs` | 5 | Pages whose impressions fell away as crawl errors appeared |
| `GET` | `/domains/{domain_id}/logs/search-console/discovery-latency` | `read:logs` | 5 | Time from first Googlebot crawl to first search impression |
| `GET` | `/domains/{domain_id}/logs/search-console/crawl-frequency-position` | `read:logs` | 5 | Whether the most-crawled sections are the best-ranking ones |
| `GET` | `/domains/{domain_id}/logs/search-console/algorithm-events` | `read:logs` | 5 | Known search algorithm events over this site's crawl timeline |
| `GET` | `/domains/{domain_id}/logs/web-analytics/bot-share` | `read:logs` | 5 | Bot share of total traffic, with Web Analytics as the human denominator |
| `GET` | `/domains/{domain_id}/logs/web-analytics/crawl-visit-gap` | `read:logs` | 5 | Pages people visit that Googlebot hasn't crawled |
| `GET` | `/domains/{domain_id}/logs/web-analytics/ai-funnel` | `read:logs` | 5 | AI visibility funnel: pages that AI crawlers fetched, and if they got visits from AI search later |
| `GET` | `/domains/{domain_id}/logs/rum/ttfb-bot-vs-human` | `read:logs` | 5 | Bot TTFB against human TTFB for the same URL |
| `GET` | `/domains/{domain_id}/logs/rum/cwv-crawl-priority` | `read:logs` | 5 | Poor Core Web Vitals on heavily-crawled pages |
| `GET` | `/domains/{domain_id}/logs/sitemap/orphan-pages` | `read:logs` | 5 | Crawled by Google, missing from your sitemap |
| `GET` | `/domains/{domain_id}/logs/sitemap/uncrawled-urls` | `read:logs` | 5 | Sitemap URLs Googlebot has not crawled recently |
| `GET` | `/domains/{domain_id}/logs/sitemap/updates-google` | `read:logs` | 5 | Whether Googlebot fetched the new version of the updated sitemap pages |
| `GET` | `/domains/{domain_id}/logs/sitemap/crawl-lift` | `read:logs` | 5 | Whether being in the sitemap increases Googlebot crawl frequency |
| `GET` | `/domains/{domain_id}/logs/sitemap/new-urls-found` | `read:logs` | 5 | New URLs Googlebot found this week |
| `GET` | `/domains/{domain_id}/logs/robots/behaviour-delta` | `read:logs` | 5 | What crawlers did before and after a robots.txt change |
| `GET` | `/domains/{domain_id}/logs/robots/compliance` | `read:logs` | 5 | How closely each bot honors this site's robots.txt |
| `GET` | `/domains/{domain_id}/logs/robots/ineffective-disallow` | `read:logs` | 5 | Disallow rules verified crawlers are still ignoring |
| `GET` | `/domains/{domain_id}/logs/robots/ai-policy-reality` | `read:logs` | 5 | What this site tells AI bots vs what they actually did |
| `GET` | `/domains/{domain_id}/logs/robots/fetch-health` | `read:logs` | 5 | Non-200 responses to a bot's request for /robots.txt |
| `GET` | `/domains/{domain_id}/logs/uptime/seo-cost` | `read:logs` | 5 | Search and AI crawler errors during downtime |
| `GET` | `/domains/{domain_id}/logs/uptime/crawl-drop-attribution` | `read:logs` | 5 | Crawl decline explained by an incident |
| `GET` | `/domains/{domain_id}/logs/uptime/certificate-events` | `read:logs` | 5 | Crawler behavior around certificate renewals and expiries |
| `GET` | `/domains/{domain_id}/logs/indexing/crawl-drop-leading-indicator` | `read:logs` | 5 | Crawl volume next to indexing health, week by week |
| `GET` | `/domains/{domain_id}/logs/gave-up` | `read:logs` | 5 | Requests that a bot closed before your server answered (HTTP 499) |
| `GET` | `/domains/{domain_id}/logs/gave-up/urls` | `read:logs` | 5 | The pages that bots gave up on, one row per URL |
| `GET` | `/domains/{domain_id}/logs/googlebot-timeline` | `read:logs` | 5 | Verified Googlebot hits and response time per day, week or month |
| `GET` | `/domains/{domain_id}/sections` | `read:logs` | 1 | The section rules of the site |
| `GET` | `/domains/{domain_id}/sections/rule-counts` | `read:logs` | 5 | How many pages each section rule sorts |

The cross-module routes return a source-coverage block. If a source is missing (Search Console, Web Analytics, RUM or a sitemap), a figure that needs it comes back as unknown, not as zero.

## Alerts [#alerts]

Alert rules also cover Page Monitoring, Form Monitoring, Site Health Monitoring and Sitemap Monitoring. See [Alerts](/domain/alerts).

The answer of `/alerts/metrics` has a `forms` block. To create or change a Form Monitoring alert, use `PUT /domains/{domain_id}/forms/{form_id}/alerts`. On a Form Monitoring rule, `PUT /domains/{domain_id}/alerts/rules/{rule_id}` can change only `enabled`.

| Method | Path | Scope | Credits | Description |
|---|---|---|---:|---|
| `GET` | `/alerts/metrics` | `read:alerts` | 0 | Available alert metrics |
| `GET` | `/alerts/rules` | `read:alerts` | 0 | Account-wide: rules on every accessible domain. Optional `workspace_id`, `module`, and `enabled` filters |
| `GET` | `/alerts/history` | `read:alerts` | 0 | Account-wide: fired alerts on every accessible domain, newest first. Optional `workspace_id` and `domain_id` filters |
| `GET` | `/domains/{domain_id}/alerts/rules` | `read:alerts` | 1 | Per domain: the rules on this one domain, from every member, with their owners |
| `GET` | `/domains/{domain_id}/alerts/rules/{rule_id}` | `read:alerts` | 1 | Get a rule |
| `GET` | `/domains/{domain_id}/alerts/history` | `read:alerts` | 1 | Per domain: fired alerts on this one domain |
| `POST` | `/domains/{domain_id}/alerts/rules` | `write:alerts` | 1 | Create a rule |
| `PUT` | `/domains/{domain_id}/alerts/rules/{rule_id}` | `write:alerts` | 1 | Update a rule |
| `DELETE` | `/domains/{domain_id}/alerts/rules/{rule_id}` | `write:alerts` | 1 | Delete a rule |
| `GET` | `/workspaces/{workspace_id}/alerts/integrations` | `read:alerts` | 1 | List the Slack channels and webhooks of a workspace, with the IDs that an alert rule uses. Never returns a URL, token or secret |
| `GET` | `/workspaces/{workspace_id}/alerts/integrations/{destination_id}/deliveries` | `read:alerts` | 1 | The last 10 delivery attempts to one Slack channel or webhook, newest first |

The account-wide `/alerts/rules` and `/alerts/history` cover every workspace that the credential can reach. You do not have to read `/domains` first. Every row names its domain and workspace.

Both cost 0 credits, because a call that reads every workspace has no single workspace to charge. A `workspace_id` or `domain_id` filter does not change this, because these are query filters and not part of the path.

Read `/alerts/metrics` before you make a rule. It is free, and it shows which metrics and conditions are valid.

The rules of a domain are visible to every member of the workspace, and each rule names its owner. You need the owner or admin role to create, change or delete a rule.

`/alerts/integrations` lists the Slack channels and webhooks that you connected in the dashboard. Slack and webhooks depend on your plan, see [Plans and limits](/workspace/plans-and-limits). You connect them on the [Integrations](/workspace/integrations) page.

There is no endpoint to test a rule. The dashboard does not have one either.

## Notifications [#notifications]

Notifications belong to the person who calls, not to the workspace. Members keep write access here, because these are personal settings.

| Method | Path | Scope | Credits | Description |
|---|---|---|---:|---|
| `GET` | `/notifications` | `read:notifications` | 0 | List notifications |
| `GET` | `/notifications/unread-count` | `read:notifications` | 0 | Unread count |
| `GET` | `/notifications/stats` | `read:notifications` | 0 | Notification statistics |
| `GET` | `/notifications/{notification_id}/trend` | `read:notifications` | 1 | Live trend behind a fired alert |
| `GET` | `/notifications/preferences` | `read:notifications` | 0 | Get preferences |
| `GET` | `/notifications/domain-subscriptions` | `read:notifications` | 0 | Per-domain email subscriptions |
| `POST` | `/notifications/read` | `write:notifications` | 0 | Mark notifications as read |
| `POST` | `/notifications/{notification_id}/read` | `write:notifications` | 0 | Mark one as read |
| `POST` | `/notifications/{notification_id}/unread` | `write:notifications` | 0 | Mark one as unread |
| `DELETE` | `/notifications/{notification_id}` | `write:notifications` | 0 | Delete a notification |
| `PUT` | `/notifications/preferences` | `write:notifications` | 0 | Update preferences |
| `PUT` | `/notifications/domain-subscriptions` | `write:notifications` | 0 | Update a per-domain subscription |
| `GET` | `/notifications/facets` | `read:notifications` | 0 | The filter values that your notifications have |

The preferences have one email switch for each module, for example `notify_forms` for Form Monitoring. It is the **Form Monitoring** switch in [Alert emails](/account/notifications#alert-emails).

`PUT /notifications/preferences` cannot change `email_address`, `email_enabled`, or the failed-login and billing email switches. You can read these fields, but the API ignores them in an update. Most other settings apply to all workspaces of the person. If the credential does not cover all of these workspaces, the API answers `200` and does not change these settings.

Because notifications belong to a person and not to a workspace, every route in this group costs 0 credits. The one exception is `GET /notifications/{notification_id}/trend`, which calculates a series from live data and costs 1.

A fired alert arrives as a notification with the alert rule and alert history identifiers. Watch this group to know when an alert fires.

## Reports [#reports]

| Method | Path | Scope | Credits | Description |
|---|---|---|---:|---|
| `GET` | `/domains/reports/sections-catalog` | `read:reports` | 0 | Available sections and widgets |
| `GET` | `/domains/reports/default-config` | `read:reports` | 0 | Default `sections_config` for a new template |
| `GET` | `/domains/{domain_id}/reports/templates` | `read:reports` | 1 | List templates |
| `GET` | `/domains/{domain_id}/reports/templates/{template_id}` | `read:reports` | 1 | Get a template |
| `POST` | `/domains/{domain_id}/reports/data/{template_id}` | `read:reports` | 5 | Collect report data as JSON. Read-only POST |
| `POST` | `/domains/{domain_id}/reports/templates` | `write:reports` | 1 | Create a template |
| `PUT` | `/domains/{domain_id}/reports/templates/{template_id}` | `write:reports` | 1 | Update a template |
| `POST` | `/domains/{domain_id}/reports/templates/{template_id}/duplicate` | `write:reports` | 1 | Duplicate a template |
| `DELETE` | `/domains/{domain_id}/reports/templates/{template_id}` | `write:reports` | 1 | Delete a template |
| `POST` | `/domains/{domain_id}/reports/{template_id}/generate` | `run:reports` | 25 | Generate a PDF. Needs `Idempotency-Key`. Members can also use it |
| `GET` | `/domains/{domain_id}/reports/jobs/{job_id}` | `read:reports` or `run:reports` | 1 | Check a PDF job |
| `GET` | `/domains/{domain_id}/reports/jobs/{job_id}/download` | `run:reports` | 1 | Download a completed PDF |

PDF generation is asynchronous. `POST .../generate` returns a job identifier. Read `/reports/jobs/{job_id}` until the job is complete, then download the PDF. Each credential can start 5 renders per minute.

The job status and the PDF expire 1 hour after a job is complete, or 24 hours after a job fails.

If you want the numbers and not a PDF, use `POST /reports/data/{template_id}`. It returns the same content as JSON, needs only `read:reports`, and costs 5 credits, the price of a heavy read.

## OAuth [#oauth]

This is the authorization server. See [Authentication](/api/authentication#oauth-21) for the full flow.

| Method | Path | Scope | Credits | Description |
|---|---|---|---:|---|
| `POST` | `/oauth/register` | none | 0 | Register a client (RFC 7591) |
| `GET` | `/oauth/authorize` | none | 0 | Start an authorization request |
| `GET` | `/oauth/authorize/request` | none | 0 | Resolve an authorization request handle |
| `POST` | `/oauth/authorize/consent` | none | 0 | Record a consent decision |
| `POST` | `/oauth/token` | none | 0 | Exchange an authorization code or refresh token |
| `POST` | `/oauth/revoke` | none | 0 | Revoke a token (RFC 7009) |

Two discovery documents are at the site root, not under the API prefix:

```
GET https://app.vitalsentinel.com/.well-known/oauth-authorization-server
GET https://app.vitalsentinel.com/.well-known/oauth-protected-resource
```

## Related [#related]

- [API introduction](/api/introduction) - what the API covers
- [Conventions](/api/conventions) - previous step: rules for every endpoint
- [Errors](/api/errors) - next step: the error catalog
- [Scopes](/api/scopes) - what each scope reaches
- [API Credits](/api/credits) - the four credit prices
- [Tool reference](/mcp/tools) - the same data as MCP tools
