styleAgent
Run Style Agent File
Run a Style Agent check on an uploaded document.
Accepts PDF, Word (.docx), HTML, DITA, Markdown, and plain-text files. The file is uploaded unchanged and its text extracted for you, so the check runs against the document as submitted.
Behaves like POST /style-agent/run otherwise: wait=true blocks for the result (201 Created), the default returns 202 Accepted with a workflow id to poll via GET /style-agent/workflows/{workflow_id}. A large file can take longer than the synchronous request window, so prefer polling for those.
Issue positions index the extracted text, not the bytes you uploaded; use each issue's context_surface to locate it in the original document.
post/style-agent/run-file
Query parameters
waitboolean
Headers
Authorizationstring required
Bearer authentication
Response
Successful Response