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.

Settings

Manage your organization’s display settings and brand assets.

Update Settings

PATCH /api/settings
This endpoint requires a session cookie - API key authentication is not currently supported for settings updates.
userName
string
Your display name
orgName
string
Organization name
jobRole
string
Your job role
{
  "ok": true
}

Upload Logo or Wordmark

POST /api/settings/logo
Upload a square logo or horizontal wordmark for your organization. The image is stored in Supabase storage and the URL is saved to the organization record.
Requires session cookie with owner or admin role.
file
file
required
Image file (PNG, JPG, SVG, or WebP). Max 2 MB.
kind
string
required
Either logo (square icon) or wordmark (horizontal lockup).
{
  "url": "https://your-project.supabase.co/storage/v1/object/public/org-assets/org-id/wordmark.png?v=1713000000000"
}

Remove Logo or Wordmark

DELETE /api/settings/logo
Remove a previously uploaded logo or wordmark.
Requires session cookie with owner or admin role.
kind
string
required
Either logo or wordmark.
{
  "ok": true
}