Create Style Agent Batch
Create a style-agent batch of up to 20 documents and start checking them.
Returns 202 with a batch_id to poll at GET /style-agent/batch/{id}. Append more documents (up to 1000 total) while the batch is still processing via POST /style-agent/batch/{id}/items. Send an Idempotency-Key header to make retries safe: the same key + payload replays the original 202 instead of creating a second batch.
Polling that report is the authoritative way to learn a batch finished. An optional webhook_url is a bounded best-effort notification on top of it — it can fire zero times or more than once, so receivers must deduplicate on batch_id.
Headers
Bearer authentication
Optional client-generated key making this submission idempotent: a retry with the same key and payload returns the original accepted response instead of submitting the documents again. Reusing a key with a different payload returns 409.
Request body
Response
Batch accepted