Glazed API Reference

Integrate AI characters, conversations, and image generation into your applications

Authentication

All API requests require authentication using an API key. Include your API key in the request headers using Bearer authentication:

headers.js
1// API Key Header
2{
3 "Authorization": "Bearer your_api_key_here"
4}

Getting your API key

You can find your API key in your account settings under the API section. Keep this key secret and don't expose it in client-side code.

Rate Limiting

API requests are rate-limited based on your plan:

PlanLimit
Free5 requests per minute
Pro100 requests per minute

Rate limit information is included in response headers: X-RateLimit-Limit, X-RateLimit-Remaining, and X-RateLimit-Reset.