Skip to main content
GET
/
format
/
v1
/
templates
curl -X GET "https://api.case.dev/format/v1/templates" \ -H "Authorization: Bearer $CASEDEV_API_KEY"
{
  "templates": [
    {
      "id": "tmpl_abc123",
      "name": "NDA Template",
      "description": "Standard non-disclosure agreement template",
      "type": "contract",
      "variables": [
        "party1",
        "party2",
        "effectiveDate",
        "jurisdiction"
      ],
      "tags": [
        "confidentiality",
        "standard"
      ],
      "usageCount": 42,
      "createdAt": "2024-01-15T10:30:00Z"
    },
    {
      "id": "tmpl_def456",
      "name": "Motion to Dismiss",
      "description": "Template for filing motion to dismiss",
      "type": "pleading",
      "variables": [
        "court",
        "case_number",
        "plaintiff",
        "defendant"
      ],
      "tags": [
        "motion",
        "civil"
      ],
      "usageCount": 18,
      "createdAt": "2024-01-10T14:20:00Z"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.case.dev/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key starting with sk_case_

Query Parameters

type
string

Filter templates by type (e.g., contract, pleading, letter)

Response

List of format templates

templates
object[]