Developer API

Build on Guardian Forge

Open legal case management infrastructure. Evidence storage, OCR, motion generation, and case tracking — accessible via REST API.

Apply to build — 60 seconds with ARAYA → Sign in

7
API Endpoints
REST
Architecture
JSON
Response Format
Free
Tier Available
What You Can Build
Case Management App

Build your own case tracker. Create cases, add events, track actors, manage deadlines.

Evidence Pipeline

Upload documents, run OCR, organize into packets. Build an evidence intake for your organization.

Motion Generator

Generate court-ready motions from templates. Populate with case data. Export as GR 14 compliant PDF.

Pattern Recognition

Analyze case data against 66 documented corruption patterns. Flag matches. Generate reports.

Quick Start

Make your first API call in 30 seconds

1. Get your API key

Sign up at the Case Builder and generate an API key from your account settings.

# For testing, use the public demo key:
X-API-Key: demo_guardian_forge_2026

2. List cases

GET https://100xbuilder.io/.netlify/functions/guardian-api?action=list-cases

# Headers
X-API-Key: your_api_key
Content-Type: application/json

3. Response

{
  "ok": true,
  "data": [
    {
      "id": "case_abc123",
      "case_name": "Smith v. Jones",
      "case_number": "XX-X-XXXXX-XX",
      "case_type": "family",
      "court": "Spokane County Superior Court",
      "status": "active",
      "created_at": "2026-06-13T00:00:00Z"
    }
  ]
}

4. Upload evidence

POST https://100xbuilder.io/.netlify/functions/araya-file-upload

{
  "filename": "warrant-page-1.jpg",
  "data": "base64_encoded_file_data...",
  "contentType": "image/jpeg",
  "caseId": "case_abc123",
  "tags": ["evidence", "warrant"],
  "notes": "Federal search warrant - page 1"
}
API Endpoints

7 endpoints — everything you need to build a legal case system

Cases

GET /guardian-api?action=list-cases List all cases

Returns all cases for the authenticated user.

Parameters
NameTypeDescription
statusstringFilter by status: active, closed, all
Response
{ "ok": true, "data": [{ "id": "...", "case_name": "...", "case_number": "...", "status": "active" }] }
POST /guardian-api?action=create-case Create a new case
Body
NameTypeDescription
case_namestringCase name REQUIRED
case_numberstringCourt case number
case_typestringfamily, civil, criminal, dependency
courtstringCourt name and county
Response
{ "ok": true, "data": { "id": "case_abc123", "case_name": "Smith v. Jones" } }

Evidence

GET /guardian-api?action=list-evidence List evidence files for a case
NameTypeDescription
case_idstringCase ID to filter by
typestringFilter: image, document, audio
limitnumberMax results (default 200)
Response
{ "ok": true, "data": [{ "id": "...", "title": "Warrant Page 1", "evidence_type": "image", "tags": ["warrant"], "created_at": "..." }] }
POST /araya-file-upload Upload evidence file

Upload a file (image, PDF, audio) as base64. Automatically stores in Supabase, creates evidence record, and triggers OCR for images.

NameTypeDescription
filenamestringFile name REQUIRED
datastringBase64 encoded file REQUIRED
contentTypestringMIME type (image/jpeg, application/pdf)
caseIdstringLink to case
tagsarrayCustom tags for organization
notesstringDescription or context
Response
{ "success": true, "fileId": "uuid-here", "url": "https://..." }
POST /evidence-ocr Extract text from evidence via AI OCR

Sends an evidence image to AI vision model for text extraction. Returns the full text content of the document.

NameTypeDescription
actionstring"extract" REQUIRED
documentIdstringFile ID from upload REQUIRED
Response
{ "success": true, "extractedText": "ORDER OF THE COURT\nCase No. XX-X-XXXXX-XX\n..." }

Timeline & Actors

GET /guardian-api?action=list-events Get case timeline events
NameTypeDescription
case_idstringCase ID REQUIRED
typestringFilter: violation, filing, hearing, order, incident
Response
{ "ok": true, "data": [{ "id": "...", "event_date": "2026-01-14", "event_type": "incident", "title": "Arrested at courthouse", "description": "..." }] }
GET /guardian-api?action=list-actors Get case actors
NameTypeDescription
case_idstringCase ID REQUIRED
Response
{ "ok": true, "data": [{ "id": "...", "name": "Jane Attorney", "role": "opposing_counsel", "alignment": "adverse", "organization": "WSBA #00000" }] }

Documents & Filings

GET /guardian/cases/filings/{name}.json Get filing template (static JSON)

Court filing templates are stored as static JSON files. Load them into the court document renderer to produce GR 14 compliant PDFs.

Available Templates
# Motion templates
appear-remote-po.json
oppose-po-renewal.json
contempt-response.json
quash-service.json
satisfy-judgment.json
modify-child-support.json
modify-parenting-plan.json

# Supporting documents
declaration-darrick-preble.json
declaration-damages-po.json
affidavit-damages.json
notice-federal-litigation-updated.json
Render as Court Document
# Open any filing in the court document renderer:
https://100xbuilder.io/guardian/court-pdf-template.html?filing=cases/filings/appear-remote-po.json
Authentication

Three ways to authenticate

1. API Key (recommended)

Include your API key in the request header.

X-API-Key: your_api_key_here
2. Bearer Token (Supabase JWT)

If your app uses Supabase auth, pass the JWT directly.

Authorization: Bearer eyJhbGciOi...
3. Demo Mode (no auth)

The Case Builder works without auth in demo mode with sample data. Perfect for evaluation.

# Just open the Case Builder — no auth needed for demo
https://100xbuilder.io/guardian/case-dashboard.html
Pricing

Use for free. Scale when ready.

Free
$0
forever
  • Case Builder UI
  • 1 active case
  • 50 evidence files
  • 100 API calls/day
  • Community support
API Partner
$97
/month
  • Everything in Pro
  • API key access
  • Webhook notifications
  • Custom integrations
  • 100,000 API calls/day
  • Direct support line
Open Source

Help us build the legal system people deserve

Guardian Forge is built by people who have been through the system. We know what's broken because we lived it. If you're a developer, designer, legal advocate, or someone who gives a damn — we want you.

What we need
  • Frontend developers (vanilla JS, no framework needed)
  • Legal professionals willing to validate motion templates
  • UX designers who understand crisis-mode users
  • Court system experts (state-specific rules, e-filing)
  • People who have been through family court and want to help others
The stack
  • Frontend: Vanilla HTML/CSS/JS — no frameworks, no build step
  • Backend: Netlify Functions (serverless Node.js)
  • Database: Supabase (PostgreSQL)
  • Storage: Supabase Storage (S3-compatible)
  • OCR: Claude Vision API
  • Deploy: Netlify (git push to deploy)
View on GitHub Contact Us