Base URL
All API requests use the following base URL:Available endpoints
Error format
All error responses return JSON with anerror field and an optional details object.
details field appears on validation errors and contains a structured breakdown of what failed. It is omitted on rate limit, auth, and server errors.
HTTP status codes
Rate limiting
SchemaGen applies rate limits at the endpoint level to ensure fair use.- Authenticated users are rate-limited per user account and receive higher request allowances.
- Unauthenticated users are rate-limited per IP address and have lower allowances.
429 response:
/api/validate endpoint has its own independent rate limit separate from the generation endpoints.
Rate limits are applied on a fail-open basis: if the rate limit service is temporarily unavailable, requests are allowed through rather than blocked.
Usage limits
Authenticated users on paid plans have a monthly usage quota that applies to schema generation and AI extraction. When you reach your plan’s limit, the API returns a403 with error code limit_reached:
/api/generate without a usage limit, but are subject to IP-based rate limits.