DocsSign in
  • APIs
  • Generators
  • Stacks
  • Projects
  • Docs
  • History
  • Schema
  • Generate
  • post/api/v1/chat/completionsOpenAI-compatible chat/text completion
  • post/api/v1/textTyped, brand-steered text artifact
  • post/api/v1/images/generationsOpenAI-compatible image generation and edit
  • post/api/v1/audio/speechOpenAI-compatible text-to-speech
  • post/api/v1/audio/musicOriginal music track from a description
  • post/api/v1/videosStart an asynchronous video job
  • get/api/v1/videos/{id}Poll a video job
  • get/api/v1/modelsList models with full detail
  • get/api/v1/models/{id}Retrieve one model's full detail
  • get/api/v1/benchmarksList benchmarks with definitions
  • get/api/v1/benchmarks/{id}Benchmark detail and model leaderboard
  • get/api/v1/usageRead the key's credit balance and spend
  • post/api/v1/agent/turnAgent reply plus a cross-modal asset plan

Read the key's credit balance and spend

Returns the authenticated key owner's live balance and lifetime spend so a program can check budget before a run. Spends no credits. This is a lookup and spends no credits.

get/api/v1/usage

Request

  • Base URL: https://genmagic.co
  • URL: https://genmagic.co/api/v1/usage
  • Auth: HTTP bearer

Response

Success.

Changes