Authentication
Most Gloo AI API endpoints require authentication using Bearer Tokens obtained through the OAuth2 client credentials flow. Endpoints that do not require authentication are explicitly labeled in the reference. For authenticated requests, include your token in theAuthorization header.
Follow the Authentication Tutorial to learn how to exchange your Client credentials for an access token and manage token expiration.
Gloo AI Service Map & Routing Table
| Service Category | Primary Base URL Path | Current Version | Authentication | Description / Use Case |
|---|---|---|---|---|
| Completions | https://platform.ai.gloo.com/ai/v2/ | v2 | Required (Bearer) | Standard LLM interaction, tool use, and intelligent routing. |
| Search & Recs | https://platform.ai.gloo.com/ai/data/v1/ | v1 | Required (Bearer) | Semantic search and item/affiliate recommendations. |
| Model Catalog | https://platform.ai.gloo.com/platform/v2/ | v2 | None | Public endpoint to list available models, pricing, and context windows. |
| Content Controls | https://platform.ai.gloo.com/engine/v2/ | v2 | Required (Bearer) | Data Engine operations: patch, delete, and metadata management. |
| Ingestion | https://platform.ai.gloo.com/ingestion/v2/ | v2 | Required (Bearer) | High-volume file and real-time data uploads. |
| OAuth2 Auth | https://platform.ai.gloo.com/oauth2/token | N/A | Client Credentials | Token exchange endpoint for all authenticated requests. |
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!

