Accessibility Agent

Run the accessibility fix agent, streaming progress over SSE

Changed on

Same as /fix, but relays the agent's Server-Sent Events as they arrive rather than waiting for the run to finish. Frames carry the run id, phase steps, progress counts, heartbeats, and a terminal done, aborted or error event. A configuration failure is reported as an SSE error frame rather than an HTTP status, because the response has already begun.

post/api/v1/agents/a11y/fix/stream

Request

Request body

identifierstring required

dotCMS content identifier of the page to fix

languageIdinteger

Language id of the page version to fix

skipCssboolean

When true the agent fixes only VTL and reports CSS contrast issues instead of editing stylesheets

Example request

{
  "identifier": "a9f30020-54ef-494e-92ed-645e757171c2",
  "languageId": 1
}

Response

SSE stream of agent events (text/event-stream)

Changes