API reference
Endpoints
Every endpoint of the Keyword-to-Blog API returns the versioned JSON shapes shown in JSON schemas.
Base URL
https://lexigen.app/api/v1. For example, POST /v1/generate is POST https://lexigen.app/api/v1/generate. The shorter https://lexigen.app/v1/... form is an equivalent alias./v1/generate
Generate one post synchronously.
/v1/jobs
Create an asynchronous generation job, with an optional webhook.
/v1/jobs/{jobId}
Poll a job's status and result.
/v1/usage
Usage and remaining quota for this month and day.
Webhooks
Job webhook payloads, delivery and signature verification.
/v1/content-tokens/{token_id}/...
Content feeds: pull, confirm and reject pre-generated articles from a feed set up for you.
Guides & reference
Quickstart
Your first request, sync and async.
Examples
Batch workflow, an async pipeline, and curl/JS/Python clients.
JSON schemas
Example bodies for every request and response type.
SEO formatting guide
The structure of every generated post.
Content quality pipeline
Facts-first writing, quality gates and the quality report.
Plans & limits
Rate limits, monthly quotas and concurrent jobs per plan.
Error codes
Every error code with its HTTP status.
Versioning
What's breaking, what isn't, and how /v2 would ship.