Skip to main content

Base URL

Production base URL:
https://api.phaseo.app/v1
All endpoint paths in this reference are relative to that /v1 base URL.

OpenAPI

Use the OpenAPI file if you want to import the API into Postman, Hoppscotch, or an SDK generator.

AI Stats Gateway OpenAPI

View the specification file

Authentication

Most endpoints require a standard gateway API key. Management endpoints require a management API key created in the dashboard.
Authorization: Bearer aistats_v1_sk_<kid>_<secret>
If authentication fails, the API returns 401.

Endpoint families

EndpointPurpose
POST /chat/completions, POST /responses, POST /messagesText generation
POST /embeddings, POST /moderationsEmbeddings and moderation
POST /audio/speech, POST /audio/transcriptions, POST /audio/translationsSpeech and audio
POST /images/generations, POST /images/editsImage generation and editing
POST /videos, GET /videos, GET /videos/models, GET /videos/{video_id}Video jobs and status
POST /music/generate, GET /music/generate/{music_id}Music generation jobs
POST /ocr, POST /batches, GET /batches/{batch_id}, POST /files, GET /files/{file_id}OCR, batches, and files
GET /gateway/models, GET /providers, GET /pricing/models, POST /pricing/calculate, GET /activityDiscovery, pricing, and activity

Billing and rate limits

  • AI Stats does not apply its own rate limits. Limits are enforced by upstream providers.
  • Paid requests require enough wallet balance to pass the preflight credit check.
  • Free models with :free do not require deposited credits.
Last modified on May 19, 2026