Skip to main content

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:

Pagination

List endpoints accept optional pagination parameters:
limit
integer
default:"20"
Results per page (1-100)
offset
integer
default:"0"
Number of results to skip
Paginated responses include metadata:
{
  "data": [...],
  "total": 42,
  "limit": 20,
  "offset": 0
}

Error Responses

All errors follow a consistent format:
{
  "error": {
    "code": "not_found",
    "message": "Assessment not found"
  }
}
HTTP StatusError CodeMeaning
400validationInvalid request body or missing required fields
401unauthorizedMissing or invalid authentication
403forbiddenAuthenticated but lacking permission
404not_foundResource doesn’t exist or doesn’t belong to your org
409conflictAction conflicts with current resource state
500internalUnexpected server error