Skip to main content

Schema Endpoints for Integrations & LLMs

This page lists the most relevant schema endpoints for integrations, SDKs and LLM-based tools.

Important

  • The JSON Schema format usually provides the best guidance and validation quality for LLMs.
  • However, JSON Schema responses are also the largest and can consume many tokens.
  • For small models (e.g. gpt-5-mini or similar), we recommend using TypeScript or Zod variants to keep prompts compact.

Overview

All schema endpoints support different output formats via the type query parameter:

  • type=json (default)
  • type=ts
  • type=zod

If type is omitted, json is used.

Schema Endpoint Quick Reference

Base URL: https://api.json2doc.com