spend_rules:write आवश्यक है। OAuth कॉलर का वर्कस्पेस का मालिक या एडमिन होना ज़रूरी है। हर राशि USD (*_usd) या नैनोडॉलर (*_nanos) में से किसी एक में भेजें, दोनों में नहीं। एक वर्कस्पेस में 50 खर्च नियम हो सकते हैं। मीट्रिक, आधार, दायरे और अवधियों के लिए खर्च अलर्ट गाइड देखें।
spend: खर्च threshold_amount तक पहुँचा। budget_percent: खर्च आधार के threshold_percents तक पहुँचा। forecast: अवधि के अंत तक अनुमानित खर्च सीमा तक पहुँचता है। spike: पिछले window_hours का खर्च पिछले 7 दिनों में उसी विंडो के माध्यिका (median) का कम से कम spike_multiplier गुना है, और कम से कम spike_floor। balance: वर्कस्पेस का बैलेंस या रनवे सीमा से नीचे जाता है।
rolling विंडो के घंटे: spike नियमों के लिए स्पाइक विंडो (अधिकतम 56, ताकि पिछले 7 दिनों में 3 विंडो आ सकें) और balance नियमों के लिए खर्च दर की अवधि। कैलेंडर अवधियों के लिए null।
threshold_percents किसके प्रतिशत हैं: amount (base_amount), workspace_budget या key_limit (base_ref अंतराल, जो अवधि से मेल खाना चाहिए), या previous_period।
आधार के अधिकतम पाँच पूर्ण प्रतिशत, क्रम में। हर एक प्रति अवधि अधिकतम एक बार ट्रिगर होता है; एक साथ कई पार होने पर सबसे ऊँचे का नाम लेकर एक अलर्ट भेजा जाता है।
notify, या सूचना देकर फिर ब्लॉक करें जब खर्च आधार के block_at_percent या block_at_amount तक पहुँचे। ब्लॉक करना सर्वोत्तम प्रयास पर आधारित है और सीमा के कुछ मिनट बाद लागू होता है। जब तक गेटवे पर ब्लॉक करना बंद है, ब्लॉक करना शुरू करने वाला नियम 400 के साथ अस्वीकार किया जाता है, और पहले से ब्लॉक करने वाला नियम केवल सूचना देता है।
एक खर्च नियम: किसी दायरे और अवधि में डॉलर या प्रतिशत की सीमाएँ जो सूचना देती हैं, या सूचना देकर फिर ब्लॉक करती हैं। राशियाँ नैनोडॉलर और USD दोनों में लौटाई जाती हैं।
{"docsConfig":{"theme":"luma","$schema":"https://mintlify.com/docs.json","name":"Phaseo Docs","description":"Documentation for Phaseo Gateway, SDKs, routing, pricing, guardrails, async jobs, and model discovery across providers.","colors":{"primary":"#0069a8","light":"#38bdf8","dark":"#0069a8"},"logo":{"light":"https://mintcdn.com/aistats/bxzzjromPyjBlHKc/logo/light.svg?fit=max\u0026auto=format\u0026n=bxzzjromPyjBlHKc\u0026q=85\u0026s=f1e10d307a46469852edc2ae198e3c2a","dark":"https://mintcdn.com/aistats/bxzzjromPyjBlHKc/logo/dark.svg?fit=max\u0026auto=format\u0026n=bxzzjromPyjBlHKc\u0026q=85\u0026s=6719dd9bade9b7f4025561841736d72e","href":"https://phaseo.app"},"favicon":"https://mintcdn.com/aistats/UZfkYM9yX2Gru_Ij/favicon.svg?fit=max\u0026auto=format\u0026n=UZfkYM9yX2Gru_Ij\u0026q=85\u0026s=04efcd38cad9cdb599aa92c800724bd5","api":{"openapi":"openapi/v1/openapi.yaml","playground":{"display":"interactive"},"examples":{"defaults":"all","languages":["javascript","python","bash","go","java","php","ruby"],"prefill":true,"autogenerate":true}},"background":{"color":{"light":"#ffffff","dark":"#0a0a0a"}},"navbar":{"primary":{"type":"button","label":"Get API Key","href":"https://phaseo.app/settings/keys"}},"footer":{"socials":{"x":"https://x.com/phaseoteam","github":"https://github.com/phaseoteam/Phaseo","discord":"https://discord.gg/aQyywCvgZ5","linkedin":"https://www.linkedin.com/company/phaseoapp","reddit":"https://www.reddit.com/r/Phaseo"},"links":[{"items":[{"label":"Models","href":"https://phaseo.app/models"},{"label":"Status","href":"https://status.phaseo.app"},{"label":"Support","href":"https://phaseo.app/help"}]}]},"seo":{"metatags":{"canonical":"https://phaseo.app/docs"}},"fonts":{"family":"Montserrat"},"icons":{"library":"lucide"},"styling":{"eyebrows":"section","latex":true},"contextual":{"options":["copy","view","chatgpt","claude","cursor","vscode","devin","mcp","add-mcp"],"display":"header"},"interaction":{"drilldown":false},"metadata":{"timestamp":true},"markdown":{"instructions":["Phaseo Gateway base URL: https://api.phaseo.app/v1. Send `Authorization: Bearer $PHASEO_API_KEY` with every request.","Model IDs look like `provider/model`, for example `openai/gpt-6-astra`. Do not guess IDs: list them with `GET /v1/models` or check https://phaseo.app/models. `phaseo/free` routes to an available free model and needs no wallet balance.","For new text integrations prefer `POST /v1/responses`. `POST /v1/chat/completions` (OpenAI format) and `POST /v1/messages` (Anthropic format) suit existing code.","The full API contract is https://phaseo.app/docs/openapi/v1/openapi.yaml. Official SDKs: `@phaseo/sdk` (TypeScript) and `phaseo` (Python), plus Go, C#, PHP, Ruby and Rust.","Search these docs over MCP at https://phaseo.app/docs/mcp, and install Phaseo skills with `npx skills add https://phaseo.app/docs`. If a page is wrong or out of date, report it with the MCP `submit_feedback` tool.","Manage Phaseo accounts with the `phaseo` CLI (`npm install -g @phaseo/cli`, then `phaseo login` or `phaseo login --device-code`), the `/v1` Management API or the MCP server at `https://mcp.phaseo.app/mcp?access=manage`. Do not send users to the dashboard for account tasks. A person is still needed for sign-up, approving a sign-in, paying the first top-up on the checkout link that `phaseo credits add` returns when no card is saved, confirming each saved-card top-up from the emailed link, and account security (password, MFA, passkeys). Create API keys with `phaseo keys create --name \u003cname> --json`; never guess one. Credit top-ups need `phaseo login --scopes billing:write` first. Task map: https://phaseo.app/docs/v1/developers/manage-from-an-agent.md."]},"navigation":{"languages":[{"language":"en","href":"v1"},{"language":"es","footer":{"socials":{"x":"https://x.com/phaseoteam","github":"https://github.com/phaseoteam/Phaseo","discord":"https://discord.gg/aQyywCvgZ5","linkedin":"https://www.linkedin.com/company/phaseoapp","reddit":"https://www.reddit.com/r/Phaseo"},"links":[{"items":[{"label":"Modelos","href":"https://phaseo.app/es-ES/models"},{"label":"Estado","href":"https://status.phaseo.app"},{"label":"Soporte","href":"https://phaseo.app/es-ES/help"}]}]},"navbar":{"primary":{"type":"button","label":"Obtener clave de API","href":"https://phaseo.app/es-ES/settings/keys"}},"href":"es/v1"},{"language":"fr","footer":{"socials":{"x":"https://x.com/phaseoteam","github":"https://github.com/phaseoteam/Phaseo","discord":"https://discord.gg/aQyywCvgZ5","linkedin":"https://www.linkedin.com/company/phaseoapp","reddit":"https://www.reddit.com/r/Phaseo"},"links":[{"items":[{"label":"Modèles","href":"https://phaseo.app/fr-FR/models"},{"label":"État","href":"https://status.phaseo.app"},{"label":"Assistance","href":"https://phaseo.app/fr-FR/help"}]}]},"navbar":{"primary":{"type":"button","label":"Obtenir une clé API","href":"https://phaseo.app/fr-FR/settings/keys"}},"href":"fr/v1"},{"language":"de","footer":{"socials":{"x":"https://x.com/phaseoteam","github":"https://github.com/phaseoteam/Phaseo","discord":"https://discord.gg/aQyywCvgZ5","linkedin":"https://www.linkedin.com/company/phaseoapp","reddit":"https://www.reddit.com/r/Phaseo"},"links":[{"items":[{"label":"Modelle","href":"https://phaseo.app/de-DE/models"},{"label":"Status","href":"https://status.phaseo.app"},{"label":"Support","href":"https://phaseo.app/de-DE/help"}]}]},"navbar":{"primary":{"type":"button","label":"API-Schlüssel erstellen","href":"https://phaseo.app/de-DE/settings/keys"}},"href":"de/v1"},{"language":"pt-BR","footer":{"socials":{"x":"https://x.com/phaseoteam","github":"https://github.com/phaseoteam/Phaseo","discord":"https://discord.gg/aQyywCvgZ5","linkedin":"https://www.linkedin.com/company/phaseoapp","reddit":"https://www.reddit.com/r/Phaseo"},"links":[{"items":[{"label":"Modelos","href":"https://phaseo.app/pt-BR/models"},{"label":"Status","href":"https://status.phaseo.app"},{"label":"Suporte","href":"https://phaseo.app/pt-BR/help"}]}]},"navbar":{"primary":{"type":"button","label":"Obter chave de API","href":"https://phaseo.app/pt-BR/settings/keys"}},"href":"pt-BR/v1"},{"language":"ja","footer":{"socials":{"x":"https://x.com/phaseoteam","github":"https://github.com/phaseoteam/Phaseo","discord":"https://discord.gg/aQyywCvgZ5","linkedin":"https://www.linkedin.com/company/phaseoapp","reddit":"https://www.reddit.com/r/Phaseo"},"links":[{"items":[{"label":"モデル","href":"https://phaseo.app/ja/models"},{"label":"ステータス","href":"https://status.phaseo.app"},{"label":"サポート","href":"https://phaseo.app/ja/help"}]}]},"navbar":{"primary":{"type":"button","label":"API キーを取得","href":"https://phaseo.app/ja/settings/keys"}},"href":"ja/v1"},{"language":"zh-Hans","footer":{"socials":{"x":"https://x.com/phaseoteam","github":"https://github.com/phaseoteam/Phaseo","discord":"https://discord.gg/aQyywCvgZ5","linkedin":"https://www.linkedin.com/company/phaseoapp","reddit":"https://www.reddit.com/r/Phaseo"},"links":[{"items":[{"label":"模型","href":"https://phaseo.app/zh-Hans/models"},{"label":"状态","href":"https://status.phaseo.app"},{"label":"支持","href":"https://phaseo.app/zh-Hans/help"}]}]},"navbar":{"primary":{"type":"button","label":"获取 API 密钥","href":"https://phaseo.app/zh-Hans/settings/keys"}},"href":"zh-Hans/v1"},{"language":"hi","footer":{"socials":{"x":"https://x.com/phaseoteam","github":"https://github.com/phaseoteam/Phaseo","discord":"https://discord.gg/aQyywCvgZ5","linkedin":"https://www.linkedin.com/company/phaseoapp","reddit":"https://www.reddit.com/r/Phaseo"},"links":[{"items":[{"label":"मॉडल","href":"https://phaseo.app/hi/models"},{"label":"स्थिति","href":"https://status.phaseo.app"},{"label":"सहायता","href":"https://phaseo.app/hi/help"}]}]},"navbar":{"primary":{"type":"button","label":"API कुंजी प्राप्त करें","href":"https://phaseo.app/hi/settings/keys"}},"href":"hi/v1"},{"language":"ar","footer":{"socials":{"x":"https://x.com/phaseoteam","github":"https://github.com/phaseoteam/Phaseo","discord":"https://discord.gg/aQyywCvgZ5","linkedin":"https://www.linkedin.com/company/phaseoapp","reddit":"https://www.reddit.com/r/Phaseo"},"links":[{"items":[{"label":"النماذج","href":"https://phaseo.app/ar-SA/models"},{"label":"الحالة","href":"https://status.phaseo.app"},{"label":"الدعم","href":"https://phaseo.app/ar-SA/help"}]}]},"navbar":{"primary":{"type":"button","label":"احصل على مفتاح API","href":"https://phaseo.app/ar-SA/settings/keys"}},"href":"ar/v1"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"aistats","hasAudioNarration":false,"actualSubdomain":"aistats","customDomains":["phaseo.app"],"gitSource":{"type":"github","owner":"phaseoteam","repo":"phaseo","deployBranch":"main","contentDirectory":"apps/docs","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6aea3214709ff05859fc543a","collectionId":"c39658ce-5db7-49ef-8bdc-7177eeffa2b2","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6aea3214709ff05859fc543a"},"feedback":{"thumbs":true,"agentFeedback":true,"issues":true,"edits":true},"entitlements":{},"buildId":"6aea3214709ff05859fc543a","clientVersion":"0.0.4054","searchFilterCounts":[{"language":"ar","tag":"مرجع API","count":243},{"language":"de","tag":"API-Referenz","count":243},{"language":"es","tag":"Referencia API","count":243},{"language":"fr","tag":"Référence API","count":243},{"language":"hi","tag":"API संदर्भ","count":243},{"language":"ja","tag":"APIリファレンス","count":243},{"language":"pt-BR","tag":"Referência API","count":243},{"language":"en","tag":"API Reference","count":243},{"language":"zh-Hans","tag":"API 参考","count":243},{"language":"hi","tag":"दस्तावेज़","count":140},{"language":"ja","tag":"ドキュメント","count":140},{"language":"zh-Hans","tag":"文档","count":140},{"language":"ar","tag":"الوثائق","count":138},{"language":"de","tag":"Docs","count":138},{"language":"es","tag":"Docs","count":138},{"language":"fr","tag":"Docs","count":138},{"language":"pt-BR","tag":"Docs","count":138},{"language":"en","tag":"Docs","count":138},{"language":"ar","tag":"SDK العميل","count":123},{"language":"de","tag":"SDKs","count":123},{"language":"es","tag":"SDKs","count":123},{"language":"fr","tag":"SDK client","count":123},{"language":"hi","tag":"क्लाइंट SDK","count":123},{"language":"ja","tag":"SDK","count":123},{"language":"pt-BR","tag":"SDKs","count":123},{"language":"en","tag":"Client SDKs","count":123},{"language":"zh-Hans","tag":"客户端 SDK","count":123},{"language":"ar","tag":"إدارة مساحات العمل","count":103},{"language":"de","tag":"Arbeitsbereichsverwaltung","count":103},{"language":"es","tag":"Gestión de espacios de trabajo","count":103},{"language":"fr","tag":"Gestion des espaces de travail","count":103},{"language":"hi","tag":"वर्कस्पेस प्रबंधन","count":103},{"language":"ja","tag":"ワークスペース管理","count":103},{"language":"pt-BR","tag":"Gerenciamento de espaços de trabalho","count":103},{"language":"en","tag":"Workspace Management","count":103},{"language":"zh-Hans","tag":"工作区管理","count":103},{"language":"ar","tag":"حزمة SDK للوكلاء","count":98},{"language":"de","tag":"Agenten-SDK","count":98},{"language":"es","tag":"SDK de agentes","count":98},{"language":"fr","tag":"SDK d’agents","count":98},{"language":"hi","tag":"एजेंट SDK","count":98},{"language":"ja","tag":"エージェント SDK","count":98},{"language":"pt-BR","tag":"SDK de agentes","count":98},{"language":"en","tag":"Agent SDK","count":98},{"language":"zh-Hans","tag":"智能体 SDK","count":98},{"language":"ar","tag":"التوجيه والسياسات","count":58},{"language":"de","tag":"Routing und Richtlinien","count":58},{"language":"es","tag":"Enrutamiento y políticas","count":58},{"language":"fr","tag":"Routage et politiques","count":58},{"language":"hi","tag":"रूटिंग और नीतियाँ","count":58},{"language":"ja","tag":"ルーティングとポリシー","count":58},{"language":"pt-BR","tag":"Roteamento e políticas","count":58},{"language":"zh-Hans","tag":"路由与策略","count":58},{"language":"en","tag":"Routing \u0026 Policies","count":52},{"language":"ar","tag":"البناء","count":51},{"language":"de","tag":"Entwickeln","count":51},{"language":"es","tag":"Desarrollar","count":51},{"language":"fr","tag":"Développer","count":51},{"language":"hi","tag":"बनाएँ","count":51},{"language":"ja","tag":"構築","count":51},{"language":"pt-BR","tag":"Criar","count":51},{"language":"en","tag":"Build","count":51},{"language":"zh-Hans","tag":"构建","count":51},{"language":"ar","tag":"الميزات","count":37},{"language":"ar","tag":"التكاملات","count":37},{"language":"de","tag":"Funktionen","count":37},{"language":"de","tag":"Integrationen","count":37},{"language":"es","tag":"Funciones","count":37},{"language":"es","tag":"Integraciones","count":37},{"language":"fr","tag":"Fonctionnalités","count":37},{"language":"fr","tag":"Intégrations","count":37},{"language":"hi","tag":"सुविधाएँ","count":37},{"language":"hi","tag":"एकीकरण","count":37},{"language":"ja","tag":"機能","count":37},{"language":"ja","tag":"連携","count":37},{"language":"pt-BR","tag":"Recursos","count":37},{"language":"pt-BR","tag":"Integrações","count":37},{"language":"en","tag":"Features","count":37},{"language":"en","tag":"Integrations","count":37},{"language":"zh-Hans","tag":"功能","count":37},{"language":"zh-Hans","tag":"集成","count":37},{"language":"ar","tag":"دليل الوصفات","count":30},{"language":"de","tag":"Rezeptbuch","count":30},{"language":"es","tag":"Recetario","count":30},{"language":"fr","tag":"Recettes","count":30},{"language":"hi","tag":"कुकबुक","count":30},{"language":"ja","tag":"クックブック","count":30},{"language":"pt-BR","tag":"Receitas","count":30},{"language":"en","tag":"Cookbook","count":30},{"language":"zh-Hans","tag":"实用指南","count":30}],"searchSettings":{"maxResults":10,"showContentSnippets":true}},"assistantConfig":{},"basePath":"/docs","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[{"filePath":"styles.css","content":":root{--sidebar-width:17.5rem}#navbar div:has(>a>img.nav-logo){min-width:max-content}#navbar nav[class*=\"navbar:flex\"]{justify-content:safe center;overflow-x:auto;scrollbar-width:none}#navbar nav[class*=\"navbar:flex\"] li>:is(a, button){padding-inline:.6875rem}@media (max-width:1279px){#navbar nav[class*=\"navbar:flex\"] li>:is(a, button){padding-inline:.5rem;font-size:.8125rem}}#navbar :is([class*=\"rounded-full\"], #localization-select-trigger){border-radius:.375rem}@media (max-width:1399px){html:not([lang=en]) #navbar nav[class*=\"navbar:flex\"] li>:is(a, button)>svg[style*=mask-image]{display:none}}@media (max-width:1279px){#navbar nav[class*=\"navbar:flex\"] li>:is(a, button)>svg[style*=mask-image]{display:none}}@media (min-width:1280px){#content-area{--content-width:clamp(40.5rem, min(100vw - 41rem, 100vw - 2 * var(--sidebar-width) - 5rem), 56rem)}#content-container:has(>[data-api-example]) #content-area{--content-width:clamp(40.5rem, 100vw - var(--sidebar-width) - 35.5rem, 56rem);margin-inline:auto!important}}#footer{border-top-width:1px}#footer>div{max-width:none;padding-inline:2rem}@media (min-width:1800px){:root{--sidebar-width:24rem}#sidebar-content :is(a, button) .flex-wrap{flex-wrap:nowrap}#sidebar-content button>div:first-child{min-width:0}#sidebar-content .sidebar-group-header,#sidebar-content :is(a, button) div>span:first-child:not(.method-nav-pill,.nav-tag-pill){min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}}#page-title{font-size:1.875rem;line-height:2.25rem}#header .prose{font-size:1rem;line-height:1.625rem}#content.mdx-content{font-size:.9375rem;line-height:1.625rem}#content.mdx-content h2{font-size:1.25rem;line-height:1.75rem}#content.mdx-content h3{font-size:1.0625rem;line-height:1.5rem}#sidebar-content div[class~=\"lg:mt-8\"]{margin-top:1.25rem}:is(.sidebar-group-header, .eyebrow){text-transform:none}.ph-paths{border-top:1px solid rgb(0 0 0/.08)}.ph-paths>*{display:block;margin:0}.ph-paths a{display:grid;grid-template-columns:16rem 1fr;gap:.25rem 1.5rem;padding:.875rem .125rem;border-bottom:1px solid rgb(0 0 0/.08);color:rgb(107 114 128);font-size:.9375rem;line-height:1.5;text-decoration:none}.ph-paths a strong,.ph-sdks a{align-items:center;color:rgb(17 24 39)}.ph-paths a strong{display:flex;gap:.625rem;font-weight:600}.ph-paths a:hover strong,.ph-sdks a:hover{color:rgb(var(--primary))}.ph-sdks>*{display:flex;flex-wrap:wrap;gap:.75rem 1.75rem;margin:0}.ph-sdks a{display:inline-flex;gap:.5rem;font-weight:500;text-decoration:none}:is(html.dark, html[data-theme=\"dark\"]) :is(.ph-paths, .ph-paths a){border-color:rgb(255 255 255/.1)}:is(html.dark, html[data-theme=\"dark\"]) .ph-paths a{color:rgb(156 163 175)}:is(html.dark, html[data-theme=\"dark\"]) :is(.ph-paths a strong, .ph-sdks a){color:rgb(255 255 255)}:is(html.dark, html[data-theme=\"dark\"]) .ph-paths a:hover strong,:is(html.dark, html[data-theme=\"dark\"]) .ph-sdks a:hover{color:rgb(var(--primary-light))}@media (max-width:640px){.ph-paths a{grid-template-columns:1fr}}:is(html.dark, html[data-theme=\"dark\"]) img[src$=\"/icons/brands/cline.svg\"]{content:url(/icons/brands/cline-dark.svg)}:is(html.dark, html[data-theme=\"dark\"]) img[src$=\"/icons/brands/cursor.svg\"]{content:url(/icons/brands/cursor-dark.svg)}:is(html.dark, html[data-theme=\"dark\"]) img[src$=\"/icons/brands/kilo.svg\"]{content:url(/icons/brands/kilo-dark.svg)}:is(html.dark, html[data-theme=\"dark\"]) img[src$=\"/icons/brands/opencode.svg\"]{content:url(/icons/brands/opencode-dark.svg)}:is(html.dark, html[data-theme=\"dark\"]) img[src$=\"/icons/brands/prime-agent.svg\"]{content:url(/icons/brands/prime-agent-dark.svg)}:is(html.dark, html[data-theme=\"dark\"]) img[src$=\"/icons/brands/continue.svg\"]{content:url(/icons/brands/continue-dark.svg)}:is(html.dark, html[data-theme=\"dark\"]) img[src$=\"/icons/brands/oh-my-pi.svg\"]{content:url(/icons/brands/oh-my-pi-dark.svg)}:is(html.dark, html[data-theme=\"dark\"]) img[src$=\"/icons/brands/pi.svg\"]{content:url(/icons/brands/pi-dark.svg)}:is(html.dark, html[data-theme=\"dark\"]) img[src$=\"/icons/brands/roo-code.svg\"],:is(html.dark, html[data-theme=\"dark\"]) img[src$=\"/icons/brands/zed.svg\"]{filter:invert(1)}html[lang=ar] :is(#content-area, #sidebar-content, #table-of-contents-content){direction:rtl}html[lang=ar] #content-area :is(pre, code){direction:ltr;unicode-bidi:isolate}html[lang=ar] #content-area .prose li:not(.not-prose li){padding-left:6px;padding-right:32px}html[lang=ar] #content-area .prose li:not(.not-prose li)::before{left:auto;right:8px}.changelog-filters{position:sticky;top:3rem;z-index:20;display:flex;align-items:center;gap:.5rem;margin:0 0 1rem;padding:.75rem 0;overflow-x:auto;scrollbar-width:none;background:#fff;border-bottom:1px solid rgb(0 0 0/.08)}.dark .changelog-filters{background:#0a0a0a;border-bottom-color:rgb(255 255 255/.08)}.changelog-filters button{flex:none;white-space:nowrap;border:1px solid rgb(0 0 0/.12);border-radius:.375rem;padding:.25rem .75rem;font-size:.875rem;line-height:1.25rem;color:inherit;background:0 0;cursor:pointer}.dark .changelog-filters button{border-color:rgb(255 255 255/.15)}.changelog-filters button[aria-pressed=true]{border-color:#0069a8;background:#0069a8;color:#fff}.changelog-filters .changelog-filters-clear{border-color:transparent;padding-inline:.5rem;opacity:.7}.changelog-category{margin:1.25rem 0 .25rem;font-size:.8125rem;font-weight:600;opacity:.65}[data-changelog-category]:first-child .changelog-category{margin-top:0}.update.changelog-update-hidden{display:none}.ph-rc{--rc-tokens:#0069a8;--rc-waiting:#eb6834;--rc-failures:#1baf7a;--rc-ink:#0b0b0b;--rc-ink-2:#52514e;--rc-muted:#898781;--rc-grid:#e1e0d9;--rc-base:#c3c2b7;--rc-band:rgba(0, 105, 168, 0.07);--rc-band-edge:rgba(0, 105, 168, 0.28);--rc-surface:#ffffff;--rc-raised:#f6f6f4;--rc-ring:rgba(11, 11, 11, 0.1);margin:1.25rem 0;font-size:.8125rem;color:var(--rc-ink)}.dark .ph-rc{--rc-tokens:#2a9fd6;--rc-waiting:#d95926;--rc-failures:#199e70;--rc-ink:#f0efec;--rc-ink-2:#c3c2b7;--rc-muted:#898781;--rc-grid:#2c2c2a;--rc-base:#383835;--rc-band:rgba(42, 159, 214, 0.09);--rc-band-edge:rgba(42, 159, 214, 0.35);--rc-surface:#0a0a0a;--rc-raised:#161616;--rc-ring:rgba(255, 255, 255, 0.1)}.ph-rc-tabs{display:flex;flex-wrap:wrap;gap:.25rem;margin-bottom:.75rem}.ph-rc-tabs button{background:0 0;color:var(--rc-ink-2);padding:.3rem .65rem;font:inherit;cursor:pointer}.ph-rc-tabs button:hover{color:var(--rc-ink);background:var(--rc-raised)}.ph-rc-tabs .ph-rc-tab-on{border-color:var(--rc-tokens);background:var(--rc-raised)}.ph-rc-formula,.ph-rc-mix{color:var(--rc-ink-2);margin-bottom:.5rem}.ph-rc-formula,.ph-rc-tabs button{border:1px solid var(--rc-ring);border-radius:.375rem}.ph-rc-formula{display:flex;flex-wrap:wrap;align-items:center;gap:.35rem .45rem;margin-bottom:.6rem;padding:.55rem .75rem}.ph-rc-formula strong,.ph-rc-tabs .ph-rc-tab-on{color:var(--rc-ink);font-weight:600}.ph-rc-legend span,.ph-rc-term{display:inline-flex;align-items:center}.ph-rc-term{gap:.35rem;color:var(--rc-ink)}.ph-rc-legend{display:flex;flex-wrap:wrap;gap:.35rem 1rem;color:var(--rc-ink-2);margin-bottom:.75rem}.ph-rc-legend span{gap:.4rem}.ph-rc-swatch{display:inline-block;width:.7rem;height:.7rem;border-radius:3px;flex:none}.ph-rc-tokens{background:var(--rc-tokens)}.ph-rc-waiting{background:var(--rc-waiting)}.ph-rc-failures{background:var(--rc-failures)}.ph-rc-band-swatch{background:var(--rc-band);box-shadow:inset 0 0 0 1px var(--rc-band-edge)}.ph-rc-head,.ph-rc-row{display:grid;grid-template-columns:minmax(8rem,13rem) 1fr 6.5rem;gap:.75rem;align-items:center;border-bottom:1px solid var(--rc-grid)}.ph-rc-head{color:var(--rc-muted);font-size:.75rem;padding-bottom:.35rem}.ph-rc-row{padding:.55rem 0}.ph-rc-you{background:var(--rc-raised);box-shadow:-.5rem 0 0 var(--rc-raised),.5rem 0 0 var(--rc-raised)}.ph-rc-name{display:flex;flex-direction:column;align-items:flex-start;min-width:0}.ph-rc-name strong{font-weight:600}.ph-rc-name span{color:var(--rc-muted);font-size:.7rem;line-height:1.3;direction:ltr;unicode-bidi:isolate}.ph-rc-track{position:relative;height:1.5rem;width:calc(100% - 3.75rem)}.ph-rc-controls input[type=range],.ph-rc-curve,.ph-rc-sharebar,.ph-rc-track{direction:ltr}.ph-rc-band{position:absolute;top:-.55rem;bottom:-.55rem;background:var(--rc-band);border-left:1px dashed var(--rc-band-edge);border-right:1px dashed var(--rc-band-edge)}.ph-rc-bar{position:absolute;inset:.3rem 0;display:flex;align-items:center}.ph-rc-seg{height:.9rem;margin-right:2px;flex:none;min-width:2px}.ph-rc-seg:first-child{border-radius:4px 0 0 4px}.ph-rc-seg:nth-last-child(2){border-radius:0 4px 4px 0;margin-right:.4rem}.ph-rc-tip b,.ph-rc-total{font-variant-numeric:tabular-nums}.ph-rc-total{color:var(--rc-ink-2);white-space:nowrap;font-size:.75rem}.ph-rc-tip{position:absolute;top:1.7rem;transform:translateX(-50%);z-index:5;min-width:12rem;background:var(--rc-surface);color:var(--rc-ink);border:1px solid var(--rc-ring);border-radius:.375rem;padding:.5rem .65rem;box-shadow:0 6px 20px rgba(0,0,0,.12);pointer-events:none}.ph-rc-tip-left{transform:translateX(-100%)}.ph-rc-tip>div{display:flex;align-items:center;gap:.4rem;color:var(--rc-ink-2);margin-top:.2rem}.ph-rc-tip b{margin-left:auto;color:var(--rc-ink)}.ph-rc-tip .ph-rc-tip-on{color:var(--rc-ink);font-weight:600}.ph-rc-tip-sum{border-top:1px solid var(--rc-grid);padding-top:.3rem}.ph-rc-share{display:flex;flex-direction:column;gap:.25rem}.ph-rc-controls b,.ph-rc-num{font-variant-numeric:tabular-nums}.ph-rc-num{text-align:right;direction:ltr;unicode-bidi:isolate}.ph-rc-share .ph-rc-num{font-weight:600;font-size:.875rem}.ph-rc-sharebar{height:.35rem;border-radius:2px;background:var(--rc-grid);overflow:hidden}.ph-rc-sharebar div{height:100%;background:var(--rc-tokens);border-radius:2px}.ph-rc-axis{color:var(--rc-muted);font-size:.72rem;margin-top:.5rem}.ph-rc-play{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;margin-bottom:1.25rem}.ph-rc-controls{display:flex;flex-direction:column;gap:.6rem}.ph-rc-controls label,.ph-rc-summary{display:flex;flex-direction:column;gap:.2rem}.ph-rc-controls label span{color:var(--rc-ink-2)}.ph-rc-controls b{color:var(--rc-ink);font-weight:600}.ph-rc-controls input[type=range]{width:100%;accent-color:var(--rc-tokens)}.ph-rc-summary{gap:.5rem}.ph-rc-controls label span,.ph-rc-hero{display:flex;justify-content:space-between}.ph-rc-hero{align-items:baseline}.ph-rc-hero span{color:var(--rc-ink-2)}.ph-rc-hero strong{font-size:2rem;font-weight:600;line-height:1}.ph-rc-curve{width:100%;height:auto;overflow:visible}.ph-rc-band-fill{fill:var(--rc-band)}.ph-rc-baseline{stroke:var(--rc-base);stroke-width:1}.ph-rc-tick{fill:var(--rc-muted);font-size:10px}.ph-rc-line{fill:none;stroke:var(--rc-ink-2);stroke-width:2}.ph-rc-dot-other,.ph-rc-dot-you{fill:var(--rc-muted);stroke:var(--rc-surface);stroke-width:2}.ph-rc-dot-you{fill:var(--rc-tokens)}.ph-rc-dot-label{fill:var(--rc-ink);font-size:11px;font-weight:600}.ph-rc-caption{color:var(--rc-muted);font-size:.72rem;margin-top:-.25rem}.ph-rc-levers{border-top:1px solid var(--rc-grid);padding-top:.5rem}.ph-rc-levers-title{color:var(--rc-muted);font-size:.72rem;margin-bottom:.25rem}.ph-rc-levers>div:not(.ph-rc-levers-title){display:flex;justify-content:space-between;padding:.15rem 0;color:var(--rc-ink-2)}.ph-rc-levers b{color:var(--rc-ink);font-variant-numeric:tabular-nums}@media (max-width:640px){.ph-rc-play{grid-template-columns:1fr}.ph-rc-head,.ph-rc-row{grid-template-columns:1fr 4.5rem}.ph-rc-head>span:nth-child(2){display:none}.ph-rc-track{grid-column:1/-1;grid-row:2}}"}],"page":{"pagePath":"hi/v1/api-reference/endpoint/spend-rules-create","slug":"/hi/v1/api-reference/endpoint/spend-rules-create","pageMetadata":{"title":"खर्च नियम बनाएँ","sidebarTitle":"नियम बनाएँ","badge":"Beta","openapi":"hi/openapi/v1/openapi.localized.yaml POST /spend-rules","description":"खर्च अलर्ट बनाता है, चाहें तो ऐसा अलर्ट जो सीमा पार होने पर अनुरोधों को ब्लॉक करे।","href":"/hi/v1/api-reference/endpoint/spend-rules-create"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"खर्च अलर्ट बनाता है, चाहें तो ऐसा अलर्ट जो सीमा पार होने पर अनुरोधों को ब्लॉक करे।\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,..._provideComponents(),...props.components};return _jsxs(_components.p,{children:[_jsx(_components.code,{children:`spend_rules:write`}),` आवश्यक है। OAuth कॉलर का वर्कस्पेस का मालिक या एडमिन होना ज़रूरी है। हर राशि USD (`,_jsx(_components.code,{children:`*_usd`}),`) या नैनोडॉलर (`,_jsx(_components.code,{children:`*_nanos`}),`) में से किसी एक में भेजें, दोनों में नहीं। एक वर्कस्पेस में 50 खर्च नियम हो सकते हैं। मीट्रिक, आधार, दायरे और अवधियों के लिए `,_jsx(_components.a,{href:`/hi/v1/guides/spend-alerts`,children:`खर्च अलर्ट गाइड`}),` देखें।`]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"खर्च नियम बनाएँ","sidebarTitle":"नियम बनाएँ","badge":"Beta","openapi":"hi/openapi/v1/openapi.localized.yaml POST /spend-rules","description":"खर्च अलर्ट बनाता है, चाहें तो ऐसा अलर्ट जो सीमा पार होने पर अनुरोधों को ब्लॉक करे।","href":"/hi/v1/api-reference/endpoint/spend-rules-create"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"x-beta":true,"tags":["Gateway"],"operationId":"createSpendRule","summary":"खर्च नियम बनाएँ","description":"खर्च अलर्ट बनाता है, चाहें तो ऐसा अलर्ट जो सीमा पार होने पर अनुरोधों को ब्लॉक करे।","requestBody":"e7a5d586-162d-48f2-9959-fc123d99a7ee","responses":{"201":"78308e93-3769-4f86-9001-412188130777","default":"5afb0e15-df2d-4962-8333-e84236fde091"},"method":"post","type":"path","servers":["6778ec89-5442-4936-b3cf-343ab3aaea09"],"security":["21dbe0b9-b08e-4e17-80c3-a7a9af20aa83"],"path":"/spend-rules","baseUrlOptions":["https://api.phaseo.app/v1"],"title":"खर्च नियम बनाएँ","codeSamples":[],"requestExampleLanguages":["javascript","python","bash","go","java","php","ruby"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated","prefillPlaygroundWithExample":true,"prefillPlaygroundExamples":[{"body.name":"\u003cstring>","body.enabled":true,"body.scope_id.oneOf.0":"\u003cstring>","body.window_hours.oneOf.0":360,"body.time_zone.oneOf.0":"\u003cstring>","body.base_amount_usd.oneOf.0":123,"body.base_amount_nanos.oneOf.0":123,"body.threshold_percents.oneOf.0.items.0":500,"body.threshold_amount_usd.oneOf.0":123,"body.threshold_amount_nanos.oneOf.0":123,"body.runway_days.oneOf.0":183,"body.spike_multiplier.oneOf.0":123,"body.spike_floor_usd.oneOf.0":123,"body.spike_floor_nanos.oneOf.0":123,"body.block_at_percent":550,"body.block_at_amount_usd.oneOf.0":123,"body.block_at_amount_nanos.oneOf.0":123,"body.block_free_models":true,"body.cooldown_minutes":21602,"body.destination_ids.items.0":"3c90c3cc-0d44-4b50-8888-8dd25736052a"}]},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"बनाया जाने वाला खर्च नियम। name, metric और period ज़रूरी हैं। spike नियमों में डिफ़ॉल्ट रूप से 3x गुणक और $5 की न्यूनतम सीमा होती है।","minProperties":1,"required":["name","metric","period"],"properties":{"name":{"type":"string","minLength":1,"maxLength":100,"isRequired":true,"uniqueKey":"name","typeLabel":"string"},"metric":{"type":"string","description":"spend: खर्च threshold_amount तक पहुँचा। budget_percent: खर्च आधार के threshold_percents तक पहुँचा। forecast: अवधि के अंत तक अनुमानित खर्च सीमा तक पहुँचता है। spike: पिछले window_hours का खर्च पिछले 7 दिनों में उसी विंडो के माध्यिका (median) का कम से कम spike_multiplier गुना है, और कम से कम spike_floor। balance: वर्कस्पेस का बैलेंस या रनवे सीमा से नीचे जाता है।","enum":["spend","budget_percent","forecast","spike","balance"],"isRequired":true,"uniqueKey":"metric","typeLabel":"enum\u003cstring>"},"period":{"type":"string","description":"नियम के समय क्षेत्र में day, week (सोमवार से) या month, या पिछले window_hours पर rolling।","enum":["day","week","month","rolling"],"isRequired":true,"uniqueKey":"period","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","uniqueKey":"enabled","typeLabel":"boolean"},"scope_type":{"type":"string","enum":["workspace","key","member","department","model","provider"],"uniqueKey":"scope_type","typeLabel":"enum\u003cstring>"},"scope_id":{"oneOf":[{"type":"string","maxLength":200,"description":"वर्कस्पेस दायरे के लिए null; अन्यथा कुंजी ID, सदस्य का उपयोगकर्ता ID, विभाग ID, मॉडल ID या प्रदाता ID।","uniqueKey":"scope_id.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":200,"description":"वर्कस्पेस दायरे के लिए null; अन्यथा कुंजी ID, सदस्य का उपयोगकर्ता ID, विभाग ID, मॉडल ID या प्रदाता ID।","uniqueKey":"scope_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"scope_id","typeLabel":"string | null"},"window_hours":{"oneOf":[{"type":"integer","minimum":1,"maximum":720,"description":"rolling विंडो के घंटे: spike नियमों के लिए स्पाइक विंडो (अधिकतम 56, ताकि पिछले 7 दिनों में 3 विंडो आ सकें) और balance नियमों के लिए खर्च दर की अवधि। कैलेंडर अवधियों के लिए null।","uniqueKey":"window_hours.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":1,"maximum":720,"description":"rolling विंडो के घंटे: spike नियमों के लिए स्पाइक विंडो (अधिकतम 56, ताकि पिछले 7 दिनों में 3 विंडो आ सकें) और balance नियमों के लिए खर्च दर की अवधि। कैलेंडर अवधियों के लिए null।","uniqueKey":"window_hours.oneOf.1","typeLabel":"null"}],"uniqueKey":"window_hours","typeLabel":"integer | null"},"time_zone":{"oneOf":[{"type":"string","maxLength":64,"description":"कैलेंडर अवधियों के लिए IANA समय क्षेत्र। null होने पर वर्कस्पेस का बिलिंग समय क्षेत्र इस्तेमाल होता है।","uniqueKey":"time_zone.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":64,"description":"कैलेंडर अवधियों के लिए IANA समय क्षेत्र। null होने पर वर्कस्पेस का बिलिंग समय क्षेत्र इस्तेमाल होता है।","uniqueKey":"time_zone.oneOf.1","typeLabel":"null"}],"uniqueKey":"time_zone","typeLabel":"string | null"},"base_kind":{"oneOf":[{"type":"string","enum":["amount","workspace_budget","key_limit","previous_period"],"description":"threshold_percents किसके प्रतिशत हैं: amount (base_amount), workspace_budget या key_limit (base_ref अंतराल, जो अवधि से मेल खाना चाहिए), या previous_period।","uniqueKey":"base_kind.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["amount","workspace_budget","key_limit","previous_period"],"description":"threshold_percents किसके प्रतिशत हैं: amount (base_amount), workspace_budget या key_limit (base_ref अंतराल, जो अवधि से मेल खाना चाहिए), या previous_period।","uniqueKey":"base_kind.oneOf.1","typeLabel":"null"}],"uniqueKey":"base_kind","typeLabel":"enum\u003cstring> | null"},"base_ref":{"oneOf":[{"type":"string","enum":["daily","weekly","monthly"],"uniqueKey":"base_ref.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["daily","weekly","monthly"],"uniqueKey":"base_ref.oneOf.1","typeLabel":"null"}],"uniqueKey":"base_ref","typeLabel":"enum\u003cstring> | null"},"base_amount_usd":{"oneOf":[{"type":"number","uniqueKey":"base_amount_usd.oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"base_amount_usd.oneOf.1","typeLabel":"null"}],"uniqueKey":"base_amount_usd","typeLabel":"number | null"},"base_amount_nanos":{"oneOf":[{"type":"integer","format":"int64","uniqueKey":"base_amount_nanos.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"null","format":"int64","uniqueKey":"base_amount_nanos.oneOf.1","typeLabel":"null"}],"uniqueKey":"base_amount_nanos","typeLabel":"integer\u003cint64> | null"},"threshold_percents":{"oneOf":[{"type":"array","items":{"type":"integer","minimum":1,"maximum":1000,"uniqueKey":"threshold_percents.oneOf.0.items.[INDEX]","typeLabel":"integer"},"minItems":1,"maxItems":5,"description":"आधार के अधिकतम पाँच पूर्ण प्रतिशत, क्रम में। हर एक प्रति अवधि अधिकतम एक बार ट्रिगर होता है; एक साथ कई पार होने पर सबसे ऊँचे का नाम लेकर एक अलर्ट भेजा जाता है।","uniqueKey":"threshold_percents.oneOf.0","typeLabel":"integer[]"},{"type":"null","items":{"type":"integer","minimum":1,"maximum":1000},"minItems":1,"maxItems":5,"description":"आधार के अधिकतम पाँच पूर्ण प्रतिशत, क्रम में। हर एक प्रति अवधि अधिकतम एक बार ट्रिगर होता है; एक साथ कई पार होने पर सबसे ऊँचे का नाम लेकर एक अलर्ट भेजा जाता है।","uniqueKey":"threshold_percents.oneOf.1","typeLabel":"null"}],"uniqueKey":"threshold_percents","typeLabel":"integer[] | null"},"threshold_amount_usd":{"oneOf":[{"type":"number","uniqueKey":"threshold_amount_usd.oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"threshold_amount_usd.oneOf.1","typeLabel":"null"}],"uniqueKey":"threshold_amount_usd","typeLabel":"number | null"},"threshold_amount_nanos":{"oneOf":[{"type":"integer","format":"int64","uniqueKey":"threshold_amount_nanos.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"null","format":"int64","uniqueKey":"threshold_amount_nanos.oneOf.1","typeLabel":"null"}],"uniqueKey":"threshold_amount_nanos","typeLabel":"integer\u003cint64> | null"},"runway_days":{"oneOf":[{"type":"integer","minimum":1,"maximum":365,"uniqueKey":"runway_days.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":1,"maximum":365,"uniqueKey":"runway_days.oneOf.1","typeLabel":"null"}],"uniqueKey":"runway_days","typeLabel":"integer | null"},"spike_multiplier":{"oneOf":[{"type":"number","uniqueKey":"spike_multiplier.oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"spike_multiplier.oneOf.1","typeLabel":"null"}],"uniqueKey":"spike_multiplier","typeLabel":"number | null"},"spike_floor_usd":{"oneOf":[{"type":"number","uniqueKey":"spike_floor_usd.oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"spike_floor_usd.oneOf.1","typeLabel":"null"}],"uniqueKey":"spike_floor_usd","typeLabel":"number | null"},"spike_floor_nanos":{"oneOf":[{"type":"integer","format":"int64","uniqueKey":"spike_floor_nanos.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"null","format":"int64","uniqueKey":"spike_floor_nanos.oneOf.1","typeLabel":"null"}],"uniqueKey":"spike_floor_nanos","typeLabel":"integer\u003cint64> | null"},"action":{"type":"string","description":"notify, या सूचना देकर फिर ब्लॉक करें जब खर्च आधार के block_at_percent या block_at_amount तक पहुँचे। ब्लॉक करना सर्वोत्तम प्रयास पर आधारित है और सीमा के कुछ मिनट बाद लागू होता है। जब तक गेटवे पर ब्लॉक करना बंद है, ब्लॉक करना शुरू करने वाला नियम 400 के साथ अस्वीकार किया जाता है, और पहले से ब्लॉक करने वाला नियम केवल सूचना देता है।","enum":["notify","block"],"uniqueKey":"action","typeLabel":"enum\u003cstring>"},"block_at_percent":{"type":"integer","minimum":100,"maximum":1000,"uniqueKey":"block_at_percent","typeLabel":"integer"},"block_at_amount_usd":{"oneOf":[{"type":"number","uniqueKey":"block_at_amount_usd.oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"block_at_amount_usd.oneOf.1","typeLabel":"null"}],"uniqueKey":"block_at_amount_usd","typeLabel":"number | null"},"block_at_amount_nanos":{"oneOf":[{"type":"integer","format":"int64","uniqueKey":"block_at_amount_nanos.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"null","format":"int64","uniqueKey":"block_at_amount_nanos.oneOf.1","typeLabel":"null"}],"uniqueKey":"block_at_amount_nanos","typeLabel":"integer\u003cint64> | null"},"block_free_models":{"type":"boolean","description":"क्या ब्लॉक मुफ़्त मॉडल के अनुरोध भी रोकता है।","uniqueKey":"block_free_models","typeLabel":"boolean"},"cooldown_minutes":{"type":"integer","minimum":5,"maximum":43200,"description":"rolling, spike और balance नियमों के लिए अलर्ट के बीच न्यूनतम मिनट।","uniqueKey":"cooldown_minutes","typeLabel":"integer"},"destination_ids":{"type":"array","items":{"type":"string","format":"uuid","uniqueKey":"destination_ids.items.[INDEX]","typeLabel":"string\u003cuuid>"},"maxItems":50,"description":"इस नियम के अलर्ट के सूचना गंतव्य। खाली होने का मतलब वर्कस्पेस का Spend Alerts रूट है।","uniqueKey":"destination_ids","typeLabel":"string\u003cuuid>[]"}},"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"name":"\u003cstring>","enabled":true,"scope_id":"\u003cstring>","window_hours":360,"time_zone":"\u003cstring>","base_amount_usd":123,"base_amount_nanos":123,"threshold_percents":[500],"threshold_amount_usd":123,"threshold_amount_nanos":123,"runway_days":183,"spike_multiplier":123,"spike_floor_usd":123,"spike_floor_nanos":123,"block_at_percent":550,"block_at_amount_usd":123,"block_at_amount_nanos":123,"block_free_models":true,"cooldown_minutes":21602,"destination_ids":["3c90c3cc-0d44-4b50-8888-8dd25736052a"]}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"78308e93-3769-4f86-9001-412188130777":{"description":"खर्च नियम बनाया गया","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"type":"object","description":"एक खर्च नियम: किसी दायरे और अवधि में डॉलर या प्रतिशत की सीमाएँ जो सूचना देती हैं, या सूचना देकर फिर ब्लॉक करती हैं। राशियाँ नैनोडॉलर और USD दोनों में लौटाई जाती हैं।","required":["id","workspace_id","name","enabled","metric","evaluated","scope_type","scope_id","period","window_hours","time_zone","base_kind","base_ref","base_amount_nanos","base_amount_usd","threshold_percents","threshold_amount_nanos","threshold_amount_usd","runway_days","spike_multiplier","spike_floor_nanos","spike_floor_usd","action","block_at_percent","block_at_amount_nanos","block_at_amount_usd","block_free_models","cooldown_minutes","destination_ids","created_by","created_at","updated_at"],"properties":{"id":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"data.id","typeLabel":"string\u003cuuid>"},"workspace_id":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"data.workspace_id","typeLabel":"string\u003cuuid>"},"name":{"type":"string","minLength":1,"maxLength":100,"isRequired":true,"uniqueKey":"data.name","typeLabel":"string"},"enabled":{"type":"boolean","isRequired":true,"uniqueKey":"data.enabled","typeLabel":"boolean"},"metric":{"type":"string","description":"spend: खर्च threshold_amount तक पहुँचा। budget_percent: खर्च आधार के threshold_percents तक पहुँचा। forecast: अवधि के अंत तक अनुमानित खर्च सीमा तक पहुँचता है। spike: पिछले window_hours का खर्च पिछले 7 दिनों में उसी विंडो के माध्यिका (median) का कम से कम spike_multiplier गुना है, और कम से कम spike_floor। balance: वर्कस्पेस का बैलेंस या रनवे सीमा से नीचे जाता है।","enum":["spend","budget_percent","forecast","spike","balance"],"isRequired":true,"uniqueKey":"data.metric","typeLabel":"enum\u003cstring>"},"evaluated":{"type":"boolean","description":"क्या मूल्यांकन नियम के मेट्रिक, अवधि और आधार को संभालता है। API जिन नियमों को स्वीकार करता है, उन सभी का मूल्यांकन होता है।","isRequired":true,"uniqueKey":"data.evaluated","typeLabel":"boolean"},"scope_type":{"type":"string","enum":["workspace","key","member","department","model","provider"],"isRequired":true,"uniqueKey":"data.scope_type","typeLabel":"enum\u003cstring>"},"scope_id":{"oneOf":[{"type":"string","maxLength":200,"description":"वर्कस्पेस दायरे के लिए null; अन्यथा कुंजी ID, सदस्य का उपयोगकर्ता ID, विभाग ID, मॉडल ID या प्रदाता ID।","isRequired":true,"uniqueKey":"data.scope_id.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":200,"description":"वर्कस्पेस दायरे के लिए null; अन्यथा कुंजी ID, सदस्य का उपयोगकर्ता ID, विभाग ID, मॉडल ID या प्रदाता ID।","isRequired":true,"uniqueKey":"data.scope_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.scope_id","typeLabel":"string | null"},"period":{"type":"string","description":"नियम के समय क्षेत्र में day, week (सोमवार से) या month, या पिछले window_hours पर rolling।","enum":["day","week","month","rolling"],"isRequired":true,"uniqueKey":"data.period","typeLabel":"enum\u003cstring>"},"window_hours":{"oneOf":[{"type":"integer","minimum":1,"maximum":720,"description":"rolling विंडो के घंटे: spike नियमों के लिए स्पाइक विंडो (अधिकतम 56, ताकि पिछले 7 दिनों में 3 विंडो आ सकें) और balance नियमों के लिए खर्च दर की अवधि। कैलेंडर अवधियों के लिए null।","isRequired":true,"uniqueKey":"data.window_hours.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":1,"maximum":720,"description":"rolling विंडो के घंटे: spike नियमों के लिए स्पाइक विंडो (अधिकतम 56, ताकि पिछले 7 दिनों में 3 विंडो आ सकें) और balance नियमों के लिए खर्च दर की अवधि। कैलेंडर अवधियों के लिए null।","isRequired":true,"uniqueKey":"data.window_hours.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.window_hours","typeLabel":"integer | null"},"time_zone":{"oneOf":[{"type":"string","maxLength":64,"description":"कैलेंडर अवधियों के लिए IANA समय क्षेत्र। null होने पर वर्कस्पेस का बिलिंग समय क्षेत्र इस्तेमाल होता है।","isRequired":true,"uniqueKey":"data.time_zone.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":64,"description":"कैलेंडर अवधियों के लिए IANA समय क्षेत्र। null होने पर वर्कस्पेस का बिलिंग समय क्षेत्र इस्तेमाल होता है।","isRequired":true,"uniqueKey":"data.time_zone.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.time_zone","typeLabel":"string | null"},"base_kind":{"oneOf":[{"type":"string","enum":["amount","workspace_budget","key_limit","previous_period"],"description":"threshold_percents किसके प्रतिशत हैं: amount (base_amount), workspace_budget या key_limit (base_ref अंतराल, जो अवधि से मेल खाना चाहिए), या previous_period।","isRequired":true,"uniqueKey":"data.base_kind.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["amount","workspace_budget","key_limit","previous_period"],"description":"threshold_percents किसके प्रतिशत हैं: amount (base_amount), workspace_budget या key_limit (base_ref अंतराल, जो अवधि से मेल खाना चाहिए), या previous_period।","isRequired":true,"uniqueKey":"data.base_kind.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.base_kind","typeLabel":"enum\u003cstring> | null"},"base_ref":{"oneOf":[{"type":"string","enum":["daily","weekly","monthly"],"isRequired":true,"uniqueKey":"data.base_ref.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["daily","weekly","monthly"],"isRequired":true,"uniqueKey":"data.base_ref.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.base_ref","typeLabel":"enum\u003cstring> | null"},"base_amount_nanos":{"oneOf":[{"type":"integer","format":"int64","isRequired":true,"uniqueKey":"data.base_amount_nanos.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"null","format":"int64","isRequired":true,"uniqueKey":"data.base_amount_nanos.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.base_amount_nanos","typeLabel":"integer\u003cint64> | null"},"base_amount_usd":{"oneOf":[{"type":"number","isRequired":true,"uniqueKey":"data.base_amount_usd.oneOf.0","typeLabel":"number"},{"type":"null","isRequired":true,"uniqueKey":"data.base_amount_usd.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.base_amount_usd","typeLabel":"number | null"},"threshold_percents":{"oneOf":[{"type":"array","items":{"type":"integer","minimum":1,"maximum":1000,"uniqueKey":"data.threshold_percents.oneOf.0.items.[INDEX]","typeLabel":"integer"},"minItems":1,"maxItems":5,"description":"आधार के अधिकतम पाँच पूर्ण प्रतिशत, क्रम में। हर एक प्रति अवधि अधिकतम एक बार ट्रिगर होता है; एक साथ कई पार होने पर सबसे ऊँचे का नाम लेकर एक अलर्ट भेजा जाता है।","isRequired":true,"uniqueKey":"data.threshold_percents.oneOf.0","typeLabel":"integer[]"},{"type":"null","items":{"type":"integer","minimum":1,"maximum":1000},"minItems":1,"maxItems":5,"description":"आधार के अधिकतम पाँच पूर्ण प्रतिशत, क्रम में। हर एक प्रति अवधि अधिकतम एक बार ट्रिगर होता है; एक साथ कई पार होने पर सबसे ऊँचे का नाम लेकर एक अलर्ट भेजा जाता है।","isRequired":true,"uniqueKey":"data.threshold_percents.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.threshold_percents","typeLabel":"integer[] | null"},"threshold_amount_nanos":{"oneOf":[{"type":"integer","format":"int64","isRequired":true,"uniqueKey":"data.threshold_amount_nanos.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"null","format":"int64","isRequired":true,"uniqueKey":"data.threshold_amount_nanos.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.threshold_amount_nanos","typeLabel":"integer\u003cint64> | null"},"threshold_amount_usd":{"oneOf":[{"type":"number","isRequired":true,"uniqueKey":"data.threshold_amount_usd.oneOf.0","typeLabel":"number"},{"type":"null","isRequired":true,"uniqueKey":"data.threshold_amount_usd.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.threshold_amount_usd","typeLabel":"number | null"},"runway_days":{"oneOf":[{"type":"integer","minimum":1,"maximum":365,"isRequired":true,"uniqueKey":"data.runway_days.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":1,"maximum":365,"isRequired":true,"uniqueKey":"data.runway_days.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.runway_days","typeLabel":"integer | null"},"spike_multiplier":{"oneOf":[{"type":"number","isRequired":true,"uniqueKey":"data.spike_multiplier.oneOf.0","typeLabel":"number"},{"type":"null","isRequired":true,"uniqueKey":"data.spike_multiplier.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.spike_multiplier","typeLabel":"number | null"},"spike_floor_nanos":{"oneOf":[{"type":"integer","format":"int64","isRequired":true,"uniqueKey":"data.spike_floor_nanos.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"null","format":"int64","isRequired":true,"uniqueKey":"data.spike_floor_nanos.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.spike_floor_nanos","typeLabel":"integer\u003cint64> | null"},"spike_floor_usd":{"oneOf":[{"type":"number","isRequired":true,"uniqueKey":"data.spike_floor_usd.oneOf.0","typeLabel":"number"},{"type":"null","isRequired":true,"uniqueKey":"data.spike_floor_usd.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.spike_floor_usd","typeLabel":"number | null"},"action":{"type":"string","description":"notify, या सूचना देकर फिर ब्लॉक करें जब खर्च आधार के block_at_percent या block_at_amount तक पहुँचे। ब्लॉक करना सर्वोत्तम प्रयास पर आधारित है और सीमा के कुछ मिनट बाद लागू होता है। जब तक गेटवे पर ब्लॉक करना बंद है, ब्लॉक करना शुरू करने वाला नियम 400 के साथ अस्वीकार किया जाता है, और पहले से ब्लॉक करने वाला नियम केवल सूचना देता है।","enum":["notify","block"],"isRequired":true,"uniqueKey":"data.action","typeLabel":"enum\u003cstring>"},"block_at_percent":{"type":"integer","minimum":100,"maximum":1000,"isRequired":true,"uniqueKey":"data.block_at_percent","typeLabel":"integer"},"block_at_amount_nanos":{"oneOf":[{"type":"integer","format":"int64","isRequired":true,"uniqueKey":"data.block_at_amount_nanos.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"null","format":"int64","isRequired":true,"uniqueKey":"data.block_at_amount_nanos.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.block_at_amount_nanos","typeLabel":"integer\u003cint64> | null"},"block_at_amount_usd":{"oneOf":[{"type":"number","isRequired":true,"uniqueKey":"data.block_at_amount_usd.oneOf.0","typeLabel":"number"},{"type":"null","isRequired":true,"uniqueKey":"data.block_at_amount_usd.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.block_at_amount_usd","typeLabel":"number | null"},"block_free_models":{"type":"boolean","description":"क्या ब्लॉक मुफ़्त मॉडल के अनुरोध भी रोकता है।","isRequired":true,"uniqueKey":"data.block_free_models","typeLabel":"boolean"},"cooldown_minutes":{"type":"integer","minimum":5,"maximum":43200,"description":"rolling, spike और balance नियमों के लिए अलर्ट के बीच न्यूनतम मिनट।","isRequired":true,"uniqueKey":"data.cooldown_minutes","typeLabel":"integer"},"destination_ids":{"type":"array","items":{"type":"string","format":"uuid","uniqueKey":"data.destination_ids.items.[INDEX]","typeLabel":"string\u003cuuid>"},"maxItems":50,"description":"इस नियम के अलर्ट के सूचना गंतव्य। खाली होने का मतलब वर्कस्पेस का Spend Alerts रूट है।","isRequired":true,"uniqueKey":"data.destination_ids","typeLabel":"string\u003cuuid>[]"},"created_by":{"oneOf":[{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"data.created_by.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","isRequired":true,"uniqueKey":"data.created_by.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.created_by","typeLabel":"string\u003cuuid> | null"},"created_at":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"data.created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"data.updated_at","typeLabel":"string\u003cdate-time>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"data","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"data":{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","workspace_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","name":"\u003cstring>","enabled":true,"metric":"spend","evaluated":true,"scope_type":"workspace","scope_id":"\u003cstring>","period":"day","window_hours":360,"time_zone":"\u003cstring>","base_kind":"amount","base_ref":"daily","base_amount_nanos":123,"base_amount_usd":123,"threshold_percents":[500],"threshold_amount_nanos":123,"threshold_amount_usd":123,"runway_days":183,"spike_multiplier":123,"spike_floor_nanos":123,"spike_floor_usd":123,"action":"notify","block_at_percent":550,"block_at_amount_nanos":123,"block_at_amount_usd":123,"block_free_models":true,"cooldown_minutes":21602,"destination_ids":["3c90c3cc-0d44-4b50-8888-8dd25736052a"],"created_by":"3c90c3cc-0d44-4b50-8888-8dd25736052a","created_at":"2023-11-07T05:31:56Z","updated_at":"2023-11-07T05:31:56Z"}}}},"exampleType":"generated"}},"exampleType":"generated"},"5afb0e15-df2d-4962-8333-e84236fde091":{"description":"अनुरोध विफल हुआ","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"oneOf":[{"type":"string","description":"त्रुटि ऑब्जेक्ट (`code`, `message`, `type`, `param` और वैकल्पिक `metadata`) जिसे OpenAI-संगत SDK पढ़ते हैं। पहले के रिस्पॉन्स यहाँ कोड स्ट्रिंग लौटाते थे; अब वह शीर्ष स्तर के `code` के रूप में भी लौटाई जाती है।","example":{"code":"validation_error","message":"Unknown parameter: foo","type":"invalid_request_error","param":"foo"},"isRequired":true,"uniqueKey":"error.oneOf.0","typeLabel":"string"},{"type":"object","description":"त्रुटि ऑब्जेक्ट (`code`, `message`, `type`, `param` और वैकल्पिक `metadata`) जिसे OpenAI-संगत SDK पढ़ते हैं। पहले के रिस्पॉन्स यहाँ कोड स्ट्रिंग लौटाते थे; अब वह शीर्ष स्तर के `code` के रूप में भी लौटाई जाती है।","required":["code","message","type"],"example":{"code":"validation_error","message":"Unknown parameter: foo","type":"invalid_request_error","param":"foo"},"properties":{"code":{"type":"string","description":"मशीन द्वारा पढ़ा जा सकने वाला त्रुटि कोड।","example":"validation_error","isRequired":true,"uniqueKey":"error.oneOf.1.code","typeLabel":"string"},"message":{"type":"string","description":"विफलता की मानव-पठनीय व्याख्या।","example":"Unknown parameter: foo","isRequired":true,"uniqueKey":"error.oneOf.1.message","typeLabel":"string"},"type":{"type":"string","description":"त्रुटि का प्रकार, OpenAI के प्रलेखित त्रुटि प्रकारों के अनुसार।","enum":["invalid_request_error","authentication_error","permission_error","not_found_error","rate_limit_error","insufficient_quota","server_error","service_unavailable","overloaded"],"example":"invalid_request_error","isRequired":true,"uniqueKey":"error.oneOf.1.type","typeLabel":"enum\u003cstring>"},"param":{"oneOf":[{"type":"string","description":"अनुरोध का वह पैरामीटर जिससे त्रुटि हुई, यदि ज्ञात हो।","example":"foo","uniqueKey":"error.oneOf.1.param.oneOf.0","typeLabel":"string"},{"type":"null","description":"अनुरोध का वह पैरामीटर जिससे त्रुटि हुई, यदि ज्ञात हो।","example":"foo","uniqueKey":"error.oneOf.1.param.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.oneOf.1.param","typeLabel":"string | null"},"metadata":{"type":"object","description":"संरचित विवरण जो शीर्ष स्तर पर भी लौटाए जाते हैं, जैसे विफल प्रदाता, `reason`, `failed_statuses`, `retry_after_seconds` या `upstream_error`।","additionalProperties":true,"uniqueKey":"error.oneOf.1.metadata","typeLabel":"object"}},"additionalProperties":true,"isRequired":true,"uniqueKey":"error.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"error","typeLabel":"string | object"},"ok":{"type":"boolean","example":false,"uniqueKey":"ok","typeLabel":"boolean"},"code":{"type":"string","description":"त्रुटि कोड, `error.code` के समान मान।","example":"validation_error","uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","example":"Human-readable error message","uniqueKey":"message","typeLabel":"string"},"description":{"type":"string","example":"Additional error details.","uniqueKey":"description","typeLabel":"string"},"generation_id":{"type":"string","example":"G-abc123","uniqueKey":"generation_id","typeLabel":"string"},"status_code":{"type":"integer","example":502,"uniqueKey":"status_code","typeLabel":"integer"},"error_type":{"type":"string","enum":["user","system"],"example":"system","uniqueKey":"error_type","typeLabel":"enum\u003cstring>"},"error_origin":{"type":"string","enum":["user","gateway","upstream"],"example":"upstream","uniqueKey":"error_origin","typeLabel":"enum\u003cstring>"},"reason":{"type":"string","example":"all_candidates_failed","uniqueKey":"reason","typeLabel":"string"},"attempt_count":{"type":"integer","example":2,"uniqueKey":"attempt_count","typeLabel":"integer"},"failed_providers":{"type":"array","items":{"type":"string","uniqueKey":"failed_providers.items.[INDEX]","typeLabel":"string"},"example":["google-ai-studio","openai"],"uniqueKey":"failed_providers","typeLabel":"string[]"},"failed_statuses":{"type":"array","items":{"type":"integer","uniqueKey":"failed_statuses.items.[INDEX]","typeLabel":"integer"},"example":[403,429],"uniqueKey":"failed_statuses","typeLabel":"integer[]"},"upstream_error":{"type":"object","properties":{"code":{"oneOf":[{"type":"string","example":"PERMISSION_DENIED","uniqueKey":"upstream_error.code.oneOf.0","typeLabel":"string"},{"type":"null","example":"PERMISSION_DENIED","uniqueKey":"upstream_error.code.oneOf.1","typeLabel":"null"}],"uniqueKey":"upstream_error.code","typeLabel":"string | null"},"message":{"oneOf":[{"type":"string","example":"The caller does not have permission.","uniqueKey":"upstream_error.message.oneOf.0","typeLabel":"string"},{"type":"null","example":"The caller does not have permission.","uniqueKey":"upstream_error.message.oneOf.1","typeLabel":"null"}],"uniqueKey":"upstream_error.message","typeLabel":"string | null"},"description":{"oneOf":[{"type":"string","uniqueKey":"upstream_error.description.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"upstream_error.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"upstream_error.description","typeLabel":"string | null"},"param":{"oneOf":[{"type":"string","uniqueKey":"upstream_error.param.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"upstream_error.param.oneOf.1","typeLabel":"null"}],"uniqueKey":"upstream_error.param","typeLabel":"string | null"}},"uniqueKey":"upstream_error","typeLabel":"object"},"failure_sample":{"type":"array","items":{"type":"object","properties":{"provider":{"oneOf":[{"type":"string","uniqueKey":"failure_sample.items.[INDEX].provider.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"failure_sample.items.[INDEX].provider.oneOf.1","typeLabel":"null"}],"uniqueKey":"failure_sample.items.[INDEX].provider","typeLabel":"string | null"},"type":{"oneOf":[{"type":"string","uniqueKey":"failure_sample.items.[INDEX].type.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"failure_sample.items.[INDEX].type.oneOf.1","typeLabel":"null"}],"uniqueKey":"failure_sample.items.[INDEX].type","typeLabel":"string | null"},"status":{"oneOf":[{"type":"integer","uniqueKey":"failure_sample.items.[INDEX].status.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"failure_sample.items.[INDEX].status.oneOf.1","typeLabel":"null"}],"uniqueKey":"failure_sample.items.[INDEX].status","typeLabel":"integer | null"},"upstream_error_code":{"oneOf":[{"type":"string","uniqueKey":"failure_sample.items.[INDEX].upstream_error_code.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"failure_sample.items.[INDEX].upstream_error_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"failure_sample.items.[INDEX].upstream_error_code","typeLabel":"string | null"},"upstream_error_message":{"oneOf":[{"type":"string","uniqueKey":"failure_sample.items.[INDEX].upstream_error_message.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"failure_sample.items.[INDEX].upstream_error_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"failure_sample.items.[INDEX].upstream_error_message","typeLabel":"string | null"},"upstream_error_description":{"oneOf":[{"type":"string","uniqueKey":"failure_sample.items.[INDEX].upstream_error_description.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"failure_sample.items.[INDEX].upstream_error_description.oneOf.1","typeLabel":"null"}],"uniqueKey":"failure_sample.items.[INDEX].upstream_error_description","typeLabel":"string | null"},"upstream_error_param":{"oneOf":[{"type":"string","uniqueKey":"failure_sample.items.[INDEX].upstream_error_param.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"failure_sample.items.[INDEX].upstream_error_param.oneOf.1","typeLabel":"null"}],"uniqueKey":"failure_sample.items.[INDEX].upstream_error_param","typeLabel":"string | null"},"upstream_payload_preview":{"oneOf":[{"type":"string","uniqueKey":"failure_sample.items.[INDEX].upstream_payload_preview.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"failure_sample.items.[INDEX].upstream_payload_preview.oneOf.1","typeLabel":"null"}],"uniqueKey":"failure_sample.items.[INDEX].upstream_payload_preview","typeLabel":"string | null"},"retryable":{"oneOf":[{"type":"boolean","uniqueKey":"failure_sample.items.[INDEX].retryable.oneOf.0","typeLabel":"boolean"},{"type":"null","uniqueKey":"failure_sample.items.[INDEX].retryable.oneOf.1","typeLabel":"null"}],"uniqueKey":"failure_sample.items.[INDEX].retryable","typeLabel":"boolean | null"}},"additionalProperties":true,"uniqueKey":"failure_sample.items.[INDEX]","typeLabel":"object"},"uniqueKey":"failure_sample","typeLabel":"object[]"},"provider_failure_diagnostics":{"type":"object","properties":{"category":{"type":"string","enum":["credentials_not_configured","credentials_invalid_or_forbidden","provider_access_missing","region_or_project_restriction","model_unavailable_for_endpoint","rate_limited","server_error"],"uniqueKey":"provider_failure_diagnostics.category","typeLabel":"enum\u003cstring>"},"hint":{"type":"string","uniqueKey":"provider_failure_diagnostics.hint","typeLabel":"string"},"provider":{"oneOf":[{"type":"string","uniqueKey":"provider_failure_diagnostics.provider.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"provider_failure_diagnostics.provider.oneOf.1","typeLabel":"null"}],"uniqueKey":"provider_failure_diagnostics.provider","typeLabel":"string | null"}},"uniqueKey":"provider_failure_diagnostics","typeLabel":"object"},"routing_diagnostics":{"type":"object","properties":{"filterStages":{"type":"array","items":{"type":"object","properties":{"stage":{"type":"string","uniqueKey":"routing_diagnostics.filterStages.items.[INDEX].stage","typeLabel":"string"},"beforeCount":{"type":"integer","uniqueKey":"routing_diagnostics.filterStages.items.[INDEX].beforeCount","typeLabel":"integer"},"afterCount":{"type":"integer","uniqueKey":"routing_diagnostics.filterStages.items.[INDEX].afterCount","typeLabel":"integer"},"droppedProviders":{"type":"array","items":{"type":"object","properties":{"providerId":{"oneOf":[{"type":"string","uniqueKey":"routing_diagnostics.filterStages.items.[INDEX].droppedProviders.items.[INDEX].providerId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"routing_diagnostics.filterStages.items.[INDEX].droppedProviders.items.[INDEX].providerId.oneOf.1","typeLabel":"null"}],"uniqueKey":"routing_diagnostics.filterStages.items.[INDEX].droppedProviders.items.[INDEX].providerId","typeLabel":"string | null"},"reason":{"oneOf":[{"type":"string","uniqueKey":"routing_diagnostics.filterStages.items.[INDEX].droppedProviders.items.[INDEX].reason.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"routing_diagnostics.filterStages.items.[INDEX].droppedProviders.items.[INDEX].reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"routing_diagnostics.filterStages.items.[INDEX].droppedProviders.items.[INDEX].reason","typeLabel":"string | null"}},"additionalProperties":true,"uniqueKey":"routing_diagnostics.filterStages.items.[INDEX].droppedProviders.items.[INDEX]","typeLabel":"object"},"uniqueKey":"routing_diagnostics.filterStages.items.[INDEX].droppedProviders","typeLabel":"object[]"}},"additionalProperties":true,"uniqueKey":"routing_diagnostics.filterStages.items.[INDEX]","typeLabel":"object"},"uniqueKey":"routing_diagnostics.filterStages","typeLabel":"object[]"}},"additionalProperties":true,"uniqueKey":"routing_diagnostics","typeLabel":"object"},"provider_candidate_diagnostics":{"type":"object","properties":{"totalProviders":{"type":"integer","uniqueKey":"provider_candidate_diagnostics.totalProviders","typeLabel":"integer"},"supportsEndpointCount":{"type":"integer","uniqueKey":"provider_candidate_diagnostics.supportsEndpointCount","typeLabel":"integer"},"candidateCount":{"type":"integer","uniqueKey":"provider_candidate_diagnostics.candidateCount","typeLabel":"integer"},"droppedUnsupportedEndpoint":{"type":"array","items":{"type":"string","uniqueKey":"provider_candidate_diagnostics.droppedUnsupportedEndpoint.items.[INDEX]","typeLabel":"string"},"uniqueKey":"provider_candidate_diagnostics.droppedUnsupportedEndpoint","typeLabel":"string[]"},"droppedMissingAdapter":{"type":"array","items":{"type":"object","properties":{"providerId":{"oneOf":[{"type":"string","uniqueKey":"provider_candidate_diagnostics.droppedMissingAdapter.items.[INDEX].providerId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"provider_candidate_diagnostics.droppedMissingAdapter.items.[INDEX].providerId.oneOf.1","typeLabel":"null"}],"uniqueKey":"provider_candidate_diagnostics.droppedMissingAdapter.items.[INDEX].providerId","typeLabel":"string | null"},"endpoint":{"oneOf":[{"type":"string","uniqueKey":"provider_candidate_diagnostics.droppedMissingAdapter.items.[INDEX].endpoint.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"provider_candidate_diagnostics.droppedMissingAdapter.items.[INDEX].endpoint.oneOf.1","typeLabel":"null"}],"uniqueKey":"provider_candidate_diagnostics.droppedMissingAdapter.items.[INDEX].endpoint","typeLabel":"string | null"}},"additionalProperties":true,"uniqueKey":"provider_candidate_diagnostics.droppedMissingAdapter.items.[INDEX]","typeLabel":"object"},"uniqueKey":"provider_candidate_diagnostics.droppedMissingAdapter","typeLabel":"object[]"}},"additionalProperties":true,"uniqueKey":"provider_candidate_diagnostics","typeLabel":"object"},"provider_enablement":{"type":"object","properties":{"capability":{"type":"string","uniqueKey":"provider_enablement.capability","typeLabel":"string"},"providersBefore":{"type":"array","items":{"type":"string","uniqueKey":"provider_enablement.providersBefore.items.[INDEX]","typeLabel":"string"},"uniqueKey":"provider_enablement.providersBefore","typeLabel":"string[]"},"providersAfter":{"type":"array","items":{"type":"string","uniqueKey":"provider_enablement.providersAfter.items.[INDEX]","typeLabel":"string"},"uniqueKey":"provider_enablement.providersAfter","typeLabel":"string[]"},"dropped":{"type":"array","items":{"type":"object","properties":{"providerId":{"oneOf":[{"type":"string","uniqueKey":"provider_enablement.dropped.items.[INDEX].providerId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"provider_enablement.dropped.items.[INDEX].providerId.oneOf.1","typeLabel":"null"}],"uniqueKey":"provider_enablement.dropped.items.[INDEX].providerId","typeLabel":"string | null"},"reason":{"oneOf":[{"type":"string","uniqueKey":"provider_enablement.dropped.items.[INDEX].reason.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"provider_enablement.dropped.items.[INDEX].reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"provider_enablement.dropped.items.[INDEX].reason","typeLabel":"string | null"}},"additionalProperties":true,"uniqueKey":"provider_enablement.dropped.items.[INDEX]","typeLabel":"object"},"uniqueKey":"provider_enablement.dropped","typeLabel":"object[]"}},"additionalProperties":true,"uniqueKey":"provider_enablement","typeLabel":"object"},"missing_pricing_providers":{"type":"array","items":{"type":"string","uniqueKey":"missing_pricing_providers.items.[INDEX]","typeLabel":"string"},"uniqueKey":"missing_pricing_providers","typeLabel":"string[]"},"provider_payment_required_provider":{"type":"string","example":"openai","uniqueKey":"provider_payment_required_provider","typeLabel":"string"},"provider_payment_required_support_notice":{"type":"string","example":"Our upstream provider billing appears to be unavailable. If this persists, contact support.","uniqueKey":"provider_payment_required_support_notice","typeLabel":"string"},"details":{"type":"array","items":{"type":"object","additionalProperties":true,"uniqueKey":"details.items.[INDEX]","typeLabel":"object"},"uniqueKey":"details","typeLabel":"object[]"}},"additionalProperties":true,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"validation_error","message":"Unknown parameter: foo","type":"invalid_request_error","param":"foo"},"ok":false,"code":"validation_error","message":"Human-readable error message","description":"Additional error details.","generation_id":"G-abc123","status_code":502,"error_type":"system","error_origin":"upstream","reason":"all_candidates_failed","attempt_count":2,"failed_providers":["google-ai-studio","openai"],"failed_statuses":[403,429],"upstream_error":{"code":"PERMISSION_DENIED","message":"The caller does not have permission.","description":"\u003cstring>","param":"\u003cstring>"},"failure_sample":[{"provider":"\u003cstring>","type":"\u003cstring>","status":123,"upstream_error_code":"\u003cstring>","upstream_error_message":"\u003cstring>","upstream_error_description":"\u003cstring>","upstream_error_param":"\u003cstring>","upstream_payload_preview":"\u003cstring>","retryable":true}],"provider_failure_diagnostics":{"category":"credentials_not_configured","hint":"\u003cstring>","provider":"\u003cstring>"},"routing_diagnostics":{"filterStages":[{"stage":"\u003cstring>","beforeCount":123,"afterCount":123,"droppedProviders":[{"providerId":"\u003cstring>","reason":"\u003cstring>"}]}]},"provider_candidate_diagnostics":{"totalProviders":123,"supportsEndpointCount":123,"candidateCount":123,"droppedUnsupportedEndpoint":["\u003cstring>"],"droppedMissingAdapter":[{"providerId":"\u003cstring>","endpoint":"\u003cstring>"}]},"provider_enablement":{"capability":"\u003cstring>","providersBefore":["\u003cstring>"],"providersAfter":["\u003cstring>"],"dropped":[{"providerId":"\u003cstring>","reason":"\u003cstring>"}]},"missing_pricing_providers":["\u003cstring>"],"provider_payment_required_provider":"openai","provider_payment_required_support_notice":"Our upstream provider billing appears to be unavailable. If this persists, contact support.","details":[{}]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"21dbe0b9-b08e-4e17-80c3-a7a9af20aa83":{"BearerAuth":{"type":"http","scheme":"bearer","description":"Bearer टोकन से प्रमाणीकरण","scopes":[],"schemeName":"BearerAuth"}}},"servers":{"6778ec89-5442-4936-b3cf-343ab3aaea09":{"url":"https://api.phaseo.app/v1","description":"वैश्विक रूटिंग"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"Bearer टोकन से प्रमाणीकरण","scopes":[],"schemeName":"BearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer टोकन से प्रमाणीकरण","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"BearerAuth","name":"Authorization"}],"title":"BearerAuth"}]},"originalFileLocation":"hi/openapi/v1/openapi.localized.yaml"},"subdomain":"aistats","siteName":"Phaseo Docs","title":"खर्च नियम बनाएँ - Phaseo Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/v1/api-reference/endpoint/spend-rules-create","matchLevel":1},"es":{"href":"/es/v1/api-reference/endpoint/spend-rules-create","matchLevel":1},"fr":{"href":"/fr/v1/api-reference/endpoint/spend-rules-create","matchLevel":1},"de":{"href":"/de/v1/api-reference/endpoint/spend-rules-create","matchLevel":1},"pt-BR":{"href":"/pt-BR/v1/api-reference/endpoint/spend-rules-create","matchLevel":1},"ja":{"href":"/ja/v1/api-reference/endpoint/spend-rules-create","matchLevel":1},"zh-Hans":{"href":"/zh-Hans/v1/api-reference/endpoint/spend-rules-create","matchLevel":1},"hi":{"href":"/hi/v1/api-reference/endpoint/spend-rules-create","matchLevel":0},"ar":{"href":"/ar/v1/api-reference/endpoint/spend-rules-create","matchLevel":1}}},"lastModified":"2026-10-31T18:38:32.587Z","gitLastModified":"2026-10-31T18:36:40.000Z","originalFileLocation":"hi/v1/api-reference/endpoint/spend-rules-create.mdx","locale":"hi"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"खर्च अलर्ट बनाता है, चाहें तो ऐसा अलर्ट जो सीमा पार होने पर अनुरोधों को ब्लॉक करे।\">\u003cmeta data-mint-head name=\"application-name\" content=\"Phaseo Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/aistats/e9OKRuK0XVSasMAN/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/aistats/e9OKRuK0XVSasMAN/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/aistats/e9OKRuK0XVSasMAN/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/aistats/e9OKRuK0XVSasMAN/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/aistats/e9OKRuK0XVSasMAN/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/aistats/e9OKRuK0XVSasMAN/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/aistats/e9OKRuK0XVSasMAN/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/aistats/e9OKRuK0XVSasMAN/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/aistats/e9OKRuK0XVSasMAN/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"खर्च नियम बनाएँ - Phaseo Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"खर्च अलर्ट बनाता है, चाहें तो ऐसा अलर्ट जो सीमा पार होने पर अनुरोधों को ब्लॉक करे।\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Phaseo Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://phaseo.app/docs/hi/v1/api-reference/endpoint/spend-rules-create\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://aistats.mintlify.app/_mintlify/api/og/v2?division=%E0%A4%96%E0%A4%B0%E0%A5%8D%E0%A4%9A+%E0%A4%A8%E0%A4%BF%E0%A4%AF%E0%A4%AE\u0026amp;title=%E0%A4%96%E0%A4%B0%E0%A5%8D%E0%A4%9A+%E0%A4%A8%E0%A4%BF%E0%A4%AF%E0%A4%AE+%E0%A4%AC%E0%A4%A8%E0%A4%BE%E0%A4%8F%E0%A4%81\u0026amp;description=%E0%A4%96%E0%A4%B0%E0%A5%8D%E0%A4%9A+%E0%A4%85%E0%A4%B2%E0%A4%B0%E0%A5%8D%E0%A4%9F+%E0%A4%AC%E0%A4%A8%E0%A4%BE%E0%A4%A4%E0%A4%BE+%E0%A4%B9%E0%A5%88%2C+%E0%A4%9A%E0%A4%BE%E0%A4%B9%E0%A5%87%E0%A4%82+%E0%A4%A4%E0%A5%8B+%E0%A4%90%E0%A4%B8%E0%A4%BE+%E0%A4%85%E0%A4%B2%E0%A4%B0%E0%A5%8D%E0%A4%9F+%E0%A4%9C%E0%A5%8B+%E0%A4%B8%E0%A5%80%E0%A4%AE%E0%A4%BE+%E0%A4%AA%E0%A4%BE%E0%A4%B0+%E0%A4%B9%E0%A5%8B%E0%A4%A8%E0%A5%87+%E0%A4%AA%E0%A4%B0+%E0%A4%85%E0%A4%A8%E0%A5%81%E0%A4%B0%E0%A5%8B%E0%A4%A7%E0%A5%8B%E0%A4%82+%E0%A4%95%E0%A5%8B+%E0%A4%AC%E0%A5%8D%E0%A4%B2%E0%A5%89%E0%A4%95+%E0%A4%95%E0%A4%B0%E0%A5%87%E0%A5%A4\u0026amp;theme=6067f667ebd4f2961b2bc80b\u0026amp;signature=032e4bc24197977d13185487eac6543631c33c733c0cee33d521a318667c3e5e\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"खर्च नियम बनाएँ - Phaseo Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"खर्च अलर्ट बनाता है, चाहें तो ऐसा अलर्ट जो सीमा पार होने पर अनुरोधों को ब्लॉक करे।\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://aistats.mintlify.app/_mintlify/api/og/v2?division=%E0%A4%96%E0%A4%B0%E0%A5%8D%E0%A4%9A+%E0%A4%A8%E0%A4%BF%E0%A4%AF%E0%A4%AE\u0026amp;title=%E0%A4%96%E0%A4%B0%E0%A5%8D%E0%A4%9A+%E0%A4%A8%E0%A4%BF%E0%A4%AF%E0%A4%AE+%E0%A4%AC%E0%A4%A8%E0%A4%BE%E0%A4%8F%E0%A4%81\u0026amp;description=%E0%A4%96%E0%A4%B0%E0%A5%8D%E0%A4%9A+%E0%A4%85%E0%A4%B2%E0%A4%B0%E0%A5%8D%E0%A4%9F+%E0%A4%AC%E0%A4%A8%E0%A4%BE%E0%A4%A4%E0%A4%BE+%E0%A4%B9%E0%A5%88%2C+%E0%A4%9A%E0%A4%BE%E0%A4%B9%E0%A5%87%E0%A4%82+%E0%A4%A4%E0%A5%8B+%E0%A4%90%E0%A4%B8%E0%A4%BE+%E0%A4%85%E0%A4%B2%E0%A4%B0%E0%A5%8D%E0%A4%9F+%E0%A4%9C%E0%A5%8B+%E0%A4%B8%E0%A5%80%E0%A4%AE%E0%A4%BE+%E0%A4%AA%E0%A4%BE%E0%A4%B0+%E0%A4%B9%E0%A5%8B%E0%A4%A8%E0%A5%87+%E0%A4%AA%E0%A4%B0+%E0%A4%85%E0%A4%A8%E0%A5%81%E0%A4%B0%E0%A5%8B%E0%A4%A7%E0%A5%8B%E0%A4%82+%E0%A4%95%E0%A5%8B+%E0%A4%AC%E0%A5%8D%E0%A4%B2%E0%A5%89%E0%A4%95+%E0%A4%95%E0%A4%B0%E0%A5%87%E0%A5%A4\u0026amp;theme=6067f667ebd4f2961b2bc80b\u0026amp;signature=032e4bc24197977d13185487eac6543631c33c733c0cee33d521a318667c3e5e\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/aistats/e9OKRuK0XVSasMAN/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Phaseo Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0069a8\">\u003clink data-mint-head rel=\"canonical\" href=\"https://phaseo.app/docs/hi/v1/api-reference/endpoint/spend-rules-create\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/hi/v1/api-reference/endpoint/spend-rules-create.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"hi\" href=\"https://phaseo.app/docs/hi/v1/api-reference/endpoint/spend-rules-create\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://phaseo.app/docs/v1/api-reference/endpoint/spend-rules-create\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"es\" href=\"https://phaseo.app/docs/es/v1/api-reference/endpoint/spend-rules-create\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"fr\" href=\"https://phaseo.app/docs/fr/v1/api-reference/endpoint/spend-rules-create\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"de\" href=\"https://phaseo.app/docs/de/v1/api-reference/endpoint/spend-rules-create\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"pt-BR\" href=\"https://phaseo.app/docs/pt-BR/v1/api-reference/endpoint/spend-rules-create\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ja\" href=\"https://phaseo.app/docs/ja/v1/api-reference/endpoint/spend-rules-create\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh-Hans\" href=\"https://phaseo.app/docs/zh-Hans/v1/api-reference/endpoint/spend-rules-create\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ar\" href=\"https://phaseo.app/docs/ar/v1/api-reference/endpoint/spend-rules-create\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://phaseo.app/docs/v1/api-reference/endpoint/spend-rules-create\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://phaseo.app/#organization\",\"name\":\"Phaseo Docs\",\"url\":\"https://phaseo.app\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/aistats/bxzzjromPyjBlHKc/logo/light.svg?fit=max\u0026auto=format\u0026n=bxzzjromPyjBlHKc\u0026q=85\u0026s=f1e10d307a46469852edc2ae198e3c2a\"}},{\"@type\":\"WebSite\",\"@id\":\"https://phaseo.app/docs#website\",\"name\":\"Phaseo Docs\",\"url\":\"https://phaseo.app/docs\",\"publisher\":{\"@id\":\"https://phaseo.app/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://phaseo.app/docs/hi/v1/api-reference/endpoint/spend-rules-create#webpage\",\"url\":\"https://phaseo.app/docs/hi/v1/api-reference/endpoint/spend-rules-create\",\"name\":\"खर्च नियम बनाएँ\",\"description\":\"खर्च अलर्ट बनाता है, चाहें तो ऐसा अलर्ट जो सीमा पार होने पर अनुरोधों को ब्लॉक करे।\",\"dateModified\":\"2026-10-31T18:36:40.000Z\",\"isPartOf\":{\"@id\":\"https://phaseo.app/docs#website\"},\"breadcrumb\":{\"@id\":\"https://phaseo.app/docs/hi/v1/api-reference/endpoint/spend-rules-create#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://phaseo.app/docs/hi/v1/api-reference/endpoint/spend-rules-create#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"वर्कस्पेस प्रबंधन\",\"item\":\"https://phaseo.app/docs/hi/v1/api-reference/endpoint/workspaces-create\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"खर्च नियम बनाएँ\",\"item\":\"https://phaseo.app/docs/hi/v1/api-reference/endpoint/spend-rules-create\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://phaseo.app/docs/hi/v1/api-reference/endpoint/spend-rules-create#apireference\",\"headline\":\"खर्च नियम बनाएँ\",\"name\":\"खर्च नियम बनाएँ\",\"description\":\"खर्च अलर्ट बनाता है, चाहें तो ऐसा अलर्ट जो सीमा पार होने पर अनुरोधों को ब्लॉक करे।\",\"url\":\"https://phaseo.app/docs/hi/v1/api-reference/endpoint/spend-rules-create\",\"mainEntityOfPage\":{\"@id\":\"https://phaseo.app/docs/hi/v1/api-reference/endpoint/spend-rules-create#webpage\"},\"dateModified\":\"2026-10-31T18:36:40.000Z\",\"publisher\":{\"@id\":\"https://phaseo.app/#organization\"},\"isPartOf\":{\"@id\":\"https://phaseo.app/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Phaseo Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Phaseo Docs","nav":{"global":null,"languages":[{"language":"en","pages":[{"title":"en","href":"/v1/api-reference/endpoint/spend-rules-create"}]},{"language":"es","footer":{"socials":{"x":"https://x.com/phaseoteam","github":"https://github.com/phaseoteam/Phaseo","discord":"https://discord.gg/aQyywCvgZ5","linkedin":"https://www.linkedin.com/company/phaseoapp","reddit":"https://www.reddit.com/r/Phaseo"},"links":[{"items":[{"label":"Modelos","href":"https://phaseo.app/es-ES/models"},{"label":"Estado","href":"https://status.phaseo.app"},{"label":"Soporte","href":"https://phaseo.app/es-ES/help"}]}]},"navbar":{"primary":{"type":"button","label":"Obtener clave de API","href":"https://phaseo.app/es-ES/settings/keys"}},"pages":[{"title":"es","href":"/es/v1/api-reference/endpoint/spend-rules-create"}]},{"language":"fr","footer":{"socials":{"x":"https://x.com/phaseoteam","github":"https://github.com/phaseoteam/Phaseo","discord":"https://discord.gg/aQyywCvgZ5","linkedin":"https://www.linkedin.com/company/phaseoapp","reddit":"https://www.reddit.com/r/Phaseo"},"links":[{"items":[{"label":"Modèles","href":"https://phaseo.app/fr-FR/models"},{"label":"État","href":"https://status.phaseo.app"},{"label":"Assistance","href":"https://phaseo.app/fr-FR/help"}]}]},"navbar":{"primary":{"type":"button","label":"Obtenir une clé API","href":"https://phaseo.app/fr-FR/settings/keys"}},"pages":[{"title":"fr","href":"/fr/v1/api-reference/endpoint/spend-rules-create"}]},{"language":"de","footer":{"socials":{"x":"https://x.com/phaseoteam","github":"https://github.com/phaseoteam/Phaseo","discord":"https://discord.gg/aQyywCvgZ5","linkedin":"https://www.linkedin.com/company/phaseoapp","reddit":"https://www.reddit.com/r/Phaseo"},"links":[{"items":[{"label":"Modelle","href":"https://phaseo.app/de-DE/models"},{"label":"Status","href":"https://status.phaseo.app"},{"label":"Support","href":"https://phaseo.app/de-DE/help"}]}]},"navbar":{"primary":{"type":"button","label":"API-Schlüssel erstellen","href":"https://phaseo.app/de-DE/settings/keys"}},"pages":[{"title":"de","href":"/de/v1/api-reference/endpoint/spend-rules-create"}]},{"language":"pt-BR","footer":{"socials":{"x":"https://x.com/phaseoteam","github":"https://github.com/phaseoteam/Phaseo","discord":"https://discord.gg/aQyywCvgZ5","linkedin":"https://www.linkedin.com/company/phaseoapp","reddit":"https://www.reddit.com/r/Phaseo"},"links":[{"items":[{"label":"Modelos","href":"https://phaseo.app/pt-BR/models"},{"label":"Status","href":"https://status.phaseo.app"},{"label":"Suporte","href":"https://phaseo.app/pt-BR/help"}]}]},"navbar":{"primary":{"type":"button","label":"Obter chave de API","href":"https://phaseo.app/pt-BR/settings/keys"}},"pages":[{"title":"pt-BR","href":"/pt-BR/v1/api-reference/endpoint/spend-rules-create"}]},{"language":"ja","footer":{"socials":{"x":"https://x.com/phaseoteam","github":"https://github.com/phaseoteam/Phaseo","discord":"https://discord.gg/aQyywCvgZ5","linkedin":"https://www.linkedin.com/company/phaseoapp","reddit":"https://www.reddit.com/r/Phaseo"},"links":[{"items":[{"label":"モデル","href":"https://phaseo.app/ja/models"},{"label":"ステータス","href":"https://status.phaseo.app"},{"label":"サポート","href":"https://phaseo.app/ja/help"}]}]},"navbar":{"primary":{"type":"button","label":"API キーを取得","href":"https://phaseo.app/ja/settings/keys"}},"pages":[{"title":"ja","href":"/ja/v1/api-reference/endpoint/spend-rules-create"}]},{"language":"zh-Hans","footer":{"socials":{"x":"https://x.com/phaseoteam","github":"https://github.com/phaseoteam/Phaseo","discord":"https://discord.gg/aQyywCvgZ5","linkedin":"https://www.linkedin.com/company/phaseoapp","reddit":"https://www.reddit.com/r/Phaseo"},"links":[{"items":[{"label":"模型","href":"https://phaseo.app/zh-Hans/models"},{"label":"状态","href":"https://status.phaseo.app"},{"label":"支持","href":"https://phaseo.app/zh-Hans/help"}]}]},"navbar":{"primary":{"type":"button","label":"获取 API 密钥","href":"https://phaseo.app/zh-Hans/settings/keys"}},"pages":[{"title":"zh-Hans","href":"/zh-Hans/v1/api-reference/endpoint/spend-rules-create"}]},{"language":"hi","footer":{"socials":{"x":"https://x.com/phaseoteam","github":"https://github.com/phaseoteam/Phaseo","discord":"https://discord.gg/aQyywCvgZ5","linkedin":"https://www.linkedin.com/company/phaseoapp","reddit":"https://www.reddit.com/r/Phaseo"},"links":[{"items":[{"label":"मॉडल","href":"https://phaseo.app/hi/models"},{"label":"स्थिति","href":"https://status.phaseo.app"},{"label":"सहायता","href":"https://phaseo.app/hi/help"}]}]},"navbar":{"primary":{"type":"button","label":"API कुंजी प्राप्त करें","href":"https://phaseo.app/hi/settings/keys"}},"tabs":[{"tab":"दस्तावेज़","icon":"book","pages":[{"title":"दस्तावेज़","href":"/hi/v1"}]},{"tab":"API संदर्भ","icon":"server","groups":[{"group":"API गाइड","icon":"book-open","expanded":true,"pages":[{"title":"Gateway API का अवलोकन","sidebarTitle":"अवलोकन","icon":"map","href":"/hi/v1/api-reference/introduction"},{"title":"प्रमाणीकरण","icon":"key-round","href":"/hi/v1/developers/authentication"},{"title":"पैरामीटर","icon":"sliders-horizontal","href":"/hi/v1/api-reference/parameters"},{"title":"क्रमिक आउटपुट","icon":"radio","href":"/hi/v1/guides/streaming"},{"title":"अनुरोध सीमाएँ","icon":"gauge","href":"/hi/v1/api-reference/limits"},{"title":"त्रुटियाँ और डीबगिंग","icon":"bug","href":"/hi/v1/api-reference/errors"}]},{"group":"टेक्स्ट","icon":"message-square-text","pages":[{"title":"रिस्पॉन्स बनाएँ","sidebarTitle":"रिस्पॉन्स बनाएँ","openapi":"hi/openapi/v1/openapi.localized.yaml POST /responses","href":"/hi/v1/api-reference/endpoint/responses"},{"title":"चैट कंप्लीशन बनाएँ","sidebarTitle":"चैट कंप्लीशन बनाएँ","openapi":"hi/openapi/v1/openapi.localized.yaml POST /chat/completions","href":"/hi/v1/api-reference/endpoint/chat-completions"},{"title":"संदेश बनाएँ","sidebarTitle":"संदेश बनाएँ (Anthropic)","openapi":"hi/openapi/v1/openapi.localized.yaml POST /messages","href":"/hi/v1/api-reference/endpoint/anthropic-messages"}]},{"group":"छवि","icon":"image","pages":[{"title":"छवि जनरेट करें","sidebarTitle":"छवि जनरेट करें","openapi":"hi/openapi/v1/openapi.localized.yaml POST /images/generations","href":"/hi/v1/api-reference/endpoint/images-generations"},{"title":"छवि संपादित करें","sidebarTitle":"छवि संपादित करें","openapi":"hi/openapi/v1/openapi.localized.yaml POST /images/edits","href":"/hi/v1/api-reference/endpoint/images-edits"}]},{"group":"वीडियो","icon":"video","tag":"Beta","pages":[{"title":"वीडियो बनाएँ","openapi":"hi/openapi/v1/openapi.localized.yaml POST /videos","href":"/hi/v1/api-reference/endpoint/video-create"},{"title":"वीडियो की स्थिति प्राप्त करें","openapi":"hi/openapi/v1/openapi.localized.yaml GET /videos/{video_id}","href":"/hi/v1/api-reference/endpoint/video-status"},{"title":"वीडियो सामग्री डाउनलोड करें","openapi":"hi/openapi/v1/openapi.localized.yaml GET /videos/{video_id}/content","href":"/hi/v1/api-reference/endpoint/video-content"},{"title":"हस्ताक्षरित डाउनलोड URL बनाएँ","openapi":"hi/openapi/v1/openapi.localized.yaml POST /videos/{video_id}/download_url","href":"/hi/v1/api-reference/endpoint/video-download-url"},{"title":"वीडियो रद्द करें","openapi":"hi/openapi/v1/openapi.localized.yaml POST /videos/{video_id}/cancel","href":"/hi/v1/api-reference/endpoint/video-cancel"},{"title":"वीडियो हटाएँ","openapi":"hi/openapi/v1/openapi.localized.yaml DELETE /videos/{video_id}","href":"/hi/v1/api-reference/endpoint/video-delete"},{"title":"वीडियो सूचीबद्ध करें","openapi":"hi/openapi/v1/openapi.localized.yaml GET /videos","href":"/hi/v1/api-reference/endpoint/video-list"},{"title":"वीडियो मॉडल सूचीबद्ध करें","openapi":"hi/openapi/v1/openapi.localized.yaml GET /videos/models","href":"/hi/v1/api-reference/endpoint/video-models"}]},{"group":"एम्बेडिंग","icon":"braces","pages":[{"title":"एम्बेडिंग बनाएं","sidebarTitle":"एम्बेडिंग बनाएं","openapi":"hi/openapi/v1/openapi.localized.yaml POST /embeddings","href":"/hi/v1/api-reference/endpoint/embeddings"}]},{"group":"निर्णय","icon":"signpost","pages":[{"title":"निर्णय लें","tag":"बीटा","openapi":"hi/openapi/v1/openapi.localized.yaml POST /decisions","href":"/hi/v1/api-reference/endpoint/decisions"},{"title":"मान निकालें","tag":"Beta","icon":"list-filter","openapi":"hi/openapi/v1/openapi.localized.yaml POST /extractions","href":"/hi/v1/api-reference/endpoint/extractions"}]},{"group":"मॉडरेशन","icon":"shield-check","pages":[{"title":"मॉडरेशन बनाएं","sidebarTitle":"मॉडरेशन बनाएं","openapi":"hi/openapi/v1/openapi.localized.yaml POST /moderations","href":"/hi/v1/api-reference/endpoint/moderations"}]},{"group":"पुनः क्रमित करना","icon":"arrow-down-wide-narrow","pages":[{"title":"दस्तावेज़ों को फिर से रैंक करें","sidebarTitle":"दस्तावेज़ों को फिर से रैंक करें","openapi":"hi/openapi/v1/openapi.localized.yaml POST /rerank","href":"/hi/v1/api-reference/endpoint/rerank"}]},{"group":"दस्तावेज़","icon":"file-text","pages":[{"title":"OCR से टेक्स्ट निकालें","sidebarTitle":"टेक्स्ट निकालें","tag":"बीटा","openapi":"hi/openapi/v1/openapi.localized.yaml POST /ocr","href":"/hi/v1/api-reference/endpoint/ocr"},{"title":"दस्तावेज़ की छवि पार्स करें","sidebarTitle":"दस्तावेज़ पार्स करें","tag":"बीटा","openapi":"hi/openapi/v1/openapi.localized.yaml POST /parse","href":"/hi/v1/api-reference/endpoint/parse"}]},{"group":"वाक्","icon":"audio-lines","pages":[{"title":"वाणी बनाएँ","sidebarTitle":"वाणी बनाएँ","openapi":"hi/openapi/v1/openapi.localized.yaml POST /audio/speech","href":"/hi/v1/api-reference/endpoint/audio-speech"}]},{"group":"लिप्यंतरण","icon":"captions","pages":[{"title":"ट्रांसक्रिप्शन बनाएं","sidebarTitle":"ट्रांसक्रिप्शन बनाएं","openapi":"hi/openapi/v1/openapi.localized.yaml POST /audio/transcriptions","href":"/hi/v1/api-reference/endpoint/audio-transcriptions"}]},{"group":"अनुवाद","icon":"languages","pages":[{"title":"अनुवाद बनाएं","sidebarTitle":"अनुवाद बनाएं","openapi":"hi/openapi/v1/openapi.localized.yaml POST /audio/translations","href":"/hi/v1/api-reference/endpoint/audio-translations"}]},{"group":"संगीत","icon":"music","pages":[{"title":"संगीत बनाएँ","sidebarTitle":"संगीत बनाएँ","openapi":"hi/openapi/v1/openapi.localized.yaml POST /music/generate","href":"/hi/v1/api-reference/endpoint/music-generate"},{"title":"संगीत जनरेशन प्राप्त करें","sidebarTitle":"संगीत जनरेशन प्राप्त करें","openapi":"hi/openapi/v1/openapi.localized.yaml GET /music/generate/{music_id}","href":"/hi/v1/api-reference/endpoint/music-status"}]},{"group":"जॉब, फ़ाइलें और वेबहुक","icon":"layers","pages":[{"group":"बैच","tag":"Beta","expanded":true,"pages":[{"title":"बैच बनाएँ","openapi":"hi/openapi/v1/openapi.localized.yaml POST /batches","href":"/hi/v1/api-reference/endpoint/batches-create"},{"title":"बैच की स्थिति प्राप्त करें","openapi":"hi/openapi/v1/openapi.localized.yaml GET /batches/{batch_id}","href":"/hi/v1/api-reference/endpoint/batches-retrieve"},{"title":"बैच के परिणाम डाउनलोड करें","openapi":"hi/openapi/v1/openapi.localized.yaml GET /batches/{batch_id}/results","href":"/hi/v1/api-reference/endpoint/batches-results"},{"title":"बैच के अनुरोध सूचीबद्ध करें","openapi":"hi/openapi/v1/openapi.localized.yaml GET /batches/{batch_id}/requests","href":"/hi/v1/api-reference/endpoint/batches-requests"},{"title":"बैच रद्द करें","openapi":"hi/openapi/v1/openapi.localized.yaml POST /batches/{batch_id}/cancel","href":"/hi/v1/api-reference/endpoint/batches-cancel"},{"title":"बैच सूचीबद्ध करें","openapi":"hi/openapi/v1/openapi.localized.yaml GET /batches","href":"/hi/v1/api-reference/endpoint/batches-list"},{"title":"बैच फ़ाइल अपलोड करें","openapi":"hi/openapi/v1/openapi.localized.yaml POST /batches/files","href":"/hi/v1/api-reference/endpoint/batches-files-upload"},{"title":"बैच फ़ाइल प्राप्त करें","openapi":"hi/openapi/v1/openapi.localized.yaml GET /batches/files/{file_id}","href":"/hi/v1/api-reference/endpoint/batches-files-retrieve"},{"title":"बैच फ़ाइल की सामग्री डाउनलोड करें","openapi":"hi/openapi/v1/openapi.localized.yaml GET /batches/files/{file_id}/content","href":"/hi/v1/api-reference/endpoint/batches-files-content"},{"title":"बैच फ़ाइलें सूचीबद्ध करें","openapi":"hi/openapi/v1/openapi.localized.yaml GET /batches/files","href":"/hi/v1/api-reference/endpoint/batches-files-list"},{"title":"बैच मॉडल सूचीबद्ध करें","openapi":"hi/openapi/v1/openapi.localized.yaml GET /batches/models","href":"/hi/v1/api-reference/endpoint/batches-models"},{"title":"बैच प्रदाताओं की क्षमताएँ सूचीबद्ध करें","openapi":"hi/openapi/v1/openapi.localized.yaml GET /batches/capabilities","href":"/hi/v1/api-reference/endpoint/batches-capabilities"}]},{"group":"फ़ाइलें","expanded":true,"pages":[{"title":"फ़ाइल अपलोड करें","sidebarTitle":"फ़ाइल अपलोड करें","openapi":"hi/openapi/v1/openapi.localized.yaml POST /files","href":"/hi/v1/api-reference/endpoint/files"},{"title":"फ़ाइल प्राप्त करें","sidebarTitle":"फ़ाइल प्राप्त करें","openapi":"hi/openapi/v1/openapi.localized.yaml GET /files/{file_id}","href":"/hi/v1/api-reference/endpoint/files-retrieve"},{"title":"फ़ाइल की सामग्री डाउनलोड करें","sidebarTitle":"फ़ाइल की सामग्री डाउनलोड करें","tag":"बीटा","openapi":"hi/openapi/v1/openapi.localized.yaml GET /files/{file_id}/content","href":"/hi/v1/api-reference/endpoint/files-content"},{"title":"फ़ाइलों की सूची बनाएं","sidebarTitle":"फ़ाइलों की सूची बनाएं","openapi":"hi/openapi/v1/openapi.localized.yaml GET /files","href":"/hi/v1/api-reference/endpoint/files-list"}]},{"group":"वेबहुक एंडपॉइंट","tag":"Beta","expanded":true,"pages":[{"title":"webhook endpoint बनाएँ","openapi":"hi/openapi/v1/openapi.localized.yaml POST /webhook-endpoints","href":"/hi/v1/api-reference/endpoint/webhook-endpoints-create"},{"title":"webhook endpoint देखें","openapi":"hi/openapi/v1/openapi.localized.yaml GET /webhook-endpoints/{id}","href":"/hi/v1/api-reference/endpoint/webhook-endpoints-get"},{"title":"webhook endpoint अपडेट करें","openapi":"hi/openapi/v1/openapi.localized.yaml PATCH /webhook-endpoints/{id}","href":"/hi/v1/api-reference/endpoint/webhook-endpoints-update"},{"title":"webhook secret रोटेट करें","openapi":"hi/openapi/v1/openapi.localized.yaml POST /webhook-endpoints/{id}/rotate-secret","href":"/hi/v1/api-reference/endpoint/webhook-endpoints-rotate-secret"},{"title":"webhook endpoint हटाएँ","openapi":"hi/openapi/v1/openapi.localized.yaml DELETE /webhook-endpoints/{id}","href":"/hi/v1/api-reference/endpoint/webhook-endpoints-delete"},{"title":"webhook endpoints सूचीबद्ध करें","openapi":"hi/openapi/v1/openapi.localized.yaml GET /webhook-endpoints","href":"/hi/v1/api-reference/endpoint/webhook-endpoints-list"}]}]},{"group":"मॉडल और मूल्य","icon":"boxes","pages":[{"title":"मॉडल सूची","sidebarTitle":"मॉडल सूची","openapi":"hi/openapi/v1/openapi.localized.yaml GET /models","href":"/hi/v1/api-reference/endpoint/models"},{"title":"मॉडल एंडपॉइंट क्षमताएँ सूचीबद्ध करें","openapi":"hi/openapi/v1/openapi.localized.yaml GET /models/{author}/{slug}/endpoints","href":"/hi/v1/api-reference/endpoint/model-endpoints"},{"title":"प्रदाताओं की सूची बनाएं","sidebarTitle":"प्रदाताओं की सूची बनाएं","openapi":"hi/openapi/v1/openapi.localized.yaml GET /providers","href":"/hi/v1/api-reference/endpoint/providers"},{"title":"एंडपॉइंट सूचीबद्ध करें","sidebarTitle":"एंडपॉइंट सूचीबद्ध करें","openapi":"hi/openapi/v1/openapi.localized.yaml GET /endpoints","href":"/hi/v1/api-reference/endpoint/endpoints"},{"title":"मॉडल मूल्य सूचीबद्ध करें","sidebarTitle":"मॉडल मूल्य सूचीबद्ध करें","openapi":"hi/openapi/v1/openapi.localized.yaml GET /pricing/models","href":"/hi/v1/api-reference/endpoint/pricing-models"},{"title":"मूल्य की गणना करें","sidebarTitle":"मूल्य की गणना करें","openapi":"hi/openapi/v1/openapi.localized.yaml POST /pricing/calculate","href":"/hi/v1/api-reference/endpoint/pricing-calculate"},{"title":"संगठनों की सूची बनाएं","sidebarTitle":"संगठनों की सूची बनाएं","openapi":"hi/openapi/v1/openapi.localized.yaml GET /organisations","href":"/hi/v1/api-reference/endpoint/organisations"}]},{"group":"रूटिंग और नीतियाँ","icon":"route","pages":[{"group":"रूटिंग","expanded":false,"pages":[{"title":"वर्कस्पेस सेटिंग प्राप्त करें","sidebarTitle":"सेटिंग प्राप्त करें","openapi":"hi/openapi/v1/openapi.localized.yaml GET /settings","href":"/hi/v1/api-reference/endpoint/workspace-settings-get"},{"title":"वर्कस्पेस सेटिंग अपडेट करें","sidebarTitle":"सेटिंग अपडेट करें","openapi":"hi/openapi/v1/openapi.localized.yaml PATCH /settings","href":"/hi/v1/api-reference/endpoint/workspace-settings-update"},{"title":"डायनामिक रूट बनाएं","sidebarTitle":"रूट बनाएं","openapi":"hi/openapi/v1/openapi.localized.yaml POST /routing/dynamic-routes","href":"/hi/v1/api-reference/endpoint/dynamic-routes-create"},{"title":"डायनामिक रूट प्राप्त करें","sidebarTitle":"रूट प्राप्त करें","openapi":"hi/openapi/v1/openapi.localized.yaml GET /routing/dynamic-routes/{id}","href":"/hi/v1/api-reference/endpoint/dynamic-routes-get"},{"title":"डायनामिक रूट अपडेट करें","sidebarTitle":"रूट अपडेट करें","openapi":"hi/openapi/v1/openapi.localized.yaml PATCH /routing/dynamic-routes/{id}","href":"/hi/v1/api-reference/endpoint/dynamic-routes-update"},{"title":"डायनामिक रूट कुंजियाँ बदलें","sidebarTitle":"कुंजियाँ जोड़ें","openapi":"hi/openapi/v1/openapi.localized.yaml PUT /routing/dynamic-routes/{id}/keys","href":"/hi/v1/api-reference/endpoint/dynamic-routes-keys-update"},{"title":"डायनामिक रूट संस्करण डिप्लॉय करें","sidebarTitle":"संस्करण डिप्लॉय करें","openapi":"hi/openapi/v1/openapi.localized.yaml POST /routing/dynamic-routes/{id}/versions/{version}/deploy","href":"/hi/v1/api-reference/endpoint/dynamic-routes-deploy"},{"title":"डायनामिक रूट हटाएं","sidebarTitle":"रूट हटाएं","openapi":"hi/openapi/v1/openapi.localized.yaml DELETE /routing/dynamic-routes/{id}","href":"/hi/v1/api-reference/endpoint/dynamic-routes-delete"},{"title":"डायनामिक रूट की सूची बनाएं","sidebarTitle":"रूट की सूची बनाएं","openapi":"hi/openapi/v1/openapi.localized.yaml GET /routing/dynamic-routes","href":"/hi/v1/api-reference/endpoint/dynamic-routes-list"},{"title":"ऑटो-रूटिंग सेटिंग प्राप्त करें","sidebarTitle":"ऑटो-रूटिंग प्राप्त करें","openapi":"hi/openapi/v1/openapi.localized.yaml GET /routing/auto","href":"/hi/v1/api-reference/endpoint/routing-auto-get"},{"title":"ऑटो-रूटिंग सेटिंग अपडेट करें","sidebarTitle":"ऑटो-रूटिंग अपडेट करें","openapi":"hi/openapi/v1/openapi.localized.yaml PATCH /routing/auto","href":"/hi/v1/api-reference/endpoint/routing-auto-update"},{"title":"उत्तराधिकारी प्रतिस्थापन सूचीबद्ध करें","sidebarTitle":"प्रतिस्थापन सूचीबद्ध करें","openapi":"hi/openapi/v1/openapi.localized.yaml GET /routing/successor/replacements","href":"/hi/v1/api-reference/endpoint/successor-replacements-list"},{"title":"उत्तराधिकारी प्रतिस्थापन सहेजें","sidebarTitle":"प्रतिस्थापन सहेजें","openapi":"hi/openapi/v1/openapi.localized.yaml PUT /routing/successor/replacements","href":"/hi/v1/api-reference/endpoint/successor-replacements-save"},{"title":"उत्तराधिकारी प्रतिस्थापन हटाएँ","sidebarTitle":"प्रतिस्थापन हटाएँ","openapi":"hi/openapi/v1/openapi.localized.yaml DELETE /routing/successor/replacements","href":"/hi/v1/api-reference/endpoint/successor-replacements-remove"}]},{"group":"प्रीसेट","expanded":false,"pages":[{"title":"प्रीसेट बनाएं","sidebarTitle":"प्रीसेट बनाएं","openapi":"hi/openapi/v1/openapi.localized.yaml POST /presets","href":"/hi/v1/api-reference/endpoint/presets-create"},{"title":"प्रीसेट प्राप्त करें","sidebarTitle":"प्रीसेट प्राप्त करें","openapi":"hi/openapi/v1/openapi.localized.yaml GET /presets/{id}","href":"/hi/v1/api-reference/endpoint/presets-get"},{"title":"प्रीसेट ड्राफ़्ट अपडेट करें","sidebarTitle":"प्रीसेट अपडेट करें","openapi":"hi/openapi/v1/openapi.localized.yaml PATCH /presets/{id}","href":"/hi/v1/api-reference/endpoint/presets-update"},{"title":"प्रीसेट संस्करण प्रकाशित करें","sidebarTitle":"संस्करण प्रकाशित करें","openapi":"hi/openapi/v1/openapi.localized.yaml POST /presets/{id}/versions","href":"/hi/v1/api-reference/endpoint/presets-version-publish"},{"title":"प्रीसेट संस्करणों की सूची बनाएं","sidebarTitle":"संस्करणों की सूची बनाएं","openapi":"hi/openapi/v1/openapi.localized.yaml GET /presets/{id}/versions","href":"/hi/v1/api-reference/endpoint/presets-versions-list"},{"title":"प्रीसेट लेबल सूचीबद्ध करें","sidebarTitle":"लेबल सूचीबद्ध करें","openapi":"hi/openapi/v1/openapi.localized.yaml GET /presets/{id}/labels","href":"/hi/v1/api-reference/endpoint/presets-labels-list"},{"title":"प्रीसेट लेबल सेट करें","sidebarTitle":"लेबल सेट करें","openapi":"hi/openapi/v1/openapi.localized.yaml PUT /presets/{id}/labels/{label}","href":"/hi/v1/api-reference/endpoint/presets-label-set"},{"title":"प्रीसेट लेबल हटाएँ","sidebarTitle":"लेबल हटाएँ","openapi":"hi/openapi/v1/openapi.localized.yaml DELETE /presets/{id}/labels/{label}","href":"/hi/v1/api-reference/endpoint/presets-label-delete"},{"title":"सार्वजनिक प्रीसेट फोर्क करें","sidebarTitle":"प्रीसेट फोर्क करें","openapi":"hi/openapi/v1/openapi.localized.yaml POST /presets/{id}/fork","href":"/hi/v1/api-reference/endpoint/presets-fork"},{"title":"अपस्ट्रीम लागू करें preset version","sidebarTitle":"अपस्ट्रीम लागू करें","openapi":"hi/openapi/v1/openapi.localized.yaml POST /presets/{id}/upstream","href":"/hi/v1/api-reference/endpoint/presets-upstream-apply"},{"title":"प्रीसेट संग्रहित करें","sidebarTitle":"प्रीसेट संग्रहित करें","openapi":"hi/openapi/v1/openapi.localized.yaml DELETE /presets/{id}","href":"/hi/v1/api-reference/endpoint/presets-delete"},{"title":"प्रीसेट की सूची बनाएं","sidebarTitle":"प्रीसेट की सूची बनाएं","openapi":"hi/openapi/v1/openapi.localized.yaml GET /presets","href":"/hi/v1/api-reference/endpoint/presets-list"},{"title":"प्रीसेट प्रकाशक प्राप्त करें","sidebarTitle":"प्रकाशक प्राप्त करें","openapi":"hi/openapi/v1/openapi.localized.yaml GET /presets/publisher","href":"/hi/v1/api-reference/endpoint/presets-publisher-get"},{"title":"प्रीसेट प्रकाशक अपडेट करें","sidebarTitle":"प्रकाशक अपडेट करें","openapi":"hi/openapi/v1/openapi.localized.yaml PUT /presets/publisher","href":"/hi/v1/api-reference/endpoint/presets-publisher-update"}]},{"group":"निजी मॉडल","expanded":false,"pages":[{"title":"निजी मॉडल बनाएँ","sidebarTitle":"निजी मॉडल बनाएँ","openapi":"hi/openapi/v1/openapi.localized.yaml POST /private-models","href":"/hi/v1/api-reference/endpoint/private-models-create"},{"title":"निजी मॉडल प्राप्त करें","sidebarTitle":"निजी मॉडल प्राप्त करें","openapi":"hi/openapi/v1/openapi.localized.yaml GET /private-models/{id}","href":"/hi/v1/api-reference/endpoint/private-models-get"},{"title":"निजी मॉडल अपडेट करें","sidebarTitle":"निजी मॉडल अपडेट करें","openapi":"hi/openapi/v1/openapi.localized.yaml PATCH /private-models/{id}","href":"/hi/v1/api-reference/endpoint/private-models-update"},{"title":"निजी मॉडल हटाएँ","sidebarTitle":"निजी मॉडल हटाएँ","openapi":"hi/openapi/v1/openapi.localized.yaml DELETE /private-models/{id}","href":"/hi/v1/api-reference/endpoint/private-models-delete"},{"title":"निजी मॉडल सूचीबद्ध करें","sidebarTitle":"निजी मॉडल सूचीबद्ध करें","openapi":"hi/openapi/v1/openapi.localized.yaml GET /private-models","href":"/hi/v1/api-reference/endpoint/private-models-list"}]},{"group":"प्रदाता क्रेडेंशियल","expanded":false,"pages":[{"title":"प्रदाता क्रेडेंशियल बनाएँ","sidebarTitle":"क्रेडेंशियल बनाएँ","openapi":"hi/openapi/v1/openapi.localized.yaml POST /byok","href":"/hi/v1/api-reference/endpoint/provider-credentials-create"},{"title":"प्रदाता क्रेडेंशियल प्राप्त करें","sidebarTitle":"क्रेडेंशियल प्राप्त करें","openapi":"hi/openapi/v1/openapi.localized.yaml GET /byok/{id}","href":"/hi/v1/api-reference/endpoint/provider-credentials-get"},{"title":"प्रदाता क्रेडेंशियल अपडेट करें","sidebarTitle":"क्रेडेंशियल अपडेट करें","openapi":"hi/openapi/v1/openapi.localized.yaml PATCH /byok/{id}","href":"/hi/v1/api-reference/endpoint/provider-credentials-update"},{"title":"प्रदाता क्रेडेंशियल क्रम बदलें","sidebarTitle":"क्रेडेंशियल क्रम बदलें","openapi":"hi/openapi/v1/openapi.localized.yaml POST /byok/reorder","href":"/hi/v1/api-reference/endpoint/provider-credentials-reorder"},{"title":"प्रदाता क्रेडेंशियल हटाएं","sidebarTitle":"क्रेडेंशियल हटाएं","openapi":"hi/openapi/v1/openapi.localized.yaml DELETE /byok/{id}","href":"/hi/v1/api-reference/endpoint/provider-credentials-delete"},{"title":"प्रदाता क्रेडेंशियल की सूची बनाएं","sidebarTitle":"क्रेडेंशियल की सूची बनाएं","openapi":"hi/openapi/v1/openapi.localized.yaml GET /byok","href":"/hi/v1/api-reference/endpoint/provider-credentials-list"}]},{"group":"गार्डरेल","expanded":false,"pages":[{"icon":"shield-check","title":"गार्डरेल API","sidebarTitle":"अवलोकन","href":"/hi/v1/api-reference/endpoint/guardrails"},{"title":"गार्डरेल बनाएं","sidebarTitle":"गार्डरेल बनाएं","openapi":"hi/openapi/v1/openapi.localized.yaml POST /guardrails","href":"/hi/v1/api-reference/endpoint/guardrails-create"},{"title":"गार्डरेल प्राप्त करें","sidebarTitle":"गार्डरेल प्राप्त करें","openapi":"hi/openapi/v1/openapi.localized.yaml GET /guardrails/{id}","href":"/hi/v1/api-reference/endpoint/guardrails-get"},{"title":"गार्डरेल अपडेट करें","sidebarTitle":"गार्डरेल अपडेट करें","openapi":"hi/openapi/v1/openapi.localized.yaml PATCH /guardrails/{id}","href":"/hi/v1/api-reference/endpoint/guardrails-update"},{"title":"गार्डरेल हटाएं","sidebarTitle":"गार्डरेल हटाएं","openapi":"hi/openapi/v1/openapi.localized.yaml DELETE /guardrails/{id}","href":"/hi/v1/api-reference/endpoint/guardrails-delete"},{"title":"गार्डरेल की सूची बनाएं","sidebarTitle":"गार्डरेल की सूची बनाएं","openapi":"hi/openapi/v1/openapi.localized.yaml GET /guardrails","href":"/hi/v1/api-reference/endpoint/guardrails-list"},{"title":"गार्डरेल कुंजियाँ जोड़ें","sidebarTitle":"असाइन की गई कुंजियाँ जोड़ें","openapi":"hi/openapi/v1/openapi.localized.yaml POST /guardrails/{id}/keys/add","href":"/hi/v1/api-reference/endpoint/guardrail-keys-add"},{"title":"गार्डरेल कुंजियाँ बदलें","sidebarTitle":"असाइन की गई कुंजियाँ बदलें","openapi":"hi/openapi/v1/openapi.localized.yaml PUT /guardrails/{id}/keys","href":"/hi/v1/api-reference/endpoint/guardrail-keys-replace"},{"title":"गार्डरेल कुंजियाँ हटाएं","sidebarTitle":"असाइन की गई कुंजियाँ हटाएं","openapi":"hi/openapi/v1/openapi.localized.yaml POST /guardrails/{id}/keys/remove","href":"/hi/v1/api-reference/endpoint/guardrail-keys-remove"},{"title":"गार्डरेल कुंजियों की सूची बनाएं","sidebarTitle":"असाइन की गई कुंजियों की सूची बनाएं","openapi":"hi/openapi/v1/openapi.localized.yaml GET /guardrails/{id}/keys","href":"/hi/v1/api-reference/endpoint/guardrail-keys-list"},{"title":"गार्डरेल सदस्य जोड़ें","sidebarTitle":"असाइन किए गए सदस्य जोड़ें","openapi":"hi/openapi/v1/openapi.localized.yaml POST /guardrails/{id}/members/add","href":"/hi/v1/api-reference/endpoint/guardrail-members-add"},{"title":"गार्डरेल सदस्य हटाएं","sidebarTitle":"असाइन किए गए सदस्य हटाएं","openapi":"hi/openapi/v1/openapi.localized.yaml POST /guardrails/{id}/members/remove","href":"/hi/v1/api-reference/endpoint/guardrail-members-remove"},{"title":"गार्डरेल सदस्यों की सूची बनाएं","sidebarTitle":"असाइन किए गए सदस्यों की सूची बनाएं","openapi":"hi/openapi/v1/openapi.localized.yaml GET /guardrails/{id}/members","href":"/hi/v1/api-reference/endpoint/guardrail-members-list"}]}]},{"group":"उपयोग और निगरानी","icon":"chart-no-axes-combined","pages":[{"group":"उपयोग और एनालिटिक्स","expanded":true,"pages":[{"title":"जनरेशन प्राप्त करें","sidebarTitle":"जनरेशन प्राप्त करें","openapi":"hi/openapi/v1/openapi.localized.yaml GET /generations","href":"/hi/v1/api-reference/endpoint/generation"},{"title":"गतिविधि सूचीबद्ध करें","sidebarTitle":"गतिविधि सूचीबद्ध करें","openapi":"hi/openapi/v1/openapi.localized.yaml GET /activity","href":"/hi/v1/api-reference/endpoint/activity"},{"title":"वर्कस्पेस ऑडिट इवेंट सूचीबद्ध करें","sidebarTitle":"ऑडिट इवेंट","openapi":"hi/openapi/v1/openapi.localized.yaml GET /audit-events","href":"/hi/v1/api-reference/endpoint/audit-events"},{"title":"वर्कस्पेस विश्लेषण प्राप्त करें","sidebarTitle":"विश्लेषण प्राप्त करें","openapi":"hi/openapi/v1/openapi.localized.yaml GET /analytics","href":"/hi/v1/api-reference/endpoint/analytics-get"},{"title":"वर्कस्पेस एनालिटिक्स एक्सपोर्ट करें","sidebarTitle":"एनालिटिक्स एक्सपोर्ट करें","openapi":"hi/openapi/v1/openapi.localized.yaml GET /analytics/export","href":"/hi/v1/api-reference/endpoint/analytics-export"},{"title":"गेटवे की स्थिति जाँचें","sidebarTitle":"स्थिति जाँच","openapi":"hi/openapi/v1/openapi.localized.yaml GET /health","href":"/hi/v1/api-reference/endpoint/health"}]},{"group":"लॉग","expanded":true,"pages":[{"title":"Gateway अनुरोध लॉग सूचीबद्ध करें","tag":"बीटा","openapi":"hi/openapi/v1/openapi.localized.yaml GET /logs","href":"/hi/v1/api-reference/endpoint/logs-list"},{"title":"Gateway अनुरोध लॉग देखें","tag":"बीटा","openapi":"hi/openapi/v1/openapi.localized.yaml GET /logs/{requestId}","href":"/hi/v1/api-reference/endpoint/logs-get"}]},{"group":"अवलोकनीयता","expanded":true,"pages":[{"title":"ऑब्ज़र्वेबिलिटी लॉगिंग नीति प्राप्त करें","sidebarTitle":"लॉगिंग नीति प्राप्त करें","openapi":"hi/openapi/v1/openapi.localized.yaml GET /observability/logging-policy","href":"/hi/v1/api-reference/endpoint/observability-logging-policy-get"},{"title":"ऑब्ज़र्वेबिलिटी लॉगिंग नीति अपडेट करें","sidebarTitle":"लॉगिंग नीति अपडेट करें","openapi":"hi/openapi/v1/openapi.localized.yaml PATCH /observability/logging-policy","href":"/hi/v1/api-reference/endpoint/observability-logging-policy-update"},{"title":"ऑब्ज़र्वेबिलिटी गंतव्य बनाएं","sidebarTitle":"गंतव्य बनाएं","openapi":"hi/openapi/v1/openapi.localized.yaml POST /observability/destinations","href":"/hi/v1/api-reference/endpoint/observability-destinations-create"},{"title":"ऑब्ज़र्वेबिलिटी गंतव्य प्राप्त करें","sidebarTitle":"गंतव्य प्राप्त करें","openapi":"hi/openapi/v1/openapi.localized.yaml GET /observability/destinations/{id}","href":"/hi/v1/api-reference/endpoint/observability-destinations-get"},{"title":"ऑब्ज़र्वेबिलिटी डेस्टिनेशन अपडेट करें","sidebarTitle":"डेस्टिनेशन अपडेट करें","openapi":"hi/openapi/v1/openapi.localized.yaml PATCH /observability/destinations/{id}","href":"/hi/v1/api-reference/endpoint/observability-destinations-update"},{"title":"ऑब्ज़र्वेबिलिटी गंतव्य हटाएं","sidebarTitle":"गंतव्य हटाएं","openapi":"hi/openapi/v1/openapi.localized.yaml DELETE /observability/destinations/{id}","href":"/hi/v1/api-reference/endpoint/observability-destinations-delete"},{"title":"ऑब्ज़र्वेबिलिटी गंतव्यों की सूची बनाएं","sidebarTitle":"गंतव्यों की सूची बनाएं","openapi":"hi/openapi/v1/openapi.localized.yaml GET /observability/destinations","href":"/hi/v1/api-reference/endpoint/observability-destinations-list"},{"title":"डेस्टिनेशन सेटिंग का परीक्षण करें","sidebarTitle":"सेटिंग का परीक्षण करें","openapi":"hi/openapi/v1/openapi.localized.yaml POST /observability/destinations/test","href":"/hi/v1/api-reference/endpoint/observability-destinations-test-config"},{"title":"डेस्टिनेशन का कनेक्शन जाँचें","sidebarTitle":"कनेक्शन जाँचें","openapi":"hi/openapi/v1/openapi.localized.yaml POST /observability/destinations/{id}/test","href":"/hi/v1/api-reference/endpoint/observability-destinations-test"},{"title":"नमूना ट्रेस भेजें","sidebarTitle":"नमूना ट्रेस भेजें","openapi":"hi/openapi/v1/openapi.localized.yaml POST /observability/destinations/{id}/sample","href":"/hi/v1/api-reference/endpoint/observability-destinations-sample"},{"title":"अनुरोध क्लासिफ़ायर का परीक्षण करें","sidebarTitle":"क्लासिफ़ायर का परीक्षण करें","openapi":"hi/openapi/v1/openapi.localized.yaml POST /classifiers/test","href":"/hi/v1/api-reference/endpoint/classifiers-test"}]},{"group":"फ़ीडबैक और मूल्यांकन","tag":"Beta","expanded":false,"pages":[{"title":"Gateway feedback बनाएँ","openapi":"hi/openapi/v1/openapi.localized.yaml POST /feedback","href":"/hi/v1/api-reference/endpoint/feedback-create"},{"title":"Gateway feedback सूचीबद्ध करें","openapi":"hi/openapi/v1/openapi.localized.yaml GET /feedback","href":"/hi/v1/api-reference/endpoint/feedback-list"},{"title":"Gateway feedback का सारांश बनाएँ","openapi":"hi/openapi/v1/openapi.localized.yaml GET /feedback/summary","href":"/hi/v1/api-reference/endpoint/feedback-summary"},{"title":"observability event बनाएँ","openapi":"hi/openapi/v1/openapi.localized.yaml POST /events","href":"/hi/v1/api-reference/endpoint/events-create"},{"title":"observability events सूचीबद्ध करें","openapi":"hi/openapi/v1/openapi.localized.yaml GET /events","href":"/hi/v1/api-reference/endpoint/events-list"},{"title":"preset test run बनाएँ","openapi":"hi/openapi/v1/openapi.localized.yaml POST /preset-test-runs","href":"/hi/v1/api-reference/endpoint/preset-test-run-create"},{"title":"preset test run देखें","openapi":"hi/openapi/v1/openapi.localized.yaml GET /preset-test-runs/{id}","href":"/hi/v1/api-reference/endpoint/preset-test-run-get"},{"title":"preset test run अपडेट करें","openapi":"hi/openapi/v1/openapi.localized.yaml PATCH /preset-test-runs/{id}","href":"/hi/v1/api-reference/endpoint/preset-test-run-update"},{"title":"preset test runs सूचीबद्ध करें","openapi":"hi/openapi/v1/openapi.localized.yaml GET /preset-test-runs","href":"/hi/v1/api-reference/endpoint/preset-test-runs-list"}]}]},{"group":"वर्कस्पेस प्रबंधन","icon":"users","pages":[{"group":"कार्यस्थान","expanded":false,"pages":[{"title":"वर्कस्पेस बनाएं","sidebarTitle":"वर्कस्पेस बनाएं","openapi":"hi/openapi/v1/openapi.localized.yaml POST /workspaces","href":"/hi/v1/api-reference/endpoint/workspaces-create"},{"title":"वर्कस्पेस प्राप्त करें","sidebarTitle":"वर्कस्पेस प्राप्त करें","openapi":"hi/openapi/v1/openapi.localized.yaml GET /workspaces/{id}","href":"/hi/v1/api-reference/endpoint/workspaces-get"},{"title":"वर्कस्पेस अपडेट करें","sidebarTitle":"वर्कस्पेस अपडेट करें","openapi":"hi/openapi/v1/openapi.localized.yaml PATCH /workspaces/{id}","href":"/hi/v1/api-reference/endpoint/workspaces-update"},{"title":"वर्कस्पेस हटाएं","sidebarTitle":"वर्कस्पेस हटाएं","openapi":"hi/openapi/v1/openapi.localized.yaml DELETE /workspaces/{id}","href":"/hi/v1/api-reference/endpoint/workspaces-delete"},{"title":"वर्कस्पेस की सूची बनाएं","sidebarTitle":"वर्कस्पेस की सूची बनाएं","openapi":"hi/openapi/v1/openapi.localized.yaml GET /workspaces","href":"/hi/v1/api-reference/endpoint/workspaces-list"},{"title":"वर्कस्पेस सदस्य जोड़ें","sidebarTitle":"सदस्य जोड़ें","openapi":"hi/openapi/v1/openapi.localized.yaml POST /workspaces/{id}/members/add","href":"/hi/v1/api-reference/endpoint/workspace-members-add"},{"title":"वर्कस्पेस सदस्य की भूमिका अपडेट करें","sidebarTitle":"सदस्य की भूमिका अपडेट करें","openapi":"hi/openapi/v1/openapi.localized.yaml PATCH /workspaces/{id}/members/{user_id}","href":"/hi/v1/api-reference/endpoint/workspace-member-role-update"},{"title":"वर्कस्पेस सदस्य हटाएं","sidebarTitle":"सदस्य हटाएं","openapi":"hi/openapi/v1/openapi.localized.yaml POST /workspaces/{id}/members/remove","href":"/hi/v1/api-reference/endpoint/workspace-members-remove"},{"title":"वर्कस्पेस सदस्यों की सूची बनाएं","sidebarTitle":"सदस्यों की सूची बनाएं","openapi":"hi/openapi/v1/openapi.localized.yaml GET /workspaces/{id}/members","href":"/hi/v1/api-reference/endpoint/workspace-members-list"},{"title":"वर्कस्पेस आमंत्रण बनाएं","sidebarTitle":"आमंत्रण बनाएं","openapi":"hi/openapi/v1/openapi.localized.yaml POST /workspaces/{id}/invites","href":"/hi/v1/api-reference/endpoint/workspace-invites-create"},{"title":"वर्कस्पेस आमंत्रण हटाएं","sidebarTitle":"आमंत्रण हटाएं","openapi":"hi/openapi/v1/openapi.localized.yaml DELETE /workspaces/{id}/invites/{invite_id}","href":"/hi/v1/api-reference/endpoint/workspace-invites-delete"},{"title":"वर्कस्पेस आमंत्रणों की सूची बनाएं","sidebarTitle":"आमंत्रणों की सूची बनाएं","openapi":"hi/openapi/v1/openapi.localized.yaml GET /workspaces/{id}/invites","href":"/hi/v1/api-reference/endpoint/workspace-invites-list"},{"title":"वर्कस्पेस में शामिल होने के अनुरोधों की सूची बनाएं","sidebarTitle":"शामिल होने के अनुरोधों की सूची बनाएं","openapi":"hi/openapi/v1/openapi.localized.yaml GET /workspaces/{id}/join-requests","href":"/hi/v1/api-reference/endpoint/workspace-join-requests-list"},{"title":"वर्कस्पेस में शामिल होने के अनुरोध को मंज़ूरी दें","sidebarTitle":"शामिल होने का अनुरोध मंज़ूर करें","openapi":"hi/openapi/v1/openapi.localized.yaml POST /workspaces/{id}/join-requests/{request_id}/approve","href":"/hi/v1/api-reference/endpoint/workspace-join-request-approve"},{"title":"वर्कस्पेस में शामिल होने का अनुरोध अस्वीकार करें","sidebarTitle":"शामिल होने का अनुरोध अस्वीकार करें","openapi":"hi/openapi/v1/openapi.localized.yaml POST /workspaces/{id}/join-requests/{request_id}/reject","href":"/hi/v1/api-reference/endpoint/workspace-join-request-reject"},{"title":"वर्कस्पेस आमंत्रण स्वीकार करें","sidebarTitle":"आमंत्रण स्वीकार करें","openapi":"hi/openapi/v1/openapi.localized.yaml POST /invites/accept","href":"/hi/v1/api-reference/endpoint/invites-accept"},{"title":"अपने शामिल होने के अनुरोध सूचीबद्ध करें","sidebarTitle":"अपने अनुरोध सूचीबद्ध करें","openapi":"hi/openapi/v1/openapi.localized.yaml GET /invites/requests","href":"/hi/v1/api-reference/endpoint/invites-requests-list"},{"title":"रेट लिमिट टियर प्राप्त करें","sidebarTitle":"रेट लिमिट टियर प्राप्त करें","openapi":"hi/openapi/v1/openapi.localized.yaml GET /rate-limits/tier","href":"/hi/v1/api-reference/endpoint/rate-limits-tier-get"},{"title":"रेट लिमिट टियर बढ़ाएँ","sidebarTitle":"रेट लिमिट टियर बढ़ाएँ","openapi":"hi/openapi/v1/openapi.localized.yaml POST /rate-limits/tier/raise","href":"/hi/v1/api-reference/endpoint/rate-limits-tier-raise"}]},{"group":"API कुंजियाँ","expanded":false,"pages":[{"title":"मौजूदा API कुंजी प्राप्त करें","sidebarTitle":"मौजूदा API कुंजी प्राप्त करें","openapi":"hi/openapi/v1/openapi.localized.yaml GET /key","href":"/hi/v1/api-reference/endpoint/key-current"},{"title":"API कुंजी बनाएँ","sidebarTitle":"API कुंजी बनाएँ","openapi":"hi/openapi/v1/openapi.localized.yaml POST /keys","href":"/hi/v1/api-reference/endpoint/keys-create"},{"title":"API कुंजी प्राप्त करें","sidebarTitle":"API कुंजी प्राप्त करें","openapi":"hi/openapi/v1/openapi.localized.yaml GET /keys/{id}","href":"/hi/v1/api-reference/endpoint/keys-get"},{"title":"API कुंजी अपडेट करें","sidebarTitle":"API कुंजी अपडेट करें","openapi":"hi/openapi/v1/openapi.localized.yaml PATCH /keys/{id}","href":"/hi/v1/api-reference/endpoint/keys-update"},{"title":"API कुंजी रोटेट करें","openapi":"hi/openapi/v1/openapi.localized.yaml POST /keys/{id}/rotate","href":"/hi/v1/api-reference/endpoint/keys-rotate"},{"title":"API कुंजी का कैश अमान्य करें","openapi":"hi/openapi/v1/openapi.localized.yaml POST /keys/{id}/invalidate","href":"/hi/v1/api-reference/endpoint/keys-invalidate"},{"title":"API कुंजी हटाएं","sidebarTitle":"API कुंजी हटाएं","openapi":"hi/openapi/v1/openapi.localized.yaml DELETE /keys/{id}","href":"/hi/v1/api-reference/endpoint/keys-delete"},{"title":"API कुंजियों की सूची बनाएं","sidebarTitle":"API कुंजियों की सूची बनाएं","openapi":"hi/openapi/v1/openapi.localized.yaml GET /keys","href":"/hi/v1/api-reference/endpoint/keys-list"},{"title":"लीक हुई API कुंजी की रिपोर्ट करें","sidebarTitle":"लीक कुंजी की रिपोर्ट करें","openapi":"hi/openapi/v1/openapi.localized.yaml POST /security/report-leaked-key","href":"/hi/v1/api-reference/endpoint/security-report-leaked-key"},{"title":"भरोसेमंद वर्कलोड पॉलिसी की सूची देखें","sidebarTitle":"भरोसेमंद वर्कलोड पॉलिसी की सूची देखें","openapi":"hi/openapi/v1/openapi.localized.yaml GET /workload-identity/policies","href":"/hi/v1/api-reference/endpoint/trusted-workloads-list"},{"title":"भरोसेमंद वर्कलोड पॉलिसी बनाएँ","sidebarTitle":"भरोसेमंद वर्कलोड पॉलिसी बनाएँ","openapi":"hi/openapi/v1/openapi.localized.yaml POST /workload-identity/policies","href":"/hi/v1/api-reference/endpoint/trusted-workloads-create"},{"title":"भरोसेमंद वर्कलोड पॉलिसी प्राप्त करें","sidebarTitle":"भरोसेमंद वर्कलोड पॉलिसी प्राप्त करें","openapi":"hi/openapi/v1/openapi.localized.yaml GET /workload-identity/policies/{id}","href":"/hi/v1/api-reference/endpoint/trusted-workloads-get"},{"title":"भरोसेमंद वर्कलोड पॉलिसी अपडेट करें","sidebarTitle":"भरोसेमंद वर्कलोड पॉलिसी अपडेट करें","openapi":"hi/openapi/v1/openapi.localized.yaml PATCH /workload-identity/policies/{id}","href":"/hi/v1/api-reference/endpoint/trusted-workloads-update"},{"title":"भरोसेमंद वर्कलोड पॉलिसी हटाएँ","sidebarTitle":"भरोसेमंद वर्कलोड पॉलिसी हटाएँ","openapi":"hi/openapi/v1/openapi.localized.yaml DELETE /workload-identity/policies/{id}","href":"/hi/v1/api-reference/endpoint/trusted-workloads-delete"}]},{"group":"प्रबंधन कुंजियाँ","expanded":false,"pages":[{"title":"प्रबंधन कुंजी बनाएँ","sidebarTitle":"प्रबंधन कुंजी बनाएँ","openapi":"hi/openapi/v1/openapi.localized.yaml POST /management-keys","href":"/hi/v1/api-reference/endpoint/management-keys-create"},{"title":"प्रबंधन कुंजी प्राप्त करें","sidebarTitle":"प्रबंधन कुंजी प्राप्त करें","openapi":"hi/openapi/v1/openapi.localized.yaml GET /management-keys/{id}","href":"/hi/v1/api-reference/endpoint/management-keys-get"},{"title":"प्रबंधन कुंजी अपडेट करें","sidebarTitle":"प्रबंधन कुंजी अपडेट करें","openapi":"hi/openapi/v1/openapi.localized.yaml PATCH /management-keys/{id}","href":"/hi/v1/api-reference/endpoint/management-keys-update"},{"title":"प्रबंधन कुंजी हटाएं","sidebarTitle":"प्रबंधन कुंजी हटाएं","openapi":"hi/openapi/v1/openapi.localized.yaml DELETE /management-keys/{id}","href":"/hi/v1/api-reference/endpoint/management-keys-delete"},{"title":"प्रबंधन कुंजियों की सूची बनाएं","sidebarTitle":"प्रबंधन कुंजियों की सूची बनाएं","openapi":"hi/openapi/v1/openapi.localized.yaml GET /management-keys","href":"/hi/v1/api-reference/endpoint/management-keys-list"}]},{"group":"क्रेडिट और बजट","expanded":false,"pages":[{"title":"क्रेडिट देखें","sidebarTitle":"क्रेडिट देखें","openapi":"hi/openapi/v1/openapi.localized.yaml GET /credits","href":"/hi/v1/api-reference/endpoint/credits"},{"title":"वर्कस्पेस बजट बनाएं","sidebarTitle":"बजट बनाएं","openapi":"hi/openapi/v1/openapi.localized.yaml POST /budgets","href":"/hi/v1/api-reference/endpoint/budgets-create"},{"title":"वर्कस्पेस बजट प्राप्त करें","sidebarTitle":"बजट प्राप्त करें","openapi":"hi/openapi/v1/openapi.localized.yaml GET /budgets/{id}","href":"/hi/v1/api-reference/endpoint/budgets-get"},{"title":"वर्कस्पेस बजट अपडेट करें","sidebarTitle":"बजट अपडेट करें","openapi":"hi/openapi/v1/openapi.localized.yaml PATCH /budgets/{id}","href":"/hi/v1/api-reference/endpoint/budgets-update"},{"title":"वर्कस्पेस बजट हटाएं","sidebarTitle":"बजट हटाएं","openapi":"hi/openapi/v1/openapi.localized.yaml DELETE /budgets/{id}","href":"/hi/v1/api-reference/endpoint/budgets-delete"},{"title":"वर्कस्पेस बजट सूचीबद्ध करें","sidebarTitle":"बजट सूचीबद्ध करें","openapi":"hi/openapi/v1/openapi.localized.yaml GET /budgets","description":"वर्कस्पेस की लागू खर्च सीमाओं को वर्तमान उपयोग और शेष राशि के साथ सूचीबद्ध करें।","href":"/hi/v1/api-reference/endpoint/budgets-list"}]},{"group":"खर्च नियम","tag":"Beta","expanded":false,"pages":[{"title":"खर्च नियम बनाएँ","sidebarTitle":"नियम बनाएँ","openapi":"hi/openapi/v1/openapi.localized.yaml POST /spend-rules","href":"/hi/v1/api-reference/endpoint/spend-rules-create"},{"title":"खर्च नियम प्राप्त करें","sidebarTitle":"नियम प्राप्त करें","openapi":"hi/openapi/v1/openapi.localized.yaml GET /spend-rules/{id}","description":"एक खर्च नियम प्राप्त करता है।","href":"/hi/v1/api-reference/endpoint/spend-rules-get"},{"title":"खर्च नियम अपडेट करें","sidebarTitle":"नियम अपडेट करें","openapi":"hi/openapi/v1/openapi.localized.yaml PATCH /spend-rules/{id}","href":"/hi/v1/api-reference/endpoint/spend-rules-update"},{"title":"खर्च नियम हटाएँ","sidebarTitle":"नियम हटाएँ","openapi":"hi/openapi/v1/openapi.localized.yaml DELETE /spend-rules/{id}","href":"/hi/v1/api-reference/endpoint/spend-rules-delete"},{"title":"खर्च नियमों की सूची","sidebarTitle":"नियमों की सूची","openapi":"hi/openapi/v1/openapi.localized.yaml GET /spend-rules","href":"/hi/v1/api-reference/endpoint/spend-rules-list"},{"title":"खर्च नियम का पूर्वावलोकन","sidebarTitle":"नियम का पूर्वावलोकन","openapi":"hi/openapi/v1/openapi.localized.yaml GET /spend-rules/{id}/preview","href":"/hi/v1/api-reference/endpoint/spend-rules-preview"},{"title":"टेस्ट खर्च अलर्ट भेजें","sidebarTitle":"टेस्ट भेजें","openapi":"hi/openapi/v1/openapi.localized.yaml POST /spend-rules/{id}/test","href":"/hi/v1/api-reference/endpoint/spend-rules-test"},{"title":"खर्च नियम का इतिहास","sidebarTitle":"नियम का इतिहास","openapi":"hi/openapi/v1/openapi.localized.yaml GET /spend-rules/{id}/history","href":"/hi/v1/api-reference/endpoint/spend-rules-history"},{"title":"खर्च ब्लॉक की सूची","sidebarTitle":"ब्लॉक की सूची","openapi":"hi/openapi/v1/openapi.localized.yaml GET /spend-blocks","href":"/hi/v1/api-reference/endpoint/spend-blocks-list"},{"title":"खर्च ब्लॉक हटाएँ","sidebarTitle":"ब्लॉक हटाएँ","openapi":"hi/openapi/v1/openapi.localized.yaml POST /spend-blocks/{id}/lift","href":"/hi/v1/api-reference/endpoint/spend-blocks-lift"}]},{"group":"OAuth ऐप्लिकेशन","tag":"Beta","expanded":false,"pages":[{"title":"OAuth client बनाएँ","openapi":"hi/openapi/v1/openapi.localized.yaml POST /oauth-clients","href":"/hi/v1/api-reference/endpoint/oauth-clients-create"},{"title":"OAuth client देखें","openapi":"hi/openapi/v1/openapi.localized.yaml GET /oauth-clients/{client_id}","href":"/hi/v1/api-reference/endpoint/oauth-clients-get"},{"title":"OAuth client अपडेट करें","openapi":"hi/openapi/v1/openapi.localized.yaml PATCH /oauth-clients/{client_id}","href":"/hi/v1/api-reference/endpoint/oauth-clients-update"},{"title":"OAuth secret फिर से बनाएँ","openapi":"hi/openapi/v1/openapi.localized.yaml POST /oauth-clients/{client_id}/regenerate-secret","href":"/hi/v1/api-reference/endpoint/oauth-clients-regenerate-secret"},{"title":"OAuth client हटाएँ","openapi":"hi/openapi/v1/openapi.localized.yaml DELETE /oauth-clients/{client_id}","href":"/hi/v1/api-reference/endpoint/oauth-clients-delete"},{"title":"OAuth clients सूचीबद्ध करें","openapi":"hi/openapi/v1/openapi.localized.yaml GET /oauth-clients","href":"/hi/v1/api-reference/endpoint/oauth-clients-list"},{"title":"साइन-इन उपयोगकर्ता प्राप्त करें","sidebarTitle":"साइन-इन उपयोगकर्ता प्राप्त करें","openapi":"hi/openapi/v1/openapi.localized.yaml GET /me","href":"/hi/v1/api-reference/endpoint/me-get"},{"title":"अपनी प्रोफ़ाइल प्राप्त करें","sidebarTitle":"प्रोफ़ाइल प्राप्त करें","openapi":"hi/openapi/v1/openapi.localized.yaml GET /me/profile","href":"/hi/v1/api-reference/endpoint/profile-get"},{"title":"अपनी प्रोफ़ाइल अपडेट करें","sidebarTitle":"प्रोफ़ाइल अपडेट करें","openapi":"hi/openapi/v1/openapi.localized.yaml PATCH /me/profile","href":"/hi/v1/api-reference/endpoint/profile-update"},{"title":"अधिकृत ऐप्स सूचीबद्ध करें","sidebarTitle":"अधिकृत ऐप्स सूचीबद्ध करें","openapi":"hi/openapi/v1/openapi.localized.yaml GET /me/authorized-apps","href":"/hi/v1/api-reference/endpoint/authorized-apps-list"},{"title":"अधिकृत ऐप से स्कोप हटाएँ","sidebarTitle":"ऐप स्कोप घटाएँ","openapi":"hi/openapi/v1/openapi.localized.yaml PATCH /me/authorized-apps/{id}","href":"/hi/v1/api-reference/endpoint/authorized-apps-update-scopes"},{"title":"अधिकृत ऐप रद्द करें","sidebarTitle":"अधिकृत ऐप रद्द करें","openapi":"hi/openapi/v1/openapi.localized.yaml DELETE /me/authorized-apps/{id}","href":"/hi/v1/api-reference/endpoint/authorized-apps-revoke"}]},{"group":"SSO और SCIM","tag":"Beta","expanded":false,"pages":[{"title":"वर्कस्पेस SSO देखें","openapi":"hi/openapi/v1/openapi.localized.yaml GET /identity/sso","href":"/hi/v1/api-reference/endpoint/identity-sso-get"},{"title":"वर्कस्पेस SSO अपडेट करें","openapi":"hi/openapi/v1/openapi.localized.yaml PUT /identity/sso","href":"/hi/v1/api-reference/endpoint/identity-sso-update"},{"title":"वर्कस्पेस SCIM देखें","openapi":"hi/openapi/v1/openapi.localized.yaml GET /identity/scim","href":"/hi/v1/api-reference/endpoint/identity-scim-get"},{"title":"वर्कस्पेस SCIM अपडेट करें","openapi":"hi/openapi/v1/openapi.localized.yaml PUT /identity/scim","href":"/hi/v1/api-reference/endpoint/identity-scim-update"},{"title":"SCIM token बनाएँ","openapi":"hi/openapi/v1/openapi.localized.yaml POST /identity/scim/tokens","href":"/hi/v1/api-reference/endpoint/identity-scim-token-create"},{"title":"SCIM token रद्द करें","openapi":"hi/openapi/v1/openapi.localized.yaml DELETE /identity/scim/tokens/{id}","href":"/hi/v1/api-reference/endpoint/identity-scim-token-revoke"},{"title":"SCIM audit events सूचीबद्ध करें","openapi":"hi/openapi/v1/openapi.localized.yaml GET /identity/scim/audit","href":"/hi/v1/api-reference/endpoint/identity-scim-audit-list"}]},{"group":"डायरेक्टरी और विभाग","tag":"Beta","expanded":false,"pages":[{"title":"वर्कस्पेस डायरेक्टरी देखें","openapi":"hi/openapi/v1/openapi.localized.yaml GET /identity/directory","href":"/hi/v1/api-reference/endpoint/identity-directory-get"},{"title":"डायरेक्टरी सदस्य अपडेट करें","openapi":"hi/openapi/v1/openapi.localized.yaml PUT /identity/directory/members/{id}","href":"/hi/v1/api-reference/endpoint/identity-directory-member-update"},{"title":"वर्कस्पेस विभाग बनाएं","openapi":"hi/openapi/v1/openapi.localized.yaml POST /identity/departments","href":"/hi/v1/api-reference/endpoint/identity-department-create"},{"title":"वर्कस्पेस विभाग अपडेट करें","openapi":"hi/openapi/v1/openapi.localized.yaml PATCH /identity/departments/{id}","href":"/hi/v1/api-reference/endpoint/identity-department-update"},{"title":"वर्कस्पेस विभाग हटाएँ","openapi":"hi/openapi/v1/openapi.localized.yaml DELETE /identity/departments/{id}","href":"/hi/v1/api-reference/endpoint/identity-department-delete"},{"title":"वर्कस्पेस विभाग सूचीबद्ध करें","openapi":"hi/openapi/v1/openapi.localized.yaml GET /identity/departments","href":"/hi/v1/api-reference/endpoint/identity-departments-list"},{"title":"विभाग की सदस्यता सेट करें","openapi":"hi/openapi/v1/openapi.localized.yaml PUT /identity/departments/{departmentId}/members/{userId}","href":"/hi/v1/api-reference/endpoint/identity-department-member-set"},{"title":"विभाग की सदस्यता हटाएं","openapi":"hi/openapi/v1/openapi.localized.yaml DELETE /identity/departments/{departmentId}/members/{userId}","href":"/hi/v1/api-reference/endpoint/identity-department-member-delete"},{"title":"डायरेक्टरी group mapping बनाएँ","openapi":"hi/openapi/v1/openapi.localized.yaml POST /identity/group-mappings","href":"/hi/v1/api-reference/endpoint/identity-group-mapping-create"},{"title":"डायरेक्टरी group mapping अपडेट करें","openapi":"hi/openapi/v1/openapi.localized.yaml PATCH /identity/group-mappings/{id}","href":"/hi/v1/api-reference/endpoint/identity-group-mapping-update"},{"title":"डायरेक्टरी group mapping हटाएँ","openapi":"hi/openapi/v1/openapi.localized.yaml DELETE /identity/group-mappings/{id}","href":"/hi/v1/api-reference/endpoint/identity-group-mapping-delete"},{"title":"डायरेक्टरी group mappings सूचीबद्ध करें","openapi":"hi/openapi/v1/openapi.localized.yaml GET /identity/group-mappings","href":"/hi/v1/api-reference/endpoint/identity-group-mappings-list"}]},{"group":"सूचनाएं","tag":"Beta","expanded":false,"pages":[{"title":"notification settings देखें","openapi":"hi/openapi/v1/openapi.localized.yaml GET /notifications/settings","href":"/hi/v1/api-reference/endpoint/notifications-settings-get"},{"title":"notification settings अपडेट करें","openapi":"hi/openapi/v1/openapi.localized.yaml PATCH /notifications/settings","href":"/hi/v1/api-reference/endpoint/notifications-settings-update"},{"title":"notification destination बनाएँ","openapi":"hi/openapi/v1/openapi.localized.yaml POST /notifications/destinations","href":"/hi/v1/api-reference/endpoint/notifications-destination-create"},{"title":"destination configuration जाँचें","openapi":"hi/openapi/v1/openapi.localized.yaml POST /notifications/destinations/test","href":"/hi/v1/api-reference/endpoint/notifications-destination-config-test"},{"title":"notification destination जाँचें","openapi":"hi/openapi/v1/openapi.localized.yaml POST /notifications/destinations/{id}/test","href":"/hi/v1/api-reference/endpoint/notifications-destination-test"},{"title":"सूचना वेबहुक का सीक्रेट बदलें","openapi":"hi/openapi/v1/openapi.localized.yaml POST /notifications/destinations/{id}/rotate-secret","href":"/hi/v1/api-reference/endpoint/notifications-destination-rotate-secret"},{"title":"notification destination हटाएँ","openapi":"hi/openapi/v1/openapi.localized.yaml DELETE /notifications/destinations/{id}","href":"/hi/v1/api-reference/endpoint/notifications-destination-delete"},{"title":"notification destinations सूचीबद्ध करें","openapi":"hi/openapi/v1/openapi.localized.yaml GET /notifications/destinations","href":"/hi/v1/api-reference/endpoint/notifications-destinations-list"},{"title":"notification routes सूचीबद्ध करें","openapi":"hi/openapi/v1/openapi.localized.yaml GET /notifications/routes","href":"/hi/v1/api-reference/endpoint/notifications-routes-list"},{"title":"notification route अपडेट करें","openapi":"hi/openapi/v1/openapi.localized.yaml PUT /notifications/routes/{eventKind}","href":"/hi/v1/api-reference/endpoint/notifications-route-update"}]},{"group":"ऐप्लिकेशन","tag":"Beta","expanded":false,"pages":[{"title":"वर्कस्पेस ऐप सूचीबद्ध करें","openapi":"hi/openapi/v1/openapi.localized.yaml GET /apps","href":"/hi/v1/api-reference/endpoint/apps-list"},{"title":"वर्कस्पेस ऐप अपडेट करें","openapi":"hi/openapi/v1/openapi.localized.yaml PATCH /apps/{id}","href":"/hi/v1/api-reference/endpoint/app-update"},{"title":"वर्कस्पेस ऐप मर्ज करें","openapi":"hi/openapi/v1/openapi.localized.yaml POST /apps/{id}/merge","href":"/hi/v1/api-reference/endpoint/app-merge"}]},{"group":"डेटा योगदान","tag":"Beta","expanded":false,"pages":[{"title":"डेटा योगदान सेटिंग देखें","openapi":"hi/openapi/v1/openapi.localized.yaml GET /data-contribution","href":"/hi/v1/api-reference/endpoint/data-contribution-get"},{"title":"डेटा योगदान की सहमति अपडेट करें","openapi":"hi/openapi/v1/openapi.localized.yaml PATCH /data-contribution/consent","href":"/hi/v1/api-reference/endpoint/data-contribution-consent-update"},{"title":"डेटा योगदान classifier बनाएँ","openapi":"hi/openapi/v1/openapi.localized.yaml POST /data-contribution/classifiers","href":"/hi/v1/api-reference/endpoint/data-contribution-classifier-create"},{"title":"डेटा योगदान classifier अपडेट करें","openapi":"hi/openapi/v1/openapi.localized.yaml PATCH /data-contribution/classifiers/{id}","href":"/hi/v1/api-reference/endpoint/data-contribution-classifier-update"},{"title":"डेटा योगदान classifier हटाएँ","openapi":"hi/openapi/v1/openapi.localized.yaml DELETE /data-contribution/classifiers/{id}","href":"/hi/v1/api-reference/endpoint/data-contribution-classifier-delete"}]}]}]},{"tab":"क्लाइंट SDK","icon":"package","menu":[{"item":"Vercel AI SDK","icon":"https://mintlify.s3.us-west-1.amazonaws.com/aistats/icons/brands/vercel.svg","pages":[{"title":"Vercel AI SDK","href":"/hi/v1/sdk-reference/sdk/ai-sdk"}]},{"item":"TypeScript SDK","icon":"https://mintlify.s3.us-west-1.amazonaws.com/aistats/icons/languages/typescript.svg","pages":[{"title":"TypeScript SDK","href":"/hi/v1/sdk-reference/typescript/overview"}]},{"item":"Python SDK","icon":"https://mintlify.s3.us-west-1.amazonaws.com/aistats/icons/languages/python.svg","pages":[{"title":"Python SDK","href":"/hi/v1/sdk-reference/python/overview"}]},{"item":"Go SDK","icon":"https://mintlify.s3.us-west-1.amazonaws.com/aistats/icons/languages/go.svg","pages":[{"title":"Go SDK","href":"/hi/v1/sdk-reference/go/overview"}]},{"item":"C# SDK","icon":"https://mintlify.s3.us-west-1.amazonaws.com/aistats/icons/languages/csharp.svg","pages":[{"title":"C# SDK","href":"/hi/v1/sdk-reference/csharp/overview"}]},{"item":"PHP SDK","icon":"https://mintlify.s3.us-west-1.amazonaws.com/aistats/icons/languages/php.svg","pages":[{"title":"PHP SDK","href":"/hi/v1/sdk-reference/php/overview"}]},{"item":"Ruby SDK","icon":"https://mintlify.s3.us-west-1.amazonaws.com/aistats/icons/languages/ruby.svg","pages":[{"title":"Ruby SDK","href":"/hi/v1/sdk-reference/ruby/overview"}]},{"item":"Java SDK","icon":"https://mintlify.s3.us-west-1.amazonaws.com/aistats/icons/languages/java.svg","pages":[{"title":"Java SDK","href":"/hi/v1/sdk-reference/java/overview"}]},{"item":"Rust SDK","icon":"https://mintlify.s3.us-west-1.amazonaws.com/aistats/icons/languages/rust.svg","pages":[{"title":"Rust SDK","href":"/hi/v1/sdk-reference/rust/overview"}]}],"pages":[{"title":"क्लाइंट SDK","href":"/hi/v1/sdk-reference/sdk/ai-sdk"}]},{"tab":"एजेंट SDK","icon":"bot","menu":[{"item":"सारांश","icon":"compass","pages":[{"title":"सारांश","href":"/hi/v1/sdk-reference/agent-sdk/overview"}]},{"item":"TypeScript एजेंट SDK","icon":"https://mintlify.s3.us-west-1.amazonaws.com/aistats/icons/languages/typescript.svg","pages":[{"title":"TypeScript एजेंट SDK","href":"/hi/v1/sdk-reference/typescript/agent-sdk-overview"}]},{"item":"Python एजेंट SDK","icon":"https://mintlify.s3.us-west-1.amazonaws.com/aistats/icons/languages/python.svg","pages":[{"title":"Python एजेंट SDK","href":"/hi/v1/sdk-reference/python/agent-sdk-overview"}]},{"item":"Go एजेंट SDK","icon":"https://mintlify.s3.us-west-1.amazonaws.com/aistats/icons/languages/go.svg","pages":[{"title":"Go एजेंट SDK","href":"/hi/v1/sdk-reference/go/agent-sdk-overview"}]},{"item":"C# एजेंट SDK","icon":"https://mintlify.s3.us-west-1.amazonaws.com/aistats/icons/languages/csharp.svg","pages":[{"title":"C# एजेंट SDK","href":"/hi/v1/sdk-reference/csharp/agent-sdk-overview"}]},{"item":"PHP एजेंट SDK","icon":"https://mintlify.s3.us-west-1.amazonaws.com/aistats/icons/languages/php.svg","pages":[{"title":"PHP एजेंट SDK","href":"/hi/v1/sdk-reference/php/agent-sdk-overview"}]},{"item":"Ruby एजेंट SDK","icon":"https://mintlify.s3.us-west-1.amazonaws.com/aistats/icons/languages/ruby.svg","pages":[{"title":"Ruby एजेंट SDK","href":"/hi/v1/sdk-reference/ruby/agent-sdk-overview"}]},{"item":"Rust एजेंट SDK","icon":"https://mintlify.s3.us-west-1.amazonaws.com/aistats/icons/languages/rust.svg","pages":[{"title":"Rust एजेंट SDK","href":"/hi/v1/sdk-reference/rust/agent-sdk-overview"}]}],"pages":[{"title":"एजेंट SDK","href":"/hi/v1/sdk-reference/agent-sdk/overview"}]},{"tab":"कुकबुक","icon":"chef-hat","pages":[{"title":"कुकबुक","href":"/hi/v1/cookbook"}]},{"tab":"परिवर्तन लॉग","icon":"history","pages":[{"title":"परिवर्तन लॉग","href":"/hi/v1/changelog"}]}]},{"language":"ar","footer":{"socials":{"x":"https://x.com/phaseoteam","github":"https://github.com/phaseoteam/Phaseo","discord":"https://discord.gg/aQyywCvgZ5","linkedin":"https://www.linkedin.com/company/phaseoapp","reddit":"https://www.reddit.com/r/Phaseo"},"links":[{"items":[{"label":"النماذج","href":"https://phaseo.app/ar-SA/models"},{"label":"الحالة","href":"https://status.phaseo.app"},{"label":"الدعم","href":"https://phaseo.app/ar-SA/help"}]}]},"navbar":{"primary":{"type":"button","label":"احصل على مفتاح API","href":"https://phaseo.app/ar-SA/settings/keys"}},"pages":[{"title":"ar","href":"/ar/v1/api-reference/endpoint/spend-rules-create"}]}]},"basePath":"","title":"खर्च नियम बनाएँ - Phaseo Docs","buildId":"dpl_GWQzn6k13MqphA3qck3hQKoQXDzM","deploymentId":"dpl_GWQzn6k13MqphA3qck3hQKoQXDzM","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-vlKR2tYY.js","utils-DBDPZSWe.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-CxHK4zz2.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-27b98BOz.js","snippetPresets-DNnui32z.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","Page-BOWGOUSK.js","ApiExamples-cDVS2zyo.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BEE-OyDQ.js","shallow-fqEMZOYR.js","getApiPlaygroundDisplay-BPut1_OB.js","CodeSnippet-h9vp8UTG.js","CodeSnippets-DoMjCW5Q.js","getPastedJson-C4r-hmQ_.js","icon-CCDahfhO.js","MethodPill-Dpq0JSrS.js","DuplicateIcon-BGPwFt-j.js","createIcon-DBULrQp7.js","DynamicMarkdown-B74atANy.js","SectionHeading-DZCpbSmT.js","axios-vUo_bRtp.js","Markdown-BwkgxkAH.js","clsx-CEIlvfOI.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-f6OgbvLC.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-DvlTOml0.js"]}