Skip to main content
These endpoints power playbooks and Draft with AI. All routes take an account-id query parameter and live under /vendor-assessments. AI drafting requires the Enterprise plan.

Playbooks

Draft a comment

Drafting is a short conversation, called a thread. Opening a thread gathers and freezes the evidence, so every refinement cites the same sources.
Preview the evidence a draft would use, without generating anything or using up the monthly allowance. comment-type is security, compliance, or privacy.
Open a thread and generate the first draft. Body: comment_type (required), plus optional playbook_id and prompt_override (instructions for this draft only).
Refine the draft. Body: { "user_message": "Shorter, and name the gaps." }
Get the thread with every turn.
Write a turn’s draft into the assessment’s comment field. Body: { "turn_index": 0 }
Each draft returns the comment text and a claims list. Every claim lists the source_ids it rests on and a kind such as a cited fact, a gap, or unattested.