agents

Bulk Approve Agent Drafts

Approve + send many of an agent's PENDING drafts. Sending must run on the worker (Resend's 1 req/s, exactly-once), so this ENQUEUES the sends and returns 202 with the count that will be processed. draft_ids = explicit selection; only_safe=true (with no ids) sends every 'safe'-tier pending draft and never a flagged/uncertain one, scoped to filters (same semantics as the /drafts/page recipient filters) when provided, so a filtered review queue's 'Approve N safe' sends exactly the filtered set, all pages.

post/api/v1/agents/{agent_id}/drafts/bulk-approve

Path parameters

agent_idstring uuid required

Headers

authorizationstring nullable

Bearer <token>

Bearer <token>

Request body

draft_idsstring[]
only_safeboolean
only_flaggedboolean

Response

Successful Response

Changes

No recorded changes to this endpoint across all 1 revision of this API.