SchemaGen’s API is designed to be accessible without a separate API key for most use cases. Authentication is tied to your SchemaGen account session, and the level of access you receive depends on whether you are logged in and what plan your account is on.Documentation Index
Fetch the complete documentation index at: https://docs.schemagen.io/llms.txt
Use this file to discover all available pages before exploring further.
Most SchemaGen API endpoints do not require a separate API key. You do not need to generate or manage credentials — authentication is handled through your SchemaGen account session.
Public endpoints (no auth required)
The inject and embed APIs are fully public. They require only aclientId and a url query parameter, both of which are safe to use from client-side code and third-party platforms.
| Endpoint | Auth required |
|---|---|
GET /api/inject | No |
GET /api/embed | No |
Endpoints with optional authentication
The generate and validate APIs accept requests from both authenticated and unauthenticated callers. The difference is in rate limits and usage tracking:| Endpoint | Guest behavior | Authenticated behavior |
|---|---|---|
POST /api/generate | IP-based rate limit; no usage quota applied | Per-user rate limit; usage quota enforced |
POST /api/validate | IP-based rate limit | IP-based rate limit (same as guest) |
Endpoints that require authentication
The AI extraction endpoint requires an active session tied to a Pro or Agency plan account.| Endpoint | Requirement |
|---|---|
POST /api/generate-from-url | Active session, Pro or Agency plan |
403 response. Calling it as an authenticated user whose plan limit is exhausted also returns a 403 with error code limit_reached.
How session-based authentication works
SchemaGen uses session-based authentication. You are considered authenticated when you are logged into the SchemaGen dashboard in the same browser or when your server-side request includes a valid session cookie issued by SchemaGen. There is no separate API key to generate or rotate. If you need to make authenticated server-side API calls, your request must include the session cookie from an active SchemaGen login.API key support for server-to-server integrations is not currently available. Authenticated server-side API calls require a session cookie from an active SchemaGen login.
Rate limiting by auth state
| Caller type | Rate limit scope | Quota enforcement |
|---|---|---|
| Guest (no session) | Per IP address | No usage quota |
| Authenticated user | Per user account | Monthly plan quota |
429 response regardless of auth state: