Generate a legal document with structured inputs. Powered by an agent that handles research, formatting, citation verification, and vault upload. Returns a run ID for polling.
API key starting with sk_case_
Structured drafting parameters
What to draft — the core task. E.g., "Motion to compel defendant to produce discovery responses"
10 - 50000Vault ID where the final document will be uploaded
Output file format
pdf, docx, xlsx, pptx, md Filename for the output document. Auto-generated if omitted.
Target document length
Research and include legal citations
Court or jurisdiction formatting hint. Triggers a legal-skills search. E.g., "California Superior Court", "SDNY", "federal pleading"
Verify all citations in a loop — re-run verification and repair bad citations until they pass
Vault object IDs to use as source/reference documents
LLM model override. Defaults to anthropic/claude-sonnet-4.6