Documentation Index
Fetch the complete documentation index at: https://docs.ai-stats.phaseo.app/llms.txt
Use this file to discover all available pages before exploring further.
SDKs are in very early alpha: We’re working as hard as we can to get them into a stable state. Please bear with us as we iterate rapidly.
Features
- Type-safe: Full TypeScript support with generated types from the OpenAPI spec
- Simple API: Easy-to-use client with a clean interface
- Generated code: Automatically generated from the canonical API specification
- Comprehensive: Covers all Gateway API endpoints
Quick Example
What’s Included
AIStatsclient class for all API interactions- Resource-style helpers such as
client.models,client.batches,client.videos, andclient.asyncJobs - Discovery and pricing helpers such as
client.getModels(),client.listProviders(),client.getCredits(),client.getActivity(),client.getAnalytics(),client.listEndpoints(),client.listOrganisations(),client.listPricingModels(),client.calculatePricing(),client.listApiKeys(),client.createApiKey(),client.getApiKey(id),client.updateApiKey(id, ...),client.deleteApiKey(id),client.listWorkspaces(),client.getWorkspace(id),client.createWorkspace(...),client.updateWorkspace(id, ...),client.deleteWorkspace(id), andclient.getCurrentApiKey() - Async-job websocket URL helpers for batch and video lifecycle streams
- Generated types for all request/response objects
- Full API coverage including chat completions, models, credits, and more
- TypeScript definitions for better development experience