Skip to main content
POST
Error

Authorizations

Authorization
string
header
required

Authorization-code grant with PKCE S256, exact scopes, explicit resource audience and a persisted consent grant. Obtain endpoint URLs from server discovery in the target environment. Refresh tokens remain client-bound.

Scopes

audit:write

Launch audits and page re-checks, create, apply and restore audit fixes and rewrites. Spends the site's AI credits and writes to the connected CMS.

Headers

Idempotency-Key
string
required

Opaque client command key of 1 to 128 visible ASCII characters. UUID recommended; reuse only for the same command.

Required string length: 1 - 128
Pattern: ^[!-~]+$

Path Parameters

profile_id
string<uuid>
required

Profile UUID; must be in the grant allowlist and currently accessible to the actor.

id
string<uuid>
required

Resource UUID, scoped by the path profile or persisted operation receipt.

Body

application/json
fix_types
enum<string>[]
required

Fixes to create for the page, among those estimateAuditFixes lists as applicable. rewrite replaces the article by a full rewrite and is requested alone.

Required array length: 1 - 20 elements
Available options:
rewrite,
meta_title,
meta_description,
image_alt,
h1,
add_links,
cover_image,
broken_links,
image_compression,
json_ld,
canonical,
noindex

Response

Created, applied or restored fixes with their durable receipt.

data
object
required
meta
object
required