GRGlobalRouter Docs
Console

Docs / API Reference

GlobalRouter API Reference

This section covers only the GlobalRouter primary API under /api/v1. Each category page lists endpoints, with individual endpoint details on child pages.

Scenario-oriented API docs

CategoryPageDescription
Models/docs/reference/modelsModel lists, filters, and model endpoints.
Providers/docs/reference/providersPublic provider lists and availability boundaries.
Chat/docs/reference/chatChat completions, streaming, tools, structured outputs, chat image output, and chat video output.
Text/docs/reference/textResponses, Messages, and Embeddings.
Audio/docs/reference/audioText-to-speech and audio transcription.
Images/docs/reference/imagesImage creation, reference images, and response formats.
Videos/docs/reference/videosVideo task creation, querying, content retrieval, and model lists.
Assets/docs/reference/filesAsset groups, imports, lists, updates, deletes, and refreshes.
Credits/docs/reference/creditsBalance, usage, and credit composition.
API keys/docs/reference/api-keysAPI key lookup, creation, updates, and revocation.

Platform APIs

MethodEndpointDescription
GETGET /api/v1/creditsQuery current tenant credits.
GETGET /api/v1/generationQuery metadata by request or generation record.
GETGET /api/v1/generation/contentRead generated content for a generation record.

Reading recommendations

  • Start with Quick start to confirm the API surface, then open the matching API category.
  • Each category page lists endpoints. Click an endpoint to open its dedicated reference page.
  • Endpoint pages show parameter reference, curl examples, and response examples on desktop; mobile keeps the endpoint list only.