Documentation / API संदर्भ API reference — सभी endpoints GetVibe API के सभी endpoints की पूरी list, method, path, description और auth type के साथ। Endpoints category के हिसाब से grouped हैं। /v1/* के लिए base address https://getvibeapi.com/v1 है; /api/* के लिए यह https://getvibeapi.com है।
एक machine-readable OpenAPI 3.0 spec
/api/openapi पर उपलब्ध है — इसे Postman, Swagger UI या किसी भी OpenAPI-compatible tool में import करें।
Public catalogs /api/catalog, /api/media-catalog बिना key के उपलब्ध हैं — sign up करने से पहले storefronts, price calculations और model discovery के लिए इनका उपयोग करें।
Method Endpoint विवरण Auth POST /v1/chat/completions OpenAI-compatible chat endpoint। BearerPOST /v1/messages Anthropic Messages-format endpoint। Claude Code और Anthropic SDK का path। x-api-key / BearerPOST /v1/responses OpenAI Responses API। Codex CLI के लिए path (wire_api = "responses")। BearerPOST /v1/messages/count_tokens Anthropic SDK / Claude Code के लिए stub token-count endpoint (एक अनुमान, सटीक tokenizer नहीं)। x-api-key / Bearer
Method Endpoint विवरण Auth GET /v1/models उपलब्ध models, type, modalities और endpoints के साथ। मीडिया अनुरोध पर: ?type=image, ?all=true या /v1/models/all; एक model: /v1/models/{id}। BearerGET /v1/pricing Text models के लिए canonical programmatic price source, जिसमें live operator overrides भी शामिल हैं। BearerPOST /v1/embeddings search, RAG और clustering के लिए Text embeddings। BearerPOST /v1/decisionsकिसी state के सामने named questions का मूल्यांकन करें (text->decisions)। यह chat endpoint नहीं है; billing केवल input tokens पर। Bearer
Method Endpoint विवरण Auth POST /api/media/generate Async media generation (image/video/audio/music/3d)। Poll करने के लिए jobId लौटाता है। BearerGET /api/media/jobs/{id} async media generation job की स्थिति पोल करें। BearerGET /api/media/file/{id}/{idx} किसी result के लिए signed proxy URL (sig query param में HMAC)। Keyless — <img>/<video> में embed करने के लिए। sig (HMAC)GET /api/media-catalog Public media-model catalog: kind, variants, params, fromRub, axes। public
Method Endpoint विवरण Auth GET /v1/balance बचा हुआ prepaid balance USD में। BearerGET /v1/generations route / address_as (public route), request_id और pagination के साथ usage history। BearerGET /v1/generations/{id} id के अनुसार usage-history की एक single entry (/v1/generations response या x-pv-generation-id header से)। BearerGET /v1/usage route और address_as fields के साथ per-key usage statistics. BearerGET /api/key/usage Per-key summary: balance, आज/महीने का spend, request count. Bearer / x-api-key
Method Endpoint विवरण Auth ANY x-getvibe-route / x-getvibe-model केवल trusted reveal/debug clients के लिए response headers: winning route का public :alias और address_as। response headers
Method Endpoint विवरण Auth GET /v1/keysखाते की API keys की सूची। BearerPOST /v1/keysAPI के माध्यम से उपलब्ध नहीं। keys केवल dashboard (Keys सेक्शन) में बनाएँ और प्रबंधित करें। — (UI only)
Method Endpoint विवरण Auth GET /api/webhooks मौजूदा webhook URLs (mediaWebhookUrl, balanceWebhookUrl)। केवल Dashboard session। session (dashboard)PATCH /api/webhooks mediaWebhookUrl / balanceWebhookUrl सेट करें या हटाएँ। केवल Dashboard session। session (dashboard)
Method Endpoint विवरण Auth GET /api/catalogPublic text-model catalog (no auth)। साइट द्वारा storefront के लिए उपयोग किया जाता है। publicGET /api/media-catalog Public media-model catalog (kinds, per-unit prices, params, axes)। public