Skip to content

Accessibility

16 operations in the WP Waterfall API.

Read the Accessibility add-on of a site

get/sites/{id}/accessibilityPermalink to Read the Accessibility add-on of a site

  • Scope: sites:read
  • Permission: sites.read

Whether the add-on is on for the site, whether the site can be scanned (it needs a live environment), the pages per scan setting, the weekly scheduled scan, the page scans left this month (7,500 a month for each site, counted per calendar month in UTC), the price (volume priced for the whole company: $10 a month for each of the first 2 sites with it on, $5 a month for each site after that), the page list state, the running scan if there is one, the latest scan with its score, and the score formula in plain words. Reads the database only.

Parameters

NameInTypeDescription
id requiredpathstring (uuid)The id of the site.

Responses

StatusBodyDescription
200AccessibilityStateThe add-on state
400ProblemThe request could not be read: bad JSON, a bad header, or a malformed value.
401ProblemThe credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme.
403ProblemThe credentials are valid but may not do this: the role, the API key scope, or a required confirmation is missing.
404ProblemThe thing in the path does not exist, or it belongs to another company. The answer is the same for both.
422ProblemThe request was read but a value is not valid, or a required confirmation or Idempotency-Key is missing. The errors list names each field.
429ProblemA rate limit was reached. Wait Retry-After seconds. Limits are per caller, per company, and per address.
4XXProblemProblem Details (RFC 9457)

200 response fields

NameTypeDescription
site_id requiredstring (uuid)
enabled requiredboolean
eligible requiredbooleanFalse while the site has no live environment to scan.
ineligible_reason requiredstring or null
pages_per_scan requiredintegerRange: 1 to 2500.
max_pages_per_scan requiredinteger
scheduled_weekly requiredboolean
next_scheduled_at requiredstring or null (date-time)
allowance requiredobject
allowance.month requiredstring
allowance.cap requiredinteger
allowance.used requiredintegerRange: 0 to any.
allowance.left requiredintegerRange: 0 to any.
pricing requiredobject
pricing.lookup_key requiredstring
pricing.first_tier_sites requiredinteger
pricing.first_tier_cents requiredinteger
pricing.next_tier_cents requiredinteger
pricing.sites_on requiredintegerSites of this company that have it on. Range: 0 to any.
pricing.monthly_cents requiredintegerWhat the company pays a month now. Range: 0 to any.
pricing.next_site_cents requiredintegerWhat turning it on for one more site adds a month.
pricing.text requiredstring
page_list requiredobject
page_list.count requiredintegerPages that will be scanned, the removed ones left out. Range: 0 to any.

Change the pages per scan and the weekly scan of a site

put/sites/{id}/accessibilityPermalink to Change the pages per scan and the weekly scan of a site

  • Scope: sites:write
  • Permission: tools.run

pages_per_scan sets how many pages a scan takes when the request names no number (1 to 2,500, default 25). scheduled_weekly turns on a scan every week (off by default); each scheduled scan uses pages of the same monthly allowance. The add-on must be on (409 accessibility_not_enabled). It does no node work and costs nothing, so there is no confirm.

Parameters

NameInTypeDescription
id requiredpathstring (uuid)The id of the site.
Idempotency-KeyheaderstringOptional on PUT and PATCH. When the call starts a job, a retry with the same key, path, and body within 24 hours returns that job instead of starting another. A different path or body starts a new job.

Request body application/json, required, PutAccessibilitySettingsRequest

Fields

NameTypeDescription
pages_per_scanintegerRange: 1 to 2500.
scheduled_weeklyboolean

Responses

StatusBodyDescription
200AccessibilityStateThe saved state
400ProblemThe request could not be read: bad JSON, a bad header, or a malformed value.
401ProblemThe credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme.
403ProblemThe credentials are valid but may not do this: the role, the API key scope, or a required confirmation is missing.
404ProblemThe thing in the path does not exist, or it belongs to another company. The answer is the same for both.
409ProblemThe current state does not allow this: the same change is already running, or another change got there first.
422ProblemThe request was read but a value is not valid, or a required confirmation or Idempotency-Key is missing. The errors list names each field.
429ProblemA rate limit was reached. Wait Retry-After seconds. Limits are per caller, per company, and per address.
4XXProblemProblem Details (RFC 9457)

200 response fields

NameTypeDescription
site_id requiredstring (uuid)
enabled requiredboolean
eligible requiredbooleanFalse while the site has no live environment to scan.
ineligible_reason requiredstring or null
pages_per_scan requiredintegerRange: 1 to 2500.
max_pages_per_scan requiredinteger
scheduled_weekly requiredboolean
next_scheduled_at requiredstring or null (date-time)
allowance requiredobject
allowance.month requiredstring
allowance.cap requiredinteger
allowance.used requiredintegerRange: 0 to any.
allowance.left requiredintegerRange: 0 to any.
pricing requiredobject
pricing.lookup_key requiredstring
pricing.first_tier_sites requiredinteger
pricing.first_tier_cents requiredinteger
pricing.next_tier_cents requiredinteger
pricing.sites_on requiredintegerSites of this company that have it on. Range: 0 to any.
pricing.monthly_cents requiredintegerWhat the company pays a month now. Range: 0 to any.
pricing.next_site_cents requiredintegerWhat turning it on for one more site adds a month.
pricing.text requiredstring
page_list requiredobject
page_list.count requiredintegerPages that will be scanned, the removed ones left out. Range: 0 to any.

Turn the Accessibility add-on off for a site

post/sites/{id}/accessibility/disablePermalink to Turn the Accessibility add-on off for a site

  • Scope: billing:write
  • Permission: billing.write

Turns the add-on off. The monthly charge drops by one site and the unused days are credited. The reports already made stay readable until they are removed by the retention rules (the last 10 scans of the site, pictures 90 days). A scan that is running finishes.

Parameters

NameInTypeDescription
id requiredpathstring (uuid)The id of the site.
Idempotency-Key requiredheaderstringSend a fresh unique value on every POST: a POST without it answers 422. The answer is stored for 24 hours, so a retry with the same key and body returns the first answer, and the same key with a different body returns 422.

Responses

StatusBodyDescription
200AccessibilityStateThe state with the add-on off
400ProblemThe request could not be read: bad JSON, a bad header, or a malformed value.
401ProblemThe credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme.
403ProblemThe credentials are valid but may not do this: the role, the API key scope, or a required confirmation is missing.
404ProblemThe thing in the path does not exist, or it belongs to another company. The answer is the same for both.
409ProblemThe current state does not allow this: the same change is already running, or another change got there first.
422ProblemThe request was read but a value is not valid, or a required confirmation or Idempotency-Key is missing. The errors list names each field.
429ProblemA rate limit was reached. Wait Retry-After seconds. Limits are per caller, per company, and per address.
4XXProblemProblem Details (RFC 9457)

200 response fields

NameTypeDescription
site_id requiredstring (uuid)
enabled requiredboolean
eligible requiredbooleanFalse while the site has no live environment to scan.
ineligible_reason requiredstring or null
pages_per_scan requiredintegerRange: 1 to 2500.
max_pages_per_scan requiredinteger
scheduled_weekly requiredboolean
next_scheduled_at requiredstring or null (date-time)
allowance requiredobject
allowance.month requiredstring
allowance.cap requiredinteger
allowance.used requiredintegerRange: 0 to any.
allowance.left requiredintegerRange: 0 to any.
pricing requiredobject
pricing.lookup_key requiredstring
pricing.first_tier_sites requiredinteger
pricing.first_tier_cents requiredinteger
pricing.next_tier_cents requiredinteger
pricing.sites_on requiredintegerSites of this company that have it on. Range: 0 to any.
pricing.monthly_cents requiredintegerWhat the company pays a month now. Range: 0 to any.
pricing.next_site_cents requiredintegerWhat turning it on for one more site adds a month.
pricing.text requiredstring
page_list requiredobject
page_list.count requiredintegerPages that will be scanned, the removed ones left out. Range: 0 to any.

Turn the Accessibility add-on on for a site

post/sites/{id}/accessibility/enablePermalink to Turn the Accessibility add-on on for a site

  • Scope: billing:write
  • Permission: billing.write
  • Needs a confirmation

Turns the add-on on and adds one site to the company's monthly charge: $10 a month for each of the first 2 sites, $5 a month for each site after that, charged to the saved card with the unused days of the month prorated. Send confirm: true. Any account type may buy it. It needs a card on file (402) and a live environment (409 accessibility_live_only). The scan works on the live site only (409 accessibility_live_only for a site with no live environment, a sandbox, or a test site).

Parameters

NameInTypeDescription
id requiredpathstring (uuid)The id of the site.
Idempotency-Key requiredheaderstringSend a fresh unique value on every POST: a POST without it answers 422. The answer is stored for 24 hours, so a retry with the same key and body returns the first answer, and the same key with a different body returns 422.
confirmquerystringAn API key must say yes to this change: confirm=true here, or confirm: true in the JSON body. Without it the call answers 422 and changes nothing. One of: true.

Request body application/json, required, EnableAccessibilityRequest

Fields

NameTypeDescription
confirm requiredbooleanTurning the add-on on adds to the monthly charge. Send true to agree.
pages_per_scanintegerRange: 1 to 2500.

Responses

StatusBodyDescription
200AccessibilityStateThe state with the add-on on
400ProblemThe request could not be read: bad JSON, a bad header, or a malformed value.
401ProblemThe credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme.
403ProblemThe credentials are valid but may not do this: the role, the API key scope, or a required confirmation is missing.
404ProblemThe thing in the path does not exist, or it belongs to another company. The answer is the same for both.
409ProblemThe current state does not allow this: the same change is already running, or another change got there first.
422ProblemThe request was read but a value is not valid, or a required confirmation or Idempotency-Key is missing. The errors list names each field.
429ProblemA rate limit was reached. Wait Retry-After seconds. Limits are per caller, per company, and per address.
4XXProblemProblem Details (RFC 9457)

200 response fields

NameTypeDescription
site_id requiredstring (uuid)
enabled requiredboolean
eligible requiredbooleanFalse while the site has no live environment to scan.
ineligible_reason requiredstring or null
pages_per_scan requiredintegerRange: 1 to 2500.
max_pages_per_scan requiredinteger
scheduled_weekly requiredboolean
next_scheduled_at requiredstring or null (date-time)
allowance requiredobject
allowance.month requiredstring
allowance.cap requiredinteger
allowance.used requiredintegerRange: 0 to any.
allowance.left requiredintegerRange: 0 to any.
pricing requiredobject
pricing.lookup_key requiredstring
pricing.first_tier_sites requiredinteger
pricing.first_tier_cents requiredinteger
pricing.next_tier_cents requiredinteger
pricing.sites_on requiredintegerSites of this company that have it on. Range: 0 to any.
pricing.monthly_cents requiredintegerWhat the company pays a month now. Range: 0 to any.
pricing.next_site_cents requiredintegerWhat turning it on for one more site adds a month.
pricing.text requiredstring
page_list requiredobject
page_list.count requiredintegerPages that will be scanned, the removed ones left out. Range: 0 to any.

List the pages a scan will take

get/sites/{id}/accessibility/pagesPermalink to List the pages a scan will take

  • Scope: sites:read
  • Permission: sites.read

The page list of the site: the home page first, then the pages found in the sitemap and in the links of the home page (only the site's own live hostnames), and the addresses you added. A page you removed is not listed. The list is found by the scanner machine, not by the control plane: it is refreshed by a scan when it is older than 24 hours, or by POST /sites/{id}/accessibility/pages/refresh.

Parameters

NameInTypeDescription
id requiredpathstring (uuid)The id of the site.
limitqueryintegerHow many rows to return in one page: 1 to 200, and 50 when left out. Default: 50. Range: 1 to 200.
cursorquerystringThe next_cursor of the page before. Leave it out for the first page.

Responses

StatusBodyDescription
200AccessibilityPageListThe pages
400ProblemThe request could not be read: bad JSON, a bad header, or a malformed value.
401ProblemThe credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme.
403ProblemThe credentials are valid but may not do this: the role, the API key scope, or a required confirmation is missing.
404ProblemThe thing in the path does not exist, or it belongs to another company. The answer is the same for both.
422ProblemThe request was read but a value is not valid, or a required confirmation or Idempotency-Key is missing. The errors list names each field.
429ProblemA rate limit was reached. Wait Retry-After seconds. Limits are per caller, per company, and per address.
4XXProblemProblem Details (RFC 9457)

200 response fields

NameTypeDescription
data requiredarray of object
data[].id requiredstring (uuid)
data[].url requiredstring
data[].source requiredstringOne of: home, sitemap, link, added.
data[].last_seen_at requiredstring (date-time)
next_cursor requiredstring or null
total requiredintegerPages in the list, the removed ones left out. Range: 0 to any.
discovered_at requiredstring or null (date-time)
discovery requiredstringOne of: idle, running, failed.
hosts requiredarray of stringThe site's own live hostnames. Only these can be scanned.

Add pages to the page list

post/sites/{id}/accessibility/pagesPermalink to Add pages to the page list

  • Scope: sites:write
  • Permission: tools.run

Adds up to 100 addresses to the page list. Each must be https and on one of the site's own live hostnames (422 accessibility_not_same_site for any other host). Addresses are normalized (no fragment, no tracking parameters) and a repeat is ignored. Costs nothing until a scan takes them.

Parameters

NameInTypeDescription
id requiredpathstring (uuid)The id of the site.
Idempotency-Key requiredheaderstringSend a fresh unique value on every POST: a POST without it answers 422. The answer is stored for 24 hours, so a retry with the same key and body returns the first answer, and the same key with a different body returns 422.

Request body application/json, required, AddAccessibilityPagesRequest

Fields

NameTypeDescription
urls requiredarray of string

Responses

StatusBodyDescription
200AccessibilityPageListThe page list
400ProblemThe request could not be read: bad JSON, a bad header, or a malformed value.
401ProblemThe credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme.
403ProblemThe credentials are valid but may not do this: the role, the API key scope, or a required confirmation is missing.
404ProblemThe thing in the path does not exist, or it belongs to another company. The answer is the same for both.
409ProblemThe current state does not allow this: the same change is already running, or another change got there first.
422ProblemThe request was read but a value is not valid, or a required confirmation or Idempotency-Key is missing. The errors list names each field.
429ProblemA rate limit was reached. Wait Retry-After seconds. Limits are per caller, per company, and per address.
4XXProblemProblem Details (RFC 9457)

200 response fields

NameTypeDescription
data requiredarray of object
data[].id requiredstring (uuid)
data[].url requiredstring
data[].source requiredstringOne of: home, sitemap, link, added.
data[].last_seen_at requiredstring (date-time)
next_cursor requiredstring or null
total requiredintegerPages in the list, the removed ones left out. Range: 0 to any.
discovered_at requiredstring or null (date-time)
discovery requiredstringOne of: idle, running, failed.
hosts requiredarray of stringThe site's own live hostnames. Only these can be scanned.

Find the pages of the live site again

post/sites/{id}/accessibility/pages/refreshPermalink to Find the pages of the live site again

  • Scope: sites:write
  • Permission: tools.run

Queues a scanner run that reads the sitemap and the links of the home page and updates the page list. It scans no page and uses no page of the allowance. It runs as a job (accessibility_scan, kind discover). The scan works on the live site only (409 accessibility_live_only for a site with no live environment, a sandbox, or a test site).

Parameters

NameInTypeDescription
id requiredpathstring (uuid)The id of the site.
Idempotency-Key requiredheaderstringSend a fresh unique value on every POST: a POST without it answers 422. The answer is stored for 24 hours, so a retry with the same key and body returns the first answer, and the same key with a different body returns 422.

Responses

StatusBodyDescription
202AccessibilityScanAccepted. The body is the scan record of the discovery.
400ProblemThe request could not be read: bad JSON, a bad header, or a malformed value.
401ProblemThe credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme.
403ProblemThe credentials are valid but may not do this: the role, the API key scope, or a required confirmation is missing.
404ProblemThe thing in the path does not exist, or it belongs to another company. The answer is the same for both.
409ProblemThe current state does not allow this: the same change is already running, or another change got there first.
422ProblemThe request was read but a value is not valid, or a required confirmation or Idempotency-Key is missing. The errors list names each field.
429ProblemA rate limit was reached. Wait Retry-After seconds. Limits are per caller, per company, and per address.
4XXProblemProblem Details (RFC 9457)

202 response fields

NameTypeDescription
id requiredstring (uuid)
site_id requiredstring (uuid)
kind requiredstringOne of: audit, discover.
status requiredstringOne of: queued, discovering, running, done, partial, failed.
trigger requiredstringOne of: manual, scheduled.
requested_by requiredstringWho started it: a person's name, a key's name, or Schedule.
month requiredstringThe calendar month (UTC) the pages count toward.
pages_requested requiredintegerRange: 0 to any.
pages_total requiredintegerPages in this scan once the list is known. Range: 0 to any.
pages_done requiredintegerRange: 0 to any.
pages_failed requiredintegerRange: 0 to any.
batches_total requiredintegerRange: 0 to any.
batches_done requiredintegerRange: 0 to any.
progress_percent requiredintegerRange: 0 to 100.
score requiredinteger or nullRange: 0 to 100.
label requiredstring or nullExcellent, Good, Needs work, or Poor.
counts requiredobjectIssues (failing elements) by impact.
counts.critical requiredintegerRange: 0 to any.
counts.serious requiredintegerRange: 0 to any.
counts.moderate requiredintegerRange: 0 to any.
counts.minor requiredintegerRange: 0 to any.
issue_count requiredintegerRange: 0 to any.
rule_count requiredintegerRange: 0 to any.
error requiredstring or null

Remove a page from the page list

delete/sites/{id}/accessibility/pages/{page_id}Permalink to Remove a page from the page list

  • Scope: sites:write
  • Permission: tools.run

A page you added is deleted. A page the scanner found is marked removed, so the next discovery does not bring it back. The home page cannot be removed.

Parameters

NameInTypeDescription
id requiredpathstring (uuid)The id of the site.
page_id requiredpathstring (uuid)The id of the page in the accessibility page list.

Responses

StatusBodyDescription
200AccessibilityPageListThe page list
400ProblemThe request could not be read: bad JSON, a bad header, or a malformed value.
401ProblemThe credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme.
403ProblemThe credentials are valid but may not do this: the role, the API key scope, or a required confirmation is missing.
404ProblemThe thing in the path does not exist, or it belongs to another company. The answer is the same for both.
409ProblemThe current state does not allow this: the same change is already running, or another change got there first.
422ProblemThe request was read but a value is not valid, or a required confirmation or Idempotency-Key is missing. The errors list names each field.
429ProblemA rate limit was reached. Wait Retry-After seconds. Limits are per caller, per company, and per address.
4XXProblemProblem Details (RFC 9457)

200 response fields

NameTypeDescription
data requiredarray of object
data[].id requiredstring (uuid)
data[].url requiredstring
data[].source requiredstringOne of: home, sitemap, link, added.
data[].last_seen_at requiredstring (date-time)
next_cursor requiredstring or null
total requiredintegerPages in the list, the removed ones left out. Range: 0 to any.
discovered_at requiredstring or null (date-time)
discovery requiredstringOne of: idle, running, failed.
hosts requiredarray of stringThe site's own live hostnames. Only these can be scanned.

List the accessibility scans of a site

get/sites/{id}/accessibility/scansPermalink to List the accessibility scans of a site

  • Scope: sites:read
  • Permission: sites.read

The last 10 scans of the site, newest first, each with its status, progress, score and label, the issue counts by impact, and the page counts. Discovery runs are not listed.

Parameters

NameInTypeDescription
id requiredpathstring (uuid)The id of the site.
limitqueryintegerHow many rows to return in one page: 1 to 200, and 50 when left out. Default: 50. Range: 1 to 200.
cursorquerystringThe next_cursor of the page before. Leave it out for the first page.

Responses

StatusBodyDescription
200AccessibilityScanListThe scans
400ProblemThe request could not be read: bad JSON, a bad header, or a malformed value.
401ProblemThe credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme.
403ProblemThe credentials are valid but may not do this: the role, the API key scope, or a required confirmation is missing.
404ProblemThe thing in the path does not exist, or it belongs to another company. The answer is the same for both.
422ProblemThe request was read but a value is not valid, or a required confirmation or Idempotency-Key is missing. The errors list names each field.
429ProblemA rate limit was reached. Wait Retry-After seconds. Limits are per caller, per company, and per address.
4XXProblemProblem Details (RFC 9457)

200 response fields

NameTypeDescription
data requiredarray of AccessibilityScanThe rows of this page.
data[].id requiredstring (uuid)
data[].site_id requiredstring (uuid)
data[].kind requiredstringOne of: audit, discover.
data[].status requiredstringOne of: queued, discovering, running, done, partial, failed.
data[].trigger requiredstringOne of: manual, scheduled.
data[].requested_by requiredstringWho started it: a person's name, a key's name, or Schedule.
data[].month requiredstringThe calendar month (UTC) the pages count toward.
data[].pages_requested requiredintegerRange: 0 to any.
data[].pages_total requiredintegerPages in this scan once the list is known. Range: 0 to any.
data[].pages_done requiredintegerRange: 0 to any.
data[].pages_failed requiredintegerRange: 0 to any.
data[].batches_total requiredintegerRange: 0 to any.
data[].batches_done requiredintegerRange: 0 to any.
data[].progress_percent requiredintegerRange: 0 to 100.
data[].score requiredinteger or nullRange: 0 to 100.
data[].label requiredstring or nullExcellent, Good, Needs work, or Poor.
data[].counts requiredobjectIssues (failing elements) by impact.
data[].issue_count requiredintegerRange: 0 to any.
data[].rule_count requiredintegerRange: 0 to any.
data[].error requiredstring or null
data[].job_id requiredstring or null (uuid)
data[].created_at requiredstring (date-time)
data[].started_at requiredstring or null (date-time)

Scan the live site for accessibility issues

post/sites/{id}/accessibility/scansPermalink to Scan the live site for accessibility issues

  • Scope: sites:write
  • Permission: tools.run

Starts a scan of the live site. It takes max_pages pages (default: the pages per scan setting, 25 unless changed; at most 2,500) from the page list, the home page first, or exactly the urls you send. Each page is opened in a browser on a scanner machine, shot after its animations and fonts settle, and checked with axe-core. A big scan runs in batches of about 25 pages and takes hours for 2,500 pages: poll GET /sites/{id}/accessibility/scans/{scan_id} for progress. It uses pages of the site's allowance of 7,500 a month: a scan that asks for more than remain runs the remaining pages, and with none left it is refused with 409 accessibility_monthly_cap_reached. One scan runs at a time for a site (409 accessibility_scan_running). The add-on must be on (409 accessibility_not_enabled). The scan works on the live site only (409 accessibility_live_only for a site with no live environment, a sandbox, or a test site). There is no cancel.

Parameters

NameInTypeDescription
id requiredpathstring (uuid)The id of the site.
Idempotency-Key requiredheaderstringSend a fresh unique value on every POST: a POST without it answers 422. The answer is stored for 24 hours, so a retry with the same key and body returns the first answer, and the same key with a different body returns 422.

Request body application/json, required, CreateAccessibilityScanRequest

Fields

NameTypeDescription
max_pagesintegerPages to scan. Default: the site's pages per scan setting. Range: 1 to 2500.
urlsarray of stringScan exactly these pages of the live site instead of the page list.

Responses

StatusBodyDescription
202AccessibilityScanAccepted. The body is the scan record. Poll it until its status is done, partial, or failed.
400ProblemThe request could not be read: bad JSON, a bad header, or a malformed value.
401ProblemThe credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme.
403ProblemThe credentials are valid but may not do this: the role, the API key scope, or a required confirmation is missing.
404ProblemThe thing in the path does not exist, or it belongs to another company. The answer is the same for both.
409ProblemThe current state does not allow this: the same change is already running, or another change got there first.
422ProblemThe request was read but a value is not valid, or a required confirmation or Idempotency-Key is missing. The errors list names each field.
429ProblemA rate limit was reached. Wait Retry-After seconds. Limits are per caller, per company, and per address.
4XXProblemProblem Details (RFC 9457)

202 response fields

NameTypeDescription
id requiredstring (uuid)
site_id requiredstring (uuid)
kind requiredstringOne of: audit, discover.
status requiredstringOne of: queued, discovering, running, done, partial, failed.
trigger requiredstringOne of: manual, scheduled.
requested_by requiredstringWho started it: a person's name, a key's name, or Schedule.
month requiredstringThe calendar month (UTC) the pages count toward.
pages_requested requiredintegerRange: 0 to any.
pages_total requiredintegerPages in this scan once the list is known. Range: 0 to any.
pages_done requiredintegerRange: 0 to any.
pages_failed requiredintegerRange: 0 to any.
batches_total requiredintegerRange: 0 to any.
batches_done requiredintegerRange: 0 to any.
progress_percent requiredintegerRange: 0 to 100.
score requiredinteger or nullRange: 0 to 100.
label requiredstring or nullExcellent, Good, Needs work, or Poor.
counts requiredobjectIssues (failing elements) by impact.
counts.critical requiredintegerRange: 0 to any.
counts.serious requiredintegerRange: 0 to any.
counts.moderate requiredintegerRange: 0 to any.
counts.minor requiredintegerRange: 0 to any.
issue_count requiredintegerRange: 0 to any.
rule_count requiredintegerRange: 0 to any.
error requiredstring or null

Read one accessibility scan

get/sites/{id}/accessibility/scans/{scan_id}Permalink to Read one accessibility scan

  • Scope: sites:read
  • Permission: sites.read

The status and progress of the scan, its score out of 100 and the label (Excellent, Good, Needs work, or Poor), the issue counts by impact, and the page counts. The score formula is on GET /sites/{id}/accessibility.

Parameters

NameInTypeDescription
id requiredpathstring (uuid)The id of the site.
scan_id requiredpathstring (uuid)The id of the accessibility scan.

Responses

StatusBodyDescription
200AccessibilityScanThe scan
400ProblemThe request could not be read: bad JSON, a bad header, or a malformed value.
401ProblemThe credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme.
403ProblemThe credentials are valid but may not do this: the role, the API key scope, or a required confirmation is missing.
404ProblemThe thing in the path does not exist, or it belongs to another company. The answer is the same for both.
422ProblemThe request was read but a value is not valid, or a required confirmation or Idempotency-Key is missing. The errors list names each field.
429ProblemA rate limit was reached. Wait Retry-After seconds. Limits are per caller, per company, and per address.
4XXProblemProblem Details (RFC 9457)

200 response fields

NameTypeDescription
id requiredstring (uuid)
site_id requiredstring (uuid)
kind requiredstringOne of: audit, discover.
status requiredstringOne of: queued, discovering, running, done, partial, failed.
trigger requiredstringOne of: manual, scheduled.
requested_by requiredstringWho started it: a person's name, a key's name, or Schedule.
month requiredstringThe calendar month (UTC) the pages count toward.
pages_requested requiredintegerRange: 0 to any.
pages_total requiredintegerPages in this scan once the list is known. Range: 0 to any.
pages_done requiredintegerRange: 0 to any.
pages_failed requiredintegerRange: 0 to any.
batches_total requiredintegerRange: 0 to any.
batches_done requiredintegerRange: 0 to any.
progress_percent requiredintegerRange: 0 to 100.
score requiredinteger or nullRange: 0 to 100.
label requiredstring or nullExcellent, Good, Needs work, or Poor.
counts requiredobjectIssues (failing elements) by impact.
counts.critical requiredintegerRange: 0 to any.
counts.serious requiredintegerRange: 0 to any.
counts.moderate requiredintegerRange: 0 to any.
counts.minor requiredintegerRange: 0 to any.
issue_count requiredintegerRange: 0 to any.
rule_count requiredintegerRange: 0 to any.
error requiredstring or null

Export the report or the issue list

get/sites/{id}/accessibility/scans/{scan_id}/exportPermalink to Export the report or the issue list

  • Scope: sites:read
  • Permission: sites.read

format json, csv, or pdf; scope report (the whole report: score, pages, rules, issues) or issues (the issue list only, json or csv). The csv of the report is the page table. A spreadsheet cell that starts with =, +, -, or @ gets a leading apostrophe so it cannot run as a formula. The json report is the AccessibilityReport object. An export holds at most 20,000 issues.

Parameters

NameInTypeDescription
id requiredpathstring (uuid)The id of the site.
scan_id requiredpathstring (uuid)The id of the accessibility scan.
formatquerystringOne of: json, csv, pdf. Default: json.
scopequerystringreport is the whole report. issues is the issue list only (json or csv). report is the whole report. issues is the issue list only (json or csv). One of: report, issues. Default: report.

Responses

StatusBodyDescription
200AccessibilityReportThe file. json is the AccessibilityReport; csv is text/csv; pdf is application/pdf.
400ProblemThe request could not be read: bad JSON, a bad header, or a malformed value.
401ProblemThe credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme.
403ProblemThe credentials are valid but may not do this: the role, the API key scope, or a required confirmation is missing.
404ProblemThe thing in the path does not exist, or it belongs to another company. The answer is the same for both.
422ProblemThe request was read but a value is not valid, or a required confirmation or Idempotency-Key is missing. The errors list names each field.
429ProblemA rate limit was reached. Wait Retry-After seconds. Limits are per caller, per company, and per address.
4XXProblemProblem Details (RFC 9457)

200 response fields

NameTypeDescription
site_id requiredstring (uuid)
site_name requiredstring
generated_at requiredstring (date-time)
scan requiredAccessibilityScan
scan.id requiredstring (uuid)
scan.site_id requiredstring (uuid)
scan.kind requiredstringOne of: audit, discover.
scan.status requiredstringOne of: queued, discovering, running, done, partial, failed.
scan.trigger requiredstringOne of: manual, scheduled.
scan.requested_by requiredstringWho started it: a person's name, a key's name, or Schedule.
scan.month requiredstringThe calendar month (UTC) the pages count toward.
scan.pages_requested requiredintegerRange: 0 to any.
scan.pages_total requiredintegerPages in this scan once the list is known. Range: 0 to any.
scan.pages_done requiredintegerRange: 0 to any.
scan.pages_failed requiredintegerRange: 0 to any.
scan.batches_total requiredintegerRange: 0 to any.
scan.batches_done requiredintegerRange: 0 to any.
scan.progress_percent requiredintegerRange: 0 to 100.
scan.score requiredinteger or nullRange: 0 to 100.
scan.label requiredstring or nullExcellent, Good, Needs work, or Poor.
scan.counts requiredobjectIssues (failing elements) by impact.
scan.issue_count requiredintegerRange: 0 to any.
scan.rule_count requiredintegerRange: 0 to any.
scan.error requiredstring or null

List the issues of a scan with their selectors

get/sites/{id}/accessibility/scans/{scan_id}/issuesPermalink to List the issues of a scan with their selectors

  • Scope: sites:read
  • Permission: sites.read

One row for each failing element: the page address, the rule id, the impact, the CSS selector of the element, its HTML (cut to 500 characters; page content, show it as plain text only), what failed, how to fix it, the WCAG criteria, the help link, and the box of the element in the page picture. Filter by impact, page_id, or rule_id. Most serious first.

Parameters

NameInTypeDescription
id requiredpathstring (uuid)The id of the site.
scan_id requiredpathstring (uuid)The id of the accessibility scan.
impactquerystringOne of: critical, serious, moderate, minor.
page_idquerystring (uuid)
rule_idquerystring
limitqueryintegerHow many rows to return in one page: at most 200, and 50 when left out. Default: 50. Range: 1 to 200.
cursorquerystringThe next_cursor of the page before. Leave it out for the first page.

Responses

StatusBodyDescription
200AccessibilityIssueListThe issues
400ProblemThe request could not be read: bad JSON, a bad header, or a malformed value.
401ProblemThe credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme.
403ProblemThe credentials are valid but may not do this: the role, the API key scope, or a required confirmation is missing.
404ProblemThe thing in the path does not exist, or it belongs to another company. The answer is the same for both.
422ProblemThe request was read but a value is not valid, or a required confirmation or Idempotency-Key is missing. The errors list names each field.
429ProblemA rate limit was reached. Wait Retry-After seconds. Limits are per caller, per company, and per address.
4XXProblemProblem Details (RFC 9457)

200 response fields

NameTypeDescription
data requiredarray of objectThe rows of this page.
data[].id requiredstring (uuid)
data[].scan_id requiredstring (uuid)
data[].page_id requiredstring (uuid)
data[].page_url requiredstring
data[].rule_id requiredstring
data[].impact requiredstringOne of: critical, serious, moderate, minor.
data[].help requiredstring
data[].description requiredstring
data[].help_url requiredstring
data[].wcag requiredarray of stringWCAG success criteria such as 1.4.3.
data[].wcag_level requiredstring or nullOne of: A, AA, AAA.
data[].tags requiredarray of string
data[].selector requiredstringThe CSS selector of the failing element (iframes and shadow roots joined with ' >>> ').
data[].html requiredstringThe element's HTML, cut to 500 characters. Page content: show it as plain text, never as HTML.
data[].failure_summary requiredstringWhat failed, from axe. Page content: plain text only.
data[].fix_hint requiredstring
data[].box requiredobject or nullThe element's box in pixels of the page picture: x and y from its top left corner.
next_cursor requiredstring or nullSend it as cursor to get the next page. Null on the last page.

List the pages of a scan with their scores

get/sites/{id}/accessibility/scans/{scan_id}/pagesPermalink to List the pages of a scan with their scores

  • Scope: sites:read
  • Permission: sites.read

One row for each page of the scan: its address, status, score out of 100, label, issue counts by impact, whether its picture is still kept, and the reason a failed page failed.

Parameters

NameInTypeDescription
id requiredpathstring (uuid)The id of the site.
scan_id requiredpathstring (uuid)The id of the accessibility scan.
limitqueryintegerHow many rows to return in one page: 1 to 200, and 50 when left out. Default: 50. Range: 1 to 200.
cursorquerystringThe next_cursor of the page before. Leave it out for the first page.

Responses

StatusBodyDescription
200AccessibilityScanPageListThe pages
400ProblemThe request could not be read: bad JSON, a bad header, or a malformed value.
401ProblemThe credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme.
403ProblemThe credentials are valid but may not do this: the role, the API key scope, or a required confirmation is missing.
404ProblemThe thing in the path does not exist, or it belongs to another company. The answer is the same for both.
422ProblemThe request was read but a value is not valid, or a required confirmation or Idempotency-Key is missing. The errors list names each field.
429ProblemA rate limit was reached. Wait Retry-After seconds. Limits are per caller, per company, and per address.
4XXProblemProblem Details (RFC 9457)

200 response fields

NameTypeDescription
data requiredarray of AccessibilityScanPageThe rows of this page.
data[].id requiredstring (uuid)
data[].scan_id requiredstring (uuid)
data[].url requiredstring
data[].home requiredboolean
data[].status requiredstringOne of: pending, scanned, failed.
data[].http_status requiredinteger or null
data[].error requiredstring or null
data[].score requiredinteger or nullRange: 0 to 100.
data[].label requiredstring or null
data[].counts requiredobject
data[].issue_count requiredintegerRange: 0 to any.
data[].screenshot requiredobject or nullPresent while the picture is kept (90 days).
data[].duration_ms requiredinteger or null
next_cursor requiredstring or nullSend it as cursor to get the next page. Null on the last page.

Get a short lived link to the picture of a scanned page

get/sites/{id}/accessibility/scans/{scan_id}/pages/{page_id}/screenshotPermalink to Get a short lived link to the picture of a scanned page

  • Scope: sites:read
  • Permission: sites.read

A link to the full page picture, valid for 5 minutes, with its size. The issue boxes are in pixels of this picture. Pictures are kept 90 days (404 after). The link is signed and works for this one picture.

Parameters

NameInTypeDescription
id requiredpathstring (uuid)The id of the site.
scan_id requiredpathstring (uuid)The id of the accessibility scan.
page_id requiredpathstring (uuid)The id of the page in the accessibility page list.

Responses

StatusBodyDescription
200AccessibilityScreenshotLinkThe picture link
400ProblemThe request could not be read: bad JSON, a bad header, or a malformed value.
401ProblemThe credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme.
403ProblemThe credentials are valid but may not do this: the role, the API key scope, or a required confirmation is missing.
404ProblemThe thing in the path does not exist, or it belongs to another company. The answer is the same for both.
422ProblemThe request was read but a value is not valid, or a required confirmation or Idempotency-Key is missing. The errors list names each field.
429ProblemA rate limit was reached. Wait Retry-After seconds. Limits are per caller, per company, and per address.
4XXProblemProblem Details (RFC 9457)

200 response fields

NameTypeDescription
url requiredstring (uri)
expires_in_seconds requiredinteger
width requiredinteger
height requiredinteger

List the failing rules of a scan

get/sites/{id}/accessibility/scans/{scan_id}/rulesPermalink to List the failing rules of a scan

  • Scope: sites:read
  • Permission: sites.read

The issues grouped by axe rule: the rule id, its impact, what it checks, the WCAG criteria, a one sentence fix, and how many elements on how many pages fail it. Most serious first.

Parameters

NameInTypeDescription
id requiredpathstring (uuid)The id of the site.
scan_id requiredpathstring (uuid)The id of the accessibility scan.
limitqueryintegerHow many rows to return in one page: 1 to 200, and 50 when left out. Default: 50. Range: 1 to 200.
cursorquerystringThe next_cursor of the page before. Leave it out for the first page.

Responses

StatusBodyDescription
200AccessibilityRuleListThe rules
400ProblemThe request could not be read: bad JSON, a bad header, or a malformed value.
401ProblemThe credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme.
403ProblemThe credentials are valid but may not do this: the role, the API key scope, or a required confirmation is missing.
404ProblemThe thing in the path does not exist, or it belongs to another company. The answer is the same for both.
422ProblemThe request was read but a value is not valid, or a required confirmation or Idempotency-Key is missing. The errors list names each field.
429ProblemA rate limit was reached. Wait Retry-After seconds. Limits are per caller, per company, and per address.
4XXProblemProblem Details (RFC 9457)

200 response fields

NameTypeDescription
data requiredarray of objectThe rows of this page.
data[].rule_id requiredstring
data[].impact requiredstringOne of: critical, serious, moderate, minor.
data[].help requiredstring
data[].description requiredstring
data[].help_url requiredstring
data[].wcag requiredarray of string
data[].fix_hint requiredstring
data[].node_count requiredintegerRange: 0 to any.
data[].page_count requiredintegerRange: 0 to any.
next_cursor requiredstring or nullSend it as cursor to get the next page. Null on the last page.