Authentication
Most Gloo AI API endpoints require authentication using an API key. Endpoints that do not require authentication are explicitly labeled in the reference. For authenticated requests, include your API key in theAuthorization header.
Follow the Authentication Tutorial to learn how to create and use your API key.
Gloo AI Service Map & Routing Table
Most endpoints require an API key sent as a Bearer token (
Authorization: Bearer YOUR_API_KEY). Endpoints that do not require auth are explicitly labeled. API keys are the default and recommended way to authenticate; see the Authentication tutorial.
Not sure which generation endpoint to use? See Endpoint types for how guarded, direct, and grounded endpoints differ.
Download OpenAPI Specs
Active Endpoints
All Endpoints
Error Handling
The Gloo AI API uses conventional HTTP response codes to indicate the success or failure of a request.- Codes in the
2xxrange indicate success. - Codes in the
4xxrange indicate a client-side error (e.g., a missing parameter, bad authentication). - Codes in the
5xxrange indicate a server-side error on our end.
Getting Started: Your First Steps
Ready to build? Here’s how to get started:- Get Your API Key: Follow the authentication guide to generate your first key in the Studio.
- Review the Guides: Familiarize yourself with our core API Guides to understand the conceptual models.
- Make Your First Call: Explore the endpoints listed in the sidebar and make your first request!

