agents

Redraft All Drafts

Stream redraft progress as SSE.

Runs up to 5 generate_draft calls concurrently. Each completion yields a JSON event. Client disconnect cancels remaining work — no Celery, no Redis.

Event shape: data: {"draft_id": "...", "done": N, "total": N, "error": null} Final event: data: {"done": N, "total": N, "finished": true}

post/api/v1/agents/{agent_id}/redraft-all

Path parameters

agent_idstring uuid required

Headers

authorizationstring nullable

Bearer <token>

Bearer <token>

Response

Successful Response

{"stackTrail":"paths:/api/v1/agents/{agent_id}/redraft-all:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

No recorded changes to this endpoint across all 5 revisions of this API.