Documentation Index
Fetch the complete documentation index at: https://docs.handtextai.com/llms.txt
Use this file to discover all available pages before exploring further.
Request headers
Authorization (required)
GET /api/v1/status.
X-Request-ID (optional)
{app-name}-{uuid} or plain UUID.
Response headers
X-Request-ID
Always present. Contains either your supplied ID or an API-generated UUID.X-Process-Time
Processing time in seconds (3 decimal places):Rate limit headers
Present on authenticated endpoints after the rate-limit check runs:| Header | Description | Example |
|---|---|---|
X-RateLimit-Limit | Max requests in window | 500 |
X-RateLimit-Remaining | Requests left in window | 499 |
X-RateLimit-Reset | Unix timestamp of reset | 1704067200 |
If a
/generate request is rejected due to a monthly quota (REQUEST_LIMIT_EXCEEDED), the response may not include X-RateLimit-* headers because quota checks happen before rate limiting.Retry-After
Only on rate-limit 429 responses (RATE_LIMIT_EXCEEDED). Seconds to wait before retrying:
REQUEST_LIMIT_EXCEEDED), do not retry immediately — wait for the quota reset or increase your quota.
Content-Disposition (PDF only)
For PDF responses, includes a suggested filename:Handling rate limits
When you receive a429 response:
- Check the JSON
errorfield:RATE_LIMIT_EXCEEDED: readRetry-After(seconds) and retry after waitingREQUEST_LIMIT_EXCEEDED: you’re out of quota — wait for reset or upgrade
- Implement exponential backoff for repeated
RATE_LIMIT_EXCEEDEDresponses
Header summary
| Header | Direction | Required | Description |
|---|---|---|---|
Authorization | Request | Yes* | Bearer token authentication |
X-Request-ID | Both | No | Request correlation ID |
X-Process-Time | Response | — | Server processing time |
X-RateLimit-Limit | Response | — | Rate limit ceiling |
X-RateLimit-Remaining | Response | — | Remaining requests |
X-RateLimit-Reset | Response | — | Window reset timestamp |
Retry-After | Response | — | Wait time (429 only) |
Content-Disposition | Response | — | Filename (PDF only) |
GET /api/v1/status