Run Style Agent
Run a Style Agent content check.
Submit document text to analyze it against your organization’s style
configuration. Set wait=true to block until the check completes and
return the result (201 Created); the default (wait=false) returns
202 Accepted immediately with a workflow id to poll via
GET /style-agent/workflows/{workflow_id}.
To check a PDF, Word, HTML, DITA, Markdown, or plain-text file, use
POST /style-agent/run-file instead.
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Query parameters
Request
Style guide ID to check the document against. target_id is a deprecated alias for this field; send exactly one of the two names.
Language-service content profile ID for style checking.
Caller-provided document identifier for tracking across scans.
Response
Caller-provided document identifier.
How this check is counted: ‘batch’ for a document checked as part of a batch, ‘interactive’ for a direct /run check.
Owning batch id (agbw_<nanoid>); null unless this is a batch check.
Execution result (if completed)