Documentation Index
Fetch the complete documentation index at: https://trygradient.ai/docs/llms.txt
Use this file to discover all available pages before exploring further.
API Overview
Base URL:https://app.trygradient.ai
All API endpoints are served from the same domain as the admin portal. Requests must include valid authentication.
Authentication
Gradient supports two authentication methods:- API Key (recommended)
Include your API key in the API keys are scoped to your organization. Create and manage them via the API Keys endpoints or the Settings page in the admin portal.
Authorization header:Pagination
List endpoints accept optional pagination parameters:Results per page (1-100)
Number of results to skip
Error Responses
All errors follow a consistent format:| HTTP Status | Error Code | Meaning |
|---|---|---|
400 | validation | Invalid request body or missing required fields |
401 | unauthorized | Missing or invalid authentication |
403 | forbidden | Authenticated but lacking permission |
404 | not_found | Resource doesn’t exist or doesn’t belong to your org |
409 | conflict | Action conflicts with current resource state |
500 | internal | Unexpected server error |