Exporting
Download your constitution in multiple formats for sharing, archiving, or integration with other tools.
Available Formats
Click the Export button on your constitution page to access the following formats:
JSON
The full structured export including clause types, natural language text, intermediate representation (IR) data, rationale, and research results. Best for programmatic use or importing into other systems.
YAML
A human-readable structured format. Similar to JSON but easier to read and edit by hand.
Markdown
A formatted document with clauses organized by type, suitable for sharing, printing, or including in a README or wiki.
DNS Blocklist
A plain-text list of domains extracted from your constitutional constraints, formatted for use with Pi-hole or other DNS filtering tools.
LLM Prompt
Your constitution formatted as a system prompt that can be fed to large language models. Useful for giving an AI assistant your constitutional context.
How It Works
The export API (/api/export) accepts a constitutionId and format query parameter and returns the constitution in the requested format. The export includes only active (non-archived) clauses.