يتطلب spend_rules:write. تُدمج الحقول التي ترسلها مع القاعدة المحفوظة، ثم يُعاد فحص القاعدة كاملة. يستبدل destination_ids وجهات القاعدة؛ احذفه للإبقاء عليها. يؤدي تغيير إجراء قاعدة حاظرة أو نطاقها أو فترتها أو أساسها إلى رفع حظرها النشط.
spend: بلغ الإنفاق threshold_amount. budget_percent: بلغ الإنفاق threshold_percents من الأساس. forecast: يبلغ الإنفاق المتوقع حتى نهاية الفترة العتبة. spike: الإنفاق خلال آخر window_hours يساوي spike_multiplier مرة على الأقل من وسيط النافذة نفسها خلال الأيام السبعة السابقة، ولا يقل عن spike_floor. balance: ينخفض رصيد مساحة العمل أو مدة كفايته عن العتبة.
عدد ساعات نافذة rolling: نافذة الارتفاع المفاجئ لقواعد spike (56 على الأكثر، حتى تتسع الأيام السبعة السابقة لثلاث نوافذ) وفترة معدل الاستهلاك لقواعد balance. تكون null للفترات التقويمية.
ما تمثل threshold_percents نسبًا منه: amount (base_amount) أو workspace_budget أو key_limit (الفاصل base_ref الذي يجب أن يطابق الفترة) أو previous_period.
notify، أو التنبيه ثم الحظر عندما يبلغ الإنفاق block_at_percent من الأساس أو block_at_amount. الحظر يتم بأفضل جهد ويعمل بعد بلوغ الحد ببضع دقائق. ما دام الحظر متوقفًا في البوابة، تُرفض القاعدة التي ستبدأ الحظر برمز 400، والقاعدة التي تحظر بالفعل تكتفي بالتنبيه.
{"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},{"name":"rbac-expansion","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":"ar/v1/api-reference/endpoint/spend-rules-update","slug":"/ar/v1/api-reference/endpoint/spend-rules-update","pageMetadata":{"title":"تحديث قاعدة إنفاق","sidebarTitle":"تحديث قاعدة","badge":"Beta","openapi":"ar/openapi/v1/openapi.localized.yaml PATCH /spend-rules/{id}","description":"يغيّر حقول قاعدة الإنفاق أو وجهاتها أو إجراءها.","href":"/ar/v1/api-reference/endpoint/spend-rules-update"},"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={code:`code`,p:`p`,..._provideComponents(),...props.components};return _jsxs(_components.p,{children:[`يتطلب `,_jsx(_components.code,{children:`spend_rules:write`}),`. تُدمج الحقول التي ترسلها مع القاعدة المحفوظة، ثم يُعاد فحص القاعدة كاملة. يستبدل `,_jsx(_components.code,{children:`destination_ids`}),` وجهات القاعدة؛ احذفه للإبقاء عليها. يؤدي تغيير إجراء قاعدة حاظرة أو نطاقها أو فترتها أو أساسها إلى رفع حظرها النشط.`]})}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":"ar/openapi/v1/openapi.localized.yaml PATCH /spend-rules/{id}","description":"يغيّر حقول قاعدة الإنفاق أو وجهاتها أو إجراءها.","href":"/ar/v1/api-reference/endpoint/spend-rules-update"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"x-beta":true,"tags":["Gateway"],"operationId":"updateSpendRule","summary":"تحديث قاعدة إنفاق","description":"يغيّر حقول قاعدة الإنفاق أو وجهاتها أو إجراءها.","requestBody":"ff1da003-aa51-4969-a340-2644789c29e1","responses":{"200":"52bc9b4f-3429-45aa-b4ff-bf8730963f69","default":"b0a968a5-372f-4221-822e-c5137a1ec142"},"method":"patch","type":"path","servers":["faa253e8-8251-46ef-ac71-c7c2c552db19"],"security":["2bfafc6e-024a-4bea-8990-6a0de35537d8"],"path":"/spend-rules/{id}","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":{"6e73e7b2-f449-4d06-b5a9-b32e99a540f3":{"name":"id","in":"path","required":true,"description":"معرّف قاعدة الإنفاق.","schema":{"type":"string","format":"uuid","isRequired":true,"description":"معرّف قاعدة الإنفاق.","uniqueKey":"","typeLabel":"string\u003cuuid>"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"حقول قاعدة الإنفاق المراد تغييرها؛ حقل واحد على الأقل. أدخل المبالغ بصيغة *_usd أو *_nanos (نانودولار دقيق)، لا كليهما. اضبط الحقل على null لمسحه.","minProperties":1,"properties":{"name":{"type":"string","minLength":1,"maxLength":100,"uniqueKey":"name","typeLabel":"string"},"enabled":{"type":"boolean","uniqueKey":"enabled","typeLabel":"boolean"},"metric":{"type":"string","description":"spend: بلغ الإنفاق threshold_amount. budget_percent: بلغ الإنفاق threshold_percents من الأساس. forecast: يبلغ الإنفاق المتوقع حتى نهاية الفترة العتبة. spike: الإنفاق خلال آخر window_hours يساوي spike_multiplier مرة على الأقل من وسيط النافذة نفسها خلال الأيام السبعة السابقة، ولا يقل عن spike_floor. balance: ينخفض رصيد مساحة العمل أو مدة كفايته عن العتبة.","enum":["spend","budget_percent","forecast","spike","balance"],"uniqueKey":"metric","typeLabel":"enum\u003cstring>"},"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 لنطاق مساحة العمل؛ وإلا فمعرّف مفتاح أو معرّف مستخدم لعضو أو معرّف قسم أو معرّف نموذج أو معرّف مزوّد.","uniqueKey":"scope_id.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":200,"description":"null لنطاق مساحة العمل؛ وإلا فمعرّف مفتاح أو معرّف مستخدم لعضو أو معرّف قسم أو معرّف نموذج أو معرّف مزوّد.","uniqueKey":"scope_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"scope_id","typeLabel":"string | null"},"period":{"type":"string","description":"day أو week (بدءًا من الاثنين) أو month في المنطقة الزمنية للقاعدة، أو rolling على آخر window_hours.","enum":["day","week","month","rolling"],"uniqueKey":"period","typeLabel":"enum\u003cstring>"},"window_hours":{"oneOf":[{"type":"integer","minimum":1,"maximum":720,"description":"عدد ساعات نافذة rolling: نافذة الارتفاع المفاجئ لقواعد spike (56 على الأكثر، حتى تتسع الأيام السبعة السابقة لثلاث نوافذ) وفترة معدل الاستهلاك لقواعد balance. تكون null للفترات التقويمية.","uniqueKey":"window_hours.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":1,"maximum":720,"description":"عدد ساعات نافذة rolling: نافذة الارتفاع المفاجئ لقواعد spike (56 على الأكثر، حتى تتسع الأيام السبعة السابقة لثلاث نوافذ) وفترة معدل الاستهلاك لقواعد 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":{"52bc9b4f-3429-45aa-b4ff-bf8730963f69":{"description":"تم تحديث قاعدة الإنفاق","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"type":"object","description":"قاعدة إنفاق: حدود بالدولار أو بالنسبة المئوية لنطاق وفترة تُرسل تنبيهًا، أو تنبه ثم تحظر. تُعاد المبالغ بالنانودولار وبالدولار الأمريكي.","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 يساوي spike_multiplier مرة على الأقل من وسيط النافذة نفسها خلال الأيام السبعة السابقة، ولا يقل عن spike_floor. balance: ينخفض رصيد مساحة العمل أو مدة كفايته عن العتبة.","enum":["spend","budget_percent","forecast","spike","balance"],"isRequired":true,"uniqueKey":"data.metric","typeLabel":"enum\u003cstring>"},"evaluated":{"type":"boolean","description":"ما إذا كان التقييم يدعم مقياس القاعدة وفترتها وأساسها. تُقيَّم كل القواعد التي تقبلها الواجهة البرمجية.","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 لنطاق مساحة العمل؛ وإلا فمعرّف مفتاح أو معرّف مستخدم لعضو أو معرّف قسم أو معرّف نموذج أو معرّف مزوّد.","isRequired":true,"uniqueKey":"data.scope_id.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":200,"description":"null لنطاق مساحة العمل؛ وإلا فمعرّف مفتاح أو معرّف مستخدم لعضو أو معرّف قسم أو معرّف نموذج أو معرّف مزوّد.","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 في المنطقة الزمنية للقاعدة، أو rolling على آخر window_hours.","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 على الأكثر، حتى تتسع الأيام السبعة السابقة لثلاث نوافذ) وفترة معدل الاستهلاك لقواعد balance. تكون null للفترات التقويمية.","isRequired":true,"uniqueKey":"data.window_hours.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":1,"maximum":720,"description":"عدد ساعات نافذة rolling: نافذة الارتفاع المفاجئ لقواعد spike (56 على الأكثر، حتى تتسع الأيام السبعة السابقة لثلاث نوافذ) وفترة معدل الاستهلاك لقواعد 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"},"b0a968a5-372f-4221-822e-c5137a1ec142":{"description":"فشل الطلب","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"oneOf":[{"type":"string","description":"كائن الخطأ (`code` و`message` و`type` و`param` و`metadata` الاختياري) الذي تقرؤه حزم SDK المتوافقة مع OpenAI. كانت الاستجابات السابقة تُرجع سلسلة الرمز هنا؛ وهي تُرجع الآن أيضًا في `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` الاختياري) الذي تقرؤه حزم SDK المتوافقة مع OpenAI. كانت الاستجابات السابقة تُرجع سلسلة الرمز هنا؛ وهي تُرجع الآن أيضًا في `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":{"2bfafc6e-024a-4bea-8990-6a0de35537d8":{"BearerAuth":{"type":"http","scheme":"bearer","description":"المصادقة باستخدام رمز Bearer","scopes":[],"schemeName":"BearerAuth"}}},"servers":{"faa253e8-8251-46ef-ac71-c7c2c552db19":{"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":"ar/openapi/v1/openapi.localized.yaml"},"subdomain":"aistats","siteName":"Phaseo Docs","title":"تحديث قاعدة إنفاق - Phaseo Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/v1/api-reference/endpoint/spend-rules-update","matchLevel":1},"es":{"href":"/es/v1/api-reference/endpoint/spend-rules-update","matchLevel":1},"fr":{"href":"/fr/v1/api-reference/endpoint/spend-rules-update","matchLevel":1},"de":{"href":"/de/v1/api-reference/endpoint/spend-rules-update","matchLevel":1},"pt-BR":{"href":"/pt-BR/v1/api-reference/endpoint/spend-rules-update","matchLevel":1},"ja":{"href":"/ja/v1/api-reference/endpoint/spend-rules-update","matchLevel":1},"zh-Hans":{"href":"/zh-Hans/v1/api-reference/endpoint/spend-rules-update","matchLevel":1},"hi":{"href":"/hi/v1/api-reference/endpoint/spend-rules-update","matchLevel":1},"ar":{"href":"/ar/v1/api-reference/endpoint/spend-rules-update","matchLevel":0}}},"lastModified":"2026-10-31T18:38:36.991Z","gitLastModified":"2026-10-31T18:36:40.000Z","originalFileLocation":"ar/v1/api-reference/endpoint/spend-rules-update.mdx","locale":"ar"},"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/ar/v1/api-reference/endpoint/spend-rules-update\">\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=%D9%82%D9%88%D8%A7%D8%B9%D8%AF+%D8%A7%D9%84%D8%A5%D9%86%D9%81%D8%A7%D9%82\u0026amp;title=%D8%AA%D8%AD%D8%AF%D9%8A%D8%AB+%D9%82%D8%A7%D8%B9%D8%AF%D8%A9+%D8%A5%D9%86%D9%81%D8%A7%D9%82\u0026amp;description=%D9%8A%D8%BA%D9%8A%D9%91%D8%B1+%D8%AD%D9%82%D9%88%D9%84+%D9%82%D8%A7%D8%B9%D8%AF%D8%A9+%D8%A7%D9%84%D8%A5%D9%86%D9%81%D8%A7%D9%82+%D8%A3%D9%88+%D9%88%D8%AC%D9%87%D8%A7%D8%AA%D9%87%D8%A7+%D8%A3%D9%88+%D8%A5%D8%AC%D8%B1%D8%A7%D8%A1%D9%87%D8%A7.\u0026amp;theme=6067f667ebd4f2961b2bc80b\u0026amp;signature=f5108343f379624d723de5d2d6e63f4f1de067dd15a456e78e2e5418a389c5f0\">\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=%D9%82%D9%88%D8%A7%D8%B9%D8%AF+%D8%A7%D9%84%D8%A5%D9%86%D9%81%D8%A7%D9%82\u0026amp;title=%D8%AA%D8%AD%D8%AF%D9%8A%D8%AB+%D9%82%D8%A7%D8%B9%D8%AF%D8%A9+%D8%A5%D9%86%D9%81%D8%A7%D9%82\u0026amp;description=%D9%8A%D8%BA%D9%8A%D9%91%D8%B1+%D8%AD%D9%82%D9%88%D9%84+%D9%82%D8%A7%D8%B9%D8%AF%D8%A9+%D8%A7%D9%84%D8%A5%D9%86%D9%81%D8%A7%D9%82+%D8%A3%D9%88+%D9%88%D8%AC%D9%87%D8%A7%D8%AA%D9%87%D8%A7+%D8%A3%D9%88+%D8%A5%D8%AC%D8%B1%D8%A7%D8%A1%D9%87%D8%A7.\u0026amp;theme=6067f667ebd4f2961b2bc80b\u0026amp;signature=f5108343f379624d723de5d2d6e63f4f1de067dd15a456e78e2e5418a389c5f0\">\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/ar/v1/api-reference/endpoint/spend-rules-update\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/ar/v1/api-reference/endpoint/spend-rules-update.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ar\" href=\"https://phaseo.app/docs/ar/v1/api-reference/endpoint/spend-rules-update\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://phaseo.app/docs/v1/api-reference/endpoint/spend-rules-update\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"es\" href=\"https://phaseo.app/docs/es/v1/api-reference/endpoint/spend-rules-update\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"fr\" href=\"https://phaseo.app/docs/fr/v1/api-reference/endpoint/spend-rules-update\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"de\" href=\"https://phaseo.app/docs/de/v1/api-reference/endpoint/spend-rules-update\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"pt-BR\" href=\"https://phaseo.app/docs/pt-BR/v1/api-reference/endpoint/spend-rules-update\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ja\" href=\"https://phaseo.app/docs/ja/v1/api-reference/endpoint/spend-rules-update\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh-Hans\" href=\"https://phaseo.app/docs/zh-Hans/v1/api-reference/endpoint/spend-rules-update\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"hi\" href=\"https://phaseo.app/docs/hi/v1/api-reference/endpoint/spend-rules-update\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://phaseo.app/docs/v1/api-reference/endpoint/spend-rules-update\">\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/ar/v1/api-reference/endpoint/spend-rules-update#webpage\",\"url\":\"https://phaseo.app/docs/ar/v1/api-reference/endpoint/spend-rules-update\",\"name\":\"تحديث قاعدة إنفاق\",\"description\":\"يغيّر حقول قاعدة الإنفاق أو وجهاتها أو إجراءها.\",\"dateModified\":\"2026-10-31T18:36:40.000Z\",\"isPartOf\":{\"@id\":\"https://phaseo.app/docs#website\"},\"breadcrumb\":{\"@id\":\"https://phaseo.app/docs/ar/v1/api-reference/endpoint/spend-rules-update#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://phaseo.app/docs/ar/v1/api-reference/endpoint/spend-rules-update#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"إدارة مساحات العمل\",\"item\":\"https://phaseo.app/docs/ar/v1/api-reference/endpoint/workspaces-create\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"قواعد الإنفاق\",\"item\":\"https://phaseo.app/docs/ar/v1/api-reference/endpoint/spend-rules-create\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"تحديث قاعدة إنفاق\",\"item\":\"https://phaseo.app/docs/ar/v1/api-reference/endpoint/spend-rules-update\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://phaseo.app/docs/ar/v1/api-reference/endpoint/spend-rules-update#apireference\",\"headline\":\"تحديث قاعدة إنفاق\",\"name\":\"تحديث قاعدة إنفاق\",\"description\":\"يغيّر حقول قاعدة الإنفاق أو وجهاتها أو إجراءها.\",\"url\":\"https://phaseo.app/docs/ar/v1/api-reference/endpoint/spend-rules-update\",\"mainEntityOfPage\":{\"@id\":\"https://phaseo.app/docs/ar/v1/api-reference/endpoint/spend-rules-update#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-update"}]},{"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-update"}]},{"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-update"}]},{"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-update"}]},{"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-update"}]},{"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-update"}]},{"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-update"}]},{"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"}},"pages":[{"title":"hi","href":"/hi/v1/api-reference/endpoint/spend-rules-update"}]},{"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"}},"tabs":[{"tab":"الوثائق","icon":"book","pages":[{"title":"الوثائق","href":"/ar/v1"}]},{"tab":"مرجع API","icon":"server","groups":[{"group":"أدلة API","icon":"book-open","expanded":true,"pages":[{"title":"نظرة عامة على Gateway API","sidebarTitle":"نظرة عامة","icon":"map","href":"/ar/v1/api-reference/introduction"},{"title":"المصادقة","icon":"key-round","href":"/ar/v1/developers/authentication"},{"title":"المعلمات","icon":"sliders-horizontal","href":"/ar/v1/api-reference/parameters"},{"title":"البث","icon":"radio","href":"/ar/v1/guides/streaming"},{"title":"حدود الطلبات","icon":"gauge","href":"/ar/v1/api-reference/limits"},{"title":"الأخطاء وتصحيحها","icon":"bug","href":"/ar/v1/api-reference/errors"}]},{"group":"النص","icon":"message-square-text","pages":[{"title":"إنشاء استجابة","sidebarTitle":"إنشاء استجابة","openapi":"ar/openapi/v1/openapi.localized.yaml POST /responses","href":"/ar/v1/api-reference/endpoint/responses"},{"title":"إنشاء إكمال محادثة","sidebarTitle":"إنشاء إكمال محادثة","openapi":"ar/openapi/v1/openapi.localized.yaml POST /chat/completions","href":"/ar/v1/api-reference/endpoint/chat-completions"},{"title":"إنشاء رسالة","sidebarTitle":"إنشاء رسالة (Anthropic)","openapi":"ar/openapi/v1/openapi.localized.yaml POST /messages","href":"/ar/v1/api-reference/endpoint/anthropic-messages"}]},{"group":"صورة","icon":"image","pages":[{"title":"إنشاء صورة","sidebarTitle":"إنشاء صورة","openapi":"ar/openapi/v1/openapi.localized.yaml POST /images/generations","href":"/ar/v1/api-reference/endpoint/images-generations"},{"title":"تحرير صورة","sidebarTitle":"تحرير صورة","openapi":"ar/openapi/v1/openapi.localized.yaml POST /images/edits","href":"/ar/v1/api-reference/endpoint/images-edits"}]},{"group":"فيديو","icon":"video","tag":"Beta","pages":[{"title":"إنشاء فيديو","openapi":"ar/openapi/v1/openapi.localized.yaml POST /videos","href":"/ar/v1/api-reference/endpoint/video-create"},{"title":"الحصول على حالة فيديو","openapi":"ar/openapi/v1/openapi.localized.yaml GET /videos/{video_id}","href":"/ar/v1/api-reference/endpoint/video-status"},{"title":"تنزيل محتوى فيديو","openapi":"ar/openapi/v1/openapi.localized.yaml GET /videos/{video_id}/content","href":"/ar/v1/api-reference/endpoint/video-content"},{"title":"إنشاء رابط تنزيل موقّع","openapi":"ar/openapi/v1/openapi.localized.yaml POST /videos/{video_id}/download_url","href":"/ar/v1/api-reference/endpoint/video-download-url"},{"title":"إلغاء فيديو","openapi":"ar/openapi/v1/openapi.localized.yaml POST /videos/{video_id}/cancel","href":"/ar/v1/api-reference/endpoint/video-cancel"},{"title":"حذف فيديو","openapi":"ar/openapi/v1/openapi.localized.yaml DELETE /videos/{video_id}","href":"/ar/v1/api-reference/endpoint/video-delete"},{"title":"سرد مقاطع الفيديو","openapi":"ar/openapi/v1/openapi.localized.yaml GET /videos","href":"/ar/v1/api-reference/endpoint/video-list"},{"title":"سرد نماذج الفيديو","openapi":"ar/openapi/v1/openapi.localized.yaml GET /videos/models","href":"/ar/v1/api-reference/endpoint/video-models"}]},{"group":"التضمينات","icon":"braces","pages":[{"title":"إنشاء التضمينات","sidebarTitle":"إنشاء التضمينات","openapi":"ar/openapi/v1/openapi.localized.yaml POST /embeddings","href":"/ar/v1/api-reference/endpoint/embeddings"}]},{"group":"القرارات","icon":"signpost","pages":[{"title":"اتخاذ قرار","tag":"تجريبي","openapi":"ar/openapi/v1/openapi.localized.yaml POST /decisions","href":"/ar/v1/api-reference/endpoint/decisions"},{"title":"استخراج القيم","tag":"Beta","icon":"list-filter","openapi":"ar/openapi/v1/openapi.localized.yaml POST /extractions","href":"/ar/v1/api-reference/endpoint/extractions"}]},{"group":"الإشراف","icon":"shield-check","pages":[{"title":"إنشاء عملية إشراف","sidebarTitle":"إنشاء عملية إشراف","openapi":"ar/openapi/v1/openapi.localized.yaml POST /moderations","href":"/ar/v1/api-reference/endpoint/moderations"}]},{"group":"إعادة الترتيب","icon":"arrow-down-wide-narrow","pages":[{"title":"إعادة ترتيب المستندات","sidebarTitle":"إعادة ترتيب المستندات","openapi":"ar/openapi/v1/openapi.localized.yaml POST /rerank","href":"/ar/v1/api-reference/endpoint/rerank"}]},{"group":"المستندات","icon":"file-text","pages":[{"title":"استخراج النص باستخدام OCR","sidebarTitle":"استخراج النص","tag":"تجريبي","openapi":"ar/openapi/v1/openapi.localized.yaml POST /ocr","href":"/ar/v1/api-reference/endpoint/ocr"},{"title":"تحليل صورة مستند","sidebarTitle":"تحليل مستند","tag":"تجريبي","openapi":"ar/openapi/v1/openapi.localized.yaml POST /parse","href":"/ar/v1/api-reference/endpoint/parse"}]},{"group":"الكلام","icon":"audio-lines","pages":[{"title":"إنشاء كلام","sidebarTitle":"إنشاء كلام","openapi":"ar/openapi/v1/openapi.localized.yaml POST /audio/speech","href":"/ar/v1/api-reference/endpoint/audio-speech"}]},{"group":"التفريغ النصي","icon":"captions","pages":[{"title":"إنشاء تفريغ صوتي","sidebarTitle":"إنشاء تفريغ صوتي","openapi":"ar/openapi/v1/openapi.localized.yaml POST /audio/transcriptions","href":"/ar/v1/api-reference/endpoint/audio-transcriptions"}]},{"group":"الترجمة","icon":"languages","pages":[{"title":"إنشاء ترجمة","sidebarTitle":"إنشاء ترجمة","openapi":"ar/openapi/v1/openapi.localized.yaml POST /audio/translations","href":"/ar/v1/api-reference/endpoint/audio-translations"}]},{"group":"الموسيقى","icon":"music","pages":[{"title":"إنشاء موسيقى","sidebarTitle":"إنشاء موسيقى","openapi":"ar/openapi/v1/openapi.localized.yaml POST /music/generate","href":"/ar/v1/api-reference/endpoint/music-generate"},{"title":"الحصول على عملية توليد الموسيقى","sidebarTitle":"الحصول على عملية توليد الموسيقى","openapi":"ar/openapi/v1/openapi.localized.yaml GET /music/generate/{music_id}","href":"/ar/v1/api-reference/endpoint/music-status"}]},{"group":"المهام والملفات وWebhook","icon":"layers","pages":[{"group":"معالجة دفعية","tag":"Beta","expanded":true,"pages":[{"title":"إنشاء دفعة","openapi":"ar/openapi/v1/openapi.localized.yaml POST /batches","href":"/ar/v1/api-reference/endpoint/batches-create"},{"title":"الحصول على حالة دفعة","openapi":"ar/openapi/v1/openapi.localized.yaml GET /batches/{batch_id}","href":"/ar/v1/api-reference/endpoint/batches-retrieve"},{"title":"تنزيل نتائج دفعة","openapi":"ar/openapi/v1/openapi.localized.yaml GET /batches/{batch_id}/results","href":"/ar/v1/api-reference/endpoint/batches-results"},{"title":"سرد طلبات دفعة","openapi":"ar/openapi/v1/openapi.localized.yaml GET /batches/{batch_id}/requests","href":"/ar/v1/api-reference/endpoint/batches-requests"},{"title":"إلغاء دفعة","openapi":"ar/openapi/v1/openapi.localized.yaml POST /batches/{batch_id}/cancel","href":"/ar/v1/api-reference/endpoint/batches-cancel"},{"title":"سرد الدفعات","openapi":"ar/openapi/v1/openapi.localized.yaml GET /batches","href":"/ar/v1/api-reference/endpoint/batches-list"},{"title":"رفع ملف دفعة","openapi":"ar/openapi/v1/openapi.localized.yaml POST /batches/files","href":"/ar/v1/api-reference/endpoint/batches-files-upload"},{"title":"استرجاع ملف دفعة","openapi":"ar/openapi/v1/openapi.localized.yaml GET /batches/files/{file_id}","href":"/ar/v1/api-reference/endpoint/batches-files-retrieve"},{"title":"تنزيل محتوى ملف دفعة","openapi":"ar/openapi/v1/openapi.localized.yaml GET /batches/files/{file_id}/content","href":"/ar/v1/api-reference/endpoint/batches-files-content"},{"title":"سرد ملفات الدفعات","openapi":"ar/openapi/v1/openapi.localized.yaml GET /batches/files","href":"/ar/v1/api-reference/endpoint/batches-files-list"},{"title":"سرد نماذج المعالجة على دفعات","openapi":"ar/openapi/v1/openapi.localized.yaml GET /batches/models","href":"/ar/v1/api-reference/endpoint/batches-models"},{"title":"سرد إمكانات مزوّدي المعالجة على دفعات","openapi":"ar/openapi/v1/openapi.localized.yaml GET /batches/capabilities","href":"/ar/v1/api-reference/endpoint/batches-capabilities"}]},{"group":"الملفات","expanded":true,"pages":[{"title":"تحميل ملف","sidebarTitle":"تحميل ملف","openapi":"ar/openapi/v1/openapi.localized.yaml POST /files","href":"/ar/v1/api-reference/endpoint/files"},{"title":"استرجاع ملف","sidebarTitle":"استرجاع الملف","openapi":"ar/openapi/v1/openapi.localized.yaml GET /files/{file_id}","href":"/ar/v1/api-reference/endpoint/files-retrieve"},{"title":"تنزيل محتوى الملف","sidebarTitle":"تنزيل محتوى الملف","tag":"تجريبي","openapi":"ar/openapi/v1/openapi.localized.yaml GET /files/{file_id}/content","href":"/ar/v1/api-reference/endpoint/files-content"},{"title":"عرض الملفات","sidebarTitle":"عرض الملفات","openapi":"ar/openapi/v1/openapi.localized.yaml GET /files","href":"/ar/v1/api-reference/endpoint/files-list"}]},{"group":"نقاط نهاية Webhook","tag":"Beta","expanded":true,"pages":[{"title":"إنشاء نقطة نهاية webhook","openapi":"ar/openapi/v1/openapi.localized.yaml POST /webhook-endpoints","href":"/ar/v1/api-reference/endpoint/webhook-endpoints-create"},{"title":"عرض نقطة نهاية webhook","openapi":"ar/openapi/v1/openapi.localized.yaml GET /webhook-endpoints/{id}","href":"/ar/v1/api-reference/endpoint/webhook-endpoints-get"},{"title":"تحديث نقطة نهاية webhook","openapi":"ar/openapi/v1/openapi.localized.yaml PATCH /webhook-endpoints/{id}","href":"/ar/v1/api-reference/endpoint/webhook-endpoints-update"},{"title":"تدوير سر webhook","openapi":"ar/openapi/v1/openapi.localized.yaml POST /webhook-endpoints/{id}/rotate-secret","href":"/ar/v1/api-reference/endpoint/webhook-endpoints-rotate-secret"},{"title":"حذف نقطة نهاية webhook","openapi":"ar/openapi/v1/openapi.localized.yaml DELETE /webhook-endpoints/{id}","href":"/ar/v1/api-reference/endpoint/webhook-endpoints-delete"},{"title":"عرض قائمة نقاط نهاية webhook","openapi":"ar/openapi/v1/openapi.localized.yaml GET /webhook-endpoints","href":"/ar/v1/api-reference/endpoint/webhook-endpoints-list"}]}]},{"group":"النماذج والتسعير","icon":"boxes","pages":[{"title":"عرض النماذج","sidebarTitle":"عرض النماذج","openapi":"ar/openapi/v1/openapi.localized.yaml GET /models","href":"/ar/v1/api-reference/endpoint/models"},{"title":"عرض قدرات مسارات النموذج","openapi":"ar/openapi/v1/openapi.localized.yaml GET /models/{author}/{slug}/endpoints","href":"/ar/v1/api-reference/endpoint/model-endpoints"},{"title":"عرض المزوّدين","sidebarTitle":"عرض المزوّدين","openapi":"ar/openapi/v1/openapi.localized.yaml GET /providers","href":"/ar/v1/api-reference/endpoint/providers"},{"title":"عرض المسارات","sidebarTitle":"عرض المسارات","openapi":"ar/openapi/v1/openapi.localized.yaml GET /endpoints","href":"/ar/v1/api-reference/endpoint/endpoints"},{"title":"عرض أسعار النماذج","sidebarTitle":"عرض أسعار النماذج","openapi":"ar/openapi/v1/openapi.localized.yaml GET /pricing/models","href":"/ar/v1/api-reference/endpoint/pricing-models"},{"title":"حساب الأسعار","sidebarTitle":"حساب الأسعار","openapi":"ar/openapi/v1/openapi.localized.yaml POST /pricing/calculate","href":"/ar/v1/api-reference/endpoint/pricing-calculate"},{"title":"عرض المؤسسات","sidebarTitle":"عرض المؤسسات","openapi":"ar/openapi/v1/openapi.localized.yaml GET /organisations","href":"/ar/v1/api-reference/endpoint/organisations"}]},{"group":"التوجيه والسياسات","icon":"route","pages":[{"group":"التوجيه","expanded":false,"pages":[{"title":"الحصول على إعدادات مساحة العمل","sidebarTitle":"الحصول على الإعدادات","openapi":"ar/openapi/v1/openapi.localized.yaml GET /settings","href":"/ar/v1/api-reference/endpoint/workspace-settings-get"},{"title":"تحديث إعدادات مساحة العمل","sidebarTitle":"تحديث الإعدادات","openapi":"ar/openapi/v1/openapi.localized.yaml PATCH /settings","href":"/ar/v1/api-reference/endpoint/workspace-settings-update"},{"title":"إنشاء مسار ديناميكي","sidebarTitle":"إنشاء مسار","openapi":"ar/openapi/v1/openapi.localized.yaml POST /routing/dynamic-routes","href":"/ar/v1/api-reference/endpoint/dynamic-routes-create"},{"title":"الحصول على مسار ديناميكي","sidebarTitle":"الحصول على المسار","openapi":"ar/openapi/v1/openapi.localized.yaml GET /routing/dynamic-routes/{id}","href":"/ar/v1/api-reference/endpoint/dynamic-routes-get"},{"title":"تحديث مسار ديناميكي","sidebarTitle":"تحديث المسار","openapi":"ar/openapi/v1/openapi.localized.yaml PATCH /routing/dynamic-routes/{id}","href":"/ar/v1/api-reference/endpoint/dynamic-routes-update"},{"title":"استبدال مفاتيح المسار الديناميكي","sidebarTitle":"إرفاق المفاتيح","openapi":"ar/openapi/v1/openapi.localized.yaml PUT /routing/dynamic-routes/{id}/keys","href":"/ar/v1/api-reference/endpoint/dynamic-routes-keys-update"},{"title":"نشر إصدار مسار ديناميكي","sidebarTitle":"نشر الإصدار","openapi":"ar/openapi/v1/openapi.localized.yaml POST /routing/dynamic-routes/{id}/versions/{version}/deploy","href":"/ar/v1/api-reference/endpoint/dynamic-routes-deploy"},{"title":"حذف مسار ديناميكي","sidebarTitle":"حذف المسار","openapi":"ar/openapi/v1/openapi.localized.yaml DELETE /routing/dynamic-routes/{id}","href":"/ar/v1/api-reference/endpoint/dynamic-routes-delete"},{"title":"عرض المسارات الديناميكية","sidebarTitle":"عرض المسارات","openapi":"ar/openapi/v1/openapi.localized.yaml GET /routing/dynamic-routes","href":"/ar/v1/api-reference/endpoint/dynamic-routes-list"},{"title":"جلب إعدادات التوجيه التلقائي","sidebarTitle":"جلب التوجيه التلقائي","openapi":"ar/openapi/v1/openapi.localized.yaml GET /routing/auto","href":"/ar/v1/api-reference/endpoint/routing-auto-get"},{"title":"تحديث إعدادات التوجيه التلقائي","sidebarTitle":"تحديث التوجيه التلقائي","openapi":"ar/openapi/v1/openapi.localized.yaml PATCH /routing/auto","href":"/ar/v1/api-reference/endpoint/routing-auto-update"},{"title":"عرض بدائل النماذج اللاحقة","sidebarTitle":"عرض البدائل","openapi":"ar/openapi/v1/openapi.localized.yaml GET /routing/successor/replacements","href":"/ar/v1/api-reference/endpoint/successor-replacements-list"},{"title":"حفظ بديل لنموذج لاحق","sidebarTitle":"حفظ البديل","openapi":"ar/openapi/v1/openapi.localized.yaml PUT /routing/successor/replacements","href":"/ar/v1/api-reference/endpoint/successor-replacements-save"},{"title":"إزالة بديل لنموذج لاحق","sidebarTitle":"إزالة البديل","openapi":"ar/openapi/v1/openapi.localized.yaml DELETE /routing/successor/replacements","href":"/ar/v1/api-reference/endpoint/successor-replacements-remove"}]},{"group":"الإعدادات المسبقة","expanded":false,"pages":[{"title":"إنشاء إعداد مسبق","sidebarTitle":"إنشاء إعداد مسبق","openapi":"ar/openapi/v1/openapi.localized.yaml POST /presets","href":"/ar/v1/api-reference/endpoint/presets-create"},{"title":"الحصول على إعداد مسبق","sidebarTitle":"الحصول على الإعداد المسبق","openapi":"ar/openapi/v1/openapi.localized.yaml GET /presets/{id}","href":"/ar/v1/api-reference/endpoint/presets-get"},{"title":"تحديث مسودة الإعداد المسبق","sidebarTitle":"تحديث الإعداد المسبق","openapi":"ar/openapi/v1/openapi.localized.yaml PATCH /presets/{id}","href":"/ar/v1/api-reference/endpoint/presets-update"},{"title":"نشر إصدار الإعداد المسبق","sidebarTitle":"نشر الإصدار","openapi":"ar/openapi/v1/openapi.localized.yaml POST /presets/{id}/versions","href":"/ar/v1/api-reference/endpoint/presets-version-publish"},{"title":"عرض إصدارات الإعداد المسبق","sidebarTitle":"عرض الإصدارات","openapi":"ar/openapi/v1/openapi.localized.yaml GET /presets/{id}/versions","href":"/ar/v1/api-reference/endpoint/presets-versions-list"},{"title":"سرد تسميات الإعداد المسبق","sidebarTitle":"سرد التسميات","openapi":"ar/openapi/v1/openapi.localized.yaml GET /presets/{id}/labels","href":"/ar/v1/api-reference/endpoint/presets-labels-list"},{"title":"تعيين تسمية للإعداد المسبق","sidebarTitle":"تعيين تسمية","openapi":"ar/openapi/v1/openapi.localized.yaml PUT /presets/{id}/labels/{label}","href":"/ar/v1/api-reference/endpoint/presets-label-set"},{"title":"إزالة تسمية من الإعداد المسبق","sidebarTitle":"إزالة التسمية","openapi":"ar/openapi/v1/openapi.localized.yaml DELETE /presets/{id}/labels/{label}","href":"/ar/v1/api-reference/endpoint/presets-label-delete"},{"title":"تفريع إعداد مسبق عام","sidebarTitle":"تفريع الإعداد المسبق","openapi":"ar/openapi/v1/openapi.localized.yaml POST /presets/{id}/fork","href":"/ar/v1/api-reference/endpoint/presets-fork"},{"title":"تطبيق الإصدار من المصدر preset version","sidebarTitle":"تطبيق الإصدار من المصدر","openapi":"ar/openapi/v1/openapi.localized.yaml POST /presets/{id}/upstream","href":"/ar/v1/api-reference/endpoint/presets-upstream-apply"},{"title":"أرشفة إعداد مسبق","sidebarTitle":"أرشفة الإعداد المسبق","openapi":"ar/openapi/v1/openapi.localized.yaml DELETE /presets/{id}","href":"/ar/v1/api-reference/endpoint/presets-delete"},{"title":"عرض الإعدادات المسبقة","sidebarTitle":"عرض الإعدادات المسبقة","openapi":"ar/openapi/v1/openapi.localized.yaml GET /presets","href":"/ar/v1/api-reference/endpoint/presets-list"},{"title":"الحصول على ناشر الإعداد المسبق","sidebarTitle":"الحصول على الناشر","openapi":"ar/openapi/v1/openapi.localized.yaml GET /presets/publisher","href":"/ar/v1/api-reference/endpoint/presets-publisher-get"},{"title":"تحديث ناشر الإعداد المسبق","sidebarTitle":"تحديث الناشر","openapi":"ar/openapi/v1/openapi.localized.yaml PUT /presets/publisher","href":"/ar/v1/api-reference/endpoint/presets-publisher-update"}]},{"group":"النماذج الخاصة","expanded":false,"pages":[{"title":"إنشاء نموذج خاص","sidebarTitle":"إنشاء نموذج خاص","openapi":"ar/openapi/v1/openapi.localized.yaml POST /private-models","href":"/ar/v1/api-reference/endpoint/private-models-create"},{"title":"الحصول على نموذج خاص","sidebarTitle":"الحصول على نموذج خاص","openapi":"ar/openapi/v1/openapi.localized.yaml GET /private-models/{id}","href":"/ar/v1/api-reference/endpoint/private-models-get"},{"title":"تحديث نموذج خاص","sidebarTitle":"تحديث نموذج خاص","openapi":"ar/openapi/v1/openapi.localized.yaml PATCH /private-models/{id}","href":"/ar/v1/api-reference/endpoint/private-models-update"},{"title":"حذف نموذج خاص","sidebarTitle":"حذف نموذج خاص","openapi":"ar/openapi/v1/openapi.localized.yaml DELETE /private-models/{id}","href":"/ar/v1/api-reference/endpoint/private-models-delete"},{"title":"سرد النماذج الخاصة","sidebarTitle":"سرد النماذج الخاصة","openapi":"ar/openapi/v1/openapi.localized.yaml GET /private-models","href":"/ar/v1/api-reference/endpoint/private-models-list"}]},{"group":"بيانات اعتماد المزودين","expanded":false,"pages":[{"title":"إنشاء بيانات اعتماد للمزوّد","sidebarTitle":"إنشاء بيانات اعتماد","openapi":"ar/openapi/v1/openapi.localized.yaml POST /byok","href":"/ar/v1/api-reference/endpoint/provider-credentials-create"},{"title":"الحصول على بيانات اعتماد المزوّد","sidebarTitle":"الحصول على بيانات الاعتماد","openapi":"ar/openapi/v1/openapi.localized.yaml GET /byok/{id}","href":"/ar/v1/api-reference/endpoint/provider-credentials-get"},{"title":"تحديث بيانات اعتماد المزوّد","sidebarTitle":"تحديث بيانات الاعتماد","openapi":"ar/openapi/v1/openapi.localized.yaml PATCH /byok/{id}","href":"/ar/v1/api-reference/endpoint/provider-credentials-update"},{"title":"إعادة ترتيب بيانات اعتماد المزوّد","sidebarTitle":"إعادة ترتيب بيانات الاعتماد","openapi":"ar/openapi/v1/openapi.localized.yaml POST /byok/reorder","href":"/ar/v1/api-reference/endpoint/provider-credentials-reorder"},{"title":"حذف بيانات اعتماد المزوّد","sidebarTitle":"حذف بيانات الاعتماد","openapi":"ar/openapi/v1/openapi.localized.yaml DELETE /byok/{id}","href":"/ar/v1/api-reference/endpoint/provider-credentials-delete"},{"title":"عرض بيانات اعتماد المزوّد","sidebarTitle":"عرض بيانات الاعتماد","openapi":"ar/openapi/v1/openapi.localized.yaml GET /byok","href":"/ar/v1/api-reference/endpoint/provider-credentials-list"}]},{"group":"ضوابط الحماية","expanded":false,"pages":[{"icon":"shield-check","title":"واجهة API للضوابط الوقائية","sidebarTitle":"نظرة عامة","href":"/ar/v1/api-reference/endpoint/guardrails"},{"title":"إنشاء حاجز حماية","sidebarTitle":"إنشاء حاجز حماية","openapi":"ar/openapi/v1/openapi.localized.yaml POST /guardrails","href":"/ar/v1/api-reference/endpoint/guardrails-create"},{"title":"الحصول على حاجز حماية","sidebarTitle":"الحصول على حاجز الحماية","openapi":"ar/openapi/v1/openapi.localized.yaml GET /guardrails/{id}","href":"/ar/v1/api-reference/endpoint/guardrails-get"},{"title":"تحديث حاجز الحماية","sidebarTitle":"تحديث حاجز الحماية","openapi":"ar/openapi/v1/openapi.localized.yaml PATCH /guardrails/{id}","href":"/ar/v1/api-reference/endpoint/guardrails-update"},{"title":"حذف حاجز الحماية","sidebarTitle":"حذف حاجز الحماية","openapi":"ar/openapi/v1/openapi.localized.yaml DELETE /guardrails/{id}","href":"/ar/v1/api-reference/endpoint/guardrails-delete"},{"title":"عرض حواجز الحماية","sidebarTitle":"عرض حواجز الحماية","openapi":"ar/openapi/v1/openapi.localized.yaml GET /guardrails","href":"/ar/v1/api-reference/endpoint/guardrails-list"},{"title":"إضافة مفاتيح إلى حاجز الحماية","sidebarTitle":"إضافة المفاتيح المعيّنة","openapi":"ar/openapi/v1/openapi.localized.yaml POST /guardrails/{id}/keys/add","href":"/ar/v1/api-reference/endpoint/guardrail-keys-add"},{"title":"استبدال مفاتيح حاجز الحماية","sidebarTitle":"استبدال المفاتيح المعيّنة","openapi":"ar/openapi/v1/openapi.localized.yaml PUT /guardrails/{id}/keys","href":"/ar/v1/api-reference/endpoint/guardrail-keys-replace"},{"title":"إزالة مفاتيح حاجز الحماية","sidebarTitle":"إزالة المفاتيح المعيّنة","openapi":"ar/openapi/v1/openapi.localized.yaml POST /guardrails/{id}/keys/remove","href":"/ar/v1/api-reference/endpoint/guardrail-keys-remove"},{"title":"عرض مفاتيح حاجز الحماية","sidebarTitle":"عرض المفاتيح المعيّنة","openapi":"ar/openapi/v1/openapi.localized.yaml GET /guardrails/{id}/keys","href":"/ar/v1/api-reference/endpoint/guardrail-keys-list"},{"title":"إضافة أعضاء إلى حاجز الحماية","sidebarTitle":"إضافة الأعضاء المعيّنين","openapi":"ar/openapi/v1/openapi.localized.yaml POST /guardrails/{id}/members/add","href":"/ar/v1/api-reference/endpoint/guardrail-members-add"},{"title":"إزالة أعضاء حاجز الحماية","sidebarTitle":"إزالة الأعضاء المعيّنين","openapi":"ar/openapi/v1/openapi.localized.yaml POST /guardrails/{id}/members/remove","href":"/ar/v1/api-reference/endpoint/guardrail-members-remove"},{"title":"عرض أعضاء حاجز الحماية","sidebarTitle":"عرض الأعضاء المعيّنين","openapi":"ar/openapi/v1/openapi.localized.yaml GET /guardrails/{id}/members","href":"/ar/v1/api-reference/endpoint/guardrail-members-list"}]}]},{"group":"الاستخدام والمراقبة","icon":"chart-no-axes-combined","pages":[{"group":"الاستخدام والتحليلات","expanded":true,"pages":[{"title":"الحصول على عملية توليد","sidebarTitle":"الحصول على عملية توليد","openapi":"ar/openapi/v1/openapi.localized.yaml GET /generations","href":"/ar/v1/api-reference/endpoint/generation"},{"title":"عرض قائمة النشاط","sidebarTitle":"عرض قائمة النشاط","openapi":"ar/openapi/v1/openapi.localized.yaml GET /activity","href":"/ar/v1/api-reference/endpoint/activity"},{"title":"عرض أحداث تدقيق مساحة العمل","sidebarTitle":"أحداث التدقيق","openapi":"ar/openapi/v1/openapi.localized.yaml GET /audit-events","href":"/ar/v1/api-reference/endpoint/audit-events"},{"title":"الحصول على تحليلات مساحة العمل","sidebarTitle":"الحصول على التحليلات","openapi":"ar/openapi/v1/openapi.localized.yaml GET /analytics","href":"/ar/v1/api-reference/endpoint/analytics-get"},{"title":"تصدير تحليلات مساحة العمل","sidebarTitle":"تصدير التحليلات","openapi":"ar/openapi/v1/openapi.localized.yaml GET /analytics/export","href":"/ar/v1/api-reference/endpoint/analytics-export"},{"title":"التحقق من سلامة البوابة","sidebarTitle":"فحص الحالة","openapi":"ar/openapi/v1/openapi.localized.yaml GET /health","href":"/ar/v1/api-reference/endpoint/health"}]},{"group":"السجلات","expanded":true,"pages":[{"title":"عرض قائمة سجلات طلبات Gateway","sidebarTitle":"عرض سجلات طلبات Gateway","tag":"تجريبي","openapi":"ar/openapi/v1/openapi.localized.yaml GET /logs","href":"/ar/v1/api-reference/endpoint/logs-list"},{"title":"عرض سجل طلبات Gateway","tag":"تجريبي","openapi":"ar/openapi/v1/openapi.localized.yaml GET /logs/{requestId}","href":"/ar/v1/api-reference/endpoint/logs-get"}]},{"group":"قابلية الملاحظة","expanded":true,"pages":[{"title":"الحصول على سياسة تسجيل قابلية الرصد","sidebarTitle":"الحصول على سياسة التسجيل","openapi":"ar/openapi/v1/openapi.localized.yaml GET /observability/logging-policy","href":"/ar/v1/api-reference/endpoint/observability-logging-policy-get"},{"title":"تحديث سياسة تسجيل بيانات قابلية الملاحظة","sidebarTitle":"تحديث سياسة التسجيل","openapi":"ar/openapi/v1/openapi.localized.yaml PATCH /observability/logging-policy","href":"/ar/v1/api-reference/endpoint/observability-logging-policy-update"},{"title":"إنشاء وجهة لقابلية الرصد","sidebarTitle":"إنشاء الوجهة","openapi":"ar/openapi/v1/openapi.localized.yaml POST /observability/destinations","href":"/ar/v1/api-reference/endpoint/observability-destinations-create"},{"title":"الحصول على وجهة قابلية الرصد","sidebarTitle":"الحصول على الوجهة","openapi":"ar/openapi/v1/openapi.localized.yaml GET /observability/destinations/{id}","href":"/ar/v1/api-reference/endpoint/observability-destinations-get"},{"title":"تحديث وجهة قابلية الملاحظة","sidebarTitle":"تحديث الوجهة","openapi":"ar/openapi/v1/openapi.localized.yaml PATCH /observability/destinations/{id}","href":"/ar/v1/api-reference/endpoint/observability-destinations-update"},{"title":"حذف وجهة قابلية الرصد","sidebarTitle":"حذف الوجهة","openapi":"ar/openapi/v1/openapi.localized.yaml DELETE /observability/destinations/{id}","href":"/ar/v1/api-reference/endpoint/observability-destinations-delete"},{"title":"عرض وجهات قابلية الرصد","sidebarTitle":"عرض الوجهات","openapi":"ar/openapi/v1/openapi.localized.yaml GET /observability/destinations","href":"/ar/v1/api-reference/endpoint/observability-destinations-list"},{"title":"اختبار إعدادات الوجهة","sidebarTitle":"اختبار الإعدادات","openapi":"ar/openapi/v1/openapi.localized.yaml POST /observability/destinations/test","href":"/ar/v1/api-reference/endpoint/observability-destinations-test-config"},{"title":"التحقق من اتصال الوجهة","sidebarTitle":"التحقق من الاتصال","openapi":"ar/openapi/v1/openapi.localized.yaml POST /observability/destinations/{id}/test","href":"/ar/v1/api-reference/endpoint/observability-destinations-test"},{"title":"إرسال تتبع تجريبي","sidebarTitle":"إرسال تتبع تجريبي","openapi":"ar/openapi/v1/openapi.localized.yaml POST /observability/destinations/{id}/sample","href":"/ar/v1/api-reference/endpoint/observability-destinations-sample"},{"title":"اختبار مصنّف الطلبات","sidebarTitle":"اختبار المصنّف","openapi":"ar/openapi/v1/openapi.localized.yaml POST /classifiers/test","href":"/ar/v1/api-reference/endpoint/classifiers-test"}]},{"group":"الملاحظات والتقييمات","tag":"Beta","expanded":false,"pages":[{"title":"إنشاء ملاحظات Gateway","openapi":"ar/openapi/v1/openapi.localized.yaml POST /feedback","href":"/ar/v1/api-reference/endpoint/feedback-create"},{"title":"عرض قائمة ملاحظات Gateway","openapi":"ar/openapi/v1/openapi.localized.yaml GET /feedback","href":"/ar/v1/api-reference/endpoint/feedback-list"},{"title":"تلخيص ملاحظات Gateway","openapi":"ar/openapi/v1/openapi.localized.yaml GET /feedback/summary","href":"/ar/v1/api-reference/endpoint/feedback-summary"},{"title":"إنشاء حدث قابل للمراقبة","openapi":"ar/openapi/v1/openapi.localized.yaml POST /events","href":"/ar/v1/api-reference/endpoint/events-create"},{"title":"عرض قائمة أحداث قابلية المراقبة","openapi":"ar/openapi/v1/openapi.localized.yaml GET /events","href":"/ar/v1/api-reference/endpoint/events-list"},{"title":"إنشاء تشغيل اختبار لإعداد مسبق","openapi":"ar/openapi/v1/openapi.localized.yaml POST /preset-test-runs","href":"/ar/v1/api-reference/endpoint/preset-test-run-create"},{"title":"عرض تشغيل اختبار الإعداد المسبق","openapi":"ar/openapi/v1/openapi.localized.yaml GET /preset-test-runs/{id}","href":"/ar/v1/api-reference/endpoint/preset-test-run-get"},{"title":"تحديث تشغيل اختبار الإعداد المسبق","openapi":"ar/openapi/v1/openapi.localized.yaml PATCH /preset-test-runs/{id}","href":"/ar/v1/api-reference/endpoint/preset-test-run-update"},{"title":"عرض قائمة تشغيل اختبارات الإعدادات المسبقة","sidebarTitle":"عرض اختبارات الإعدادات المسبقة","openapi":"ar/openapi/v1/openapi.localized.yaml GET /preset-test-runs","href":"/ar/v1/api-reference/endpoint/preset-test-runs-list"}]}]},{"group":"إدارة مساحات العمل","icon":"users","pages":[{"group":"مساحات العمل","expanded":false,"pages":[{"title":"إنشاء مساحة عمل","sidebarTitle":"إنشاء مساحة عمل","openapi":"ar/openapi/v1/openapi.localized.yaml POST /workspaces","href":"/ar/v1/api-reference/endpoint/workspaces-create"},{"title":"الحصول على مساحة عمل","sidebarTitle":"الحصول على مساحة العمل","openapi":"ar/openapi/v1/openapi.localized.yaml GET /workspaces/{id}","href":"/ar/v1/api-reference/endpoint/workspaces-get"},{"title":"تحديث مساحة العمل","sidebarTitle":"تحديث مساحة العمل","openapi":"ar/openapi/v1/openapi.localized.yaml PATCH /workspaces/{id}","href":"/ar/v1/api-reference/endpoint/workspaces-update"},{"title":"حذف مساحة عمل","sidebarTitle":"حذف مساحة العمل","openapi":"ar/openapi/v1/openapi.localized.yaml DELETE /workspaces/{id}","href":"/ar/v1/api-reference/endpoint/workspaces-delete"},{"title":"عرض مساحات العمل","sidebarTitle":"عرض مساحات العمل","openapi":"ar/openapi/v1/openapi.localized.yaml GET /workspaces","href":"/ar/v1/api-reference/endpoint/workspaces-list"},{"title":"إضافة أعضاء إلى مساحة العمل","sidebarTitle":"إضافة أعضاء","openapi":"ar/openapi/v1/openapi.localized.yaml POST /workspaces/{id}/members/add","href":"/ar/v1/api-reference/endpoint/workspace-members-add"},{"title":"تحديث دور عضو مساحة العمل","sidebarTitle":"تحديث دور العضو","openapi":"ar/openapi/v1/openapi.localized.yaml PATCH /workspaces/{id}/members/{user_id}","href":"/ar/v1/api-reference/endpoint/workspace-member-role-update"},{"title":"إزالة أعضاء مساحة العمل","sidebarTitle":"إزالة الأعضاء","openapi":"ar/openapi/v1/openapi.localized.yaml POST /workspaces/{id}/members/remove","href":"/ar/v1/api-reference/endpoint/workspace-members-remove"},{"title":"عرض أعضاء مساحة العمل","sidebarTitle":"عرض الأعضاء","openapi":"ar/openapi/v1/openapi.localized.yaml GET /workspaces/{id}/members","href":"/ar/v1/api-reference/endpoint/workspace-members-list"},{"title":"إنشاء دعوة لمساحة العمل","sidebarTitle":"إنشاء دعوة","openapi":"ar/openapi/v1/openapi.localized.yaml POST /workspaces/{id}/invites","href":"/ar/v1/api-reference/endpoint/workspace-invites-create"},{"title":"حذف دعوة مساحة العمل","sidebarTitle":"حذف الدعوة","openapi":"ar/openapi/v1/openapi.localized.yaml DELETE /workspaces/{id}/invites/{invite_id}","href":"/ar/v1/api-reference/endpoint/workspace-invites-delete"},{"title":"عرض دعوات مساحة العمل","sidebarTitle":"عرض الدعوات","openapi":"ar/openapi/v1/openapi.localized.yaml GET /workspaces/{id}/invites","href":"/ar/v1/api-reference/endpoint/workspace-invites-list"},{"title":"عرض طلبات الانضمام إلى مساحة العمل","sidebarTitle":"عرض طلبات الانضمام","openapi":"ar/openapi/v1/openapi.localized.yaml GET /workspaces/{id}/join-requests","href":"/ar/v1/api-reference/endpoint/workspace-join-requests-list"},{"title":"الموافقة على طلب الانضمام إلى مساحة العمل","sidebarTitle":"الموافقة على طلب الانضمام","openapi":"ar/openapi/v1/openapi.localized.yaml POST /workspaces/{id}/join-requests/{request_id}/approve","href":"/ar/v1/api-reference/endpoint/workspace-join-request-approve"},{"title":"رفض طلب الانضمام إلى مساحة العمل","sidebarTitle":"رفض طلب الانضمام","openapi":"ar/openapi/v1/openapi.localized.yaml POST /workspaces/{id}/join-requests/{request_id}/reject","href":"/ar/v1/api-reference/endpoint/workspace-join-request-reject"},{"title":"قبول دعوة إلى مساحة عمل","sidebarTitle":"قبول الدعوة","openapi":"ar/openapi/v1/openapi.localized.yaml POST /invites/accept","href":"/ar/v1/api-reference/endpoint/invites-accept"},{"title":"عرض طلبات الانضمام الخاصة بك","sidebarTitle":"عرض طلباتك","openapi":"ar/openapi/v1/openapi.localized.yaml GET /invites/requests","href":"/ar/v1/api-reference/endpoint/invites-requests-list"},{"title":"جلب مستوى حد المعدل","sidebarTitle":"جلب مستوى حد المعدل","openapi":"ar/openapi/v1/openapi.localized.yaml GET /rate-limits/tier","href":"/ar/v1/api-reference/endpoint/rate-limits-tier-get"},{"title":"رفع مستوى حد المعدل","sidebarTitle":"رفع مستوى حد المعدل","openapi":"ar/openapi/v1/openapi.localized.yaml POST /rate-limits/tier/raise","href":"/ar/v1/api-reference/endpoint/rate-limits-tier-raise"}]},{"group":"مفاتيح API","expanded":false,"pages":[{"title":"الحصول على مفتاح API الحالي","sidebarTitle":"الحصول على مفتاح API الحالي","openapi":"ar/openapi/v1/openapi.localized.yaml GET /key","href":"/ar/v1/api-reference/endpoint/key-current"},{"title":"إنشاء مفتاح API","sidebarTitle":"إنشاء مفتاح API","openapi":"ar/openapi/v1/openapi.localized.yaml POST /keys","href":"/ar/v1/api-reference/endpoint/keys-create"},{"title":"الحصول على مفتاح API","sidebarTitle":"الحصول على مفتاح API","openapi":"ar/openapi/v1/openapi.localized.yaml GET /keys/{id}","href":"/ar/v1/api-reference/endpoint/keys-get"},{"title":"تحديث مفتاح API","sidebarTitle":"تحديث مفتاح API","openapi":"ar/openapi/v1/openapi.localized.yaml PATCH /keys/{id}","href":"/ar/v1/api-reference/endpoint/keys-update"},{"title":"تدوير مفتاح API","openapi":"ar/openapi/v1/openapi.localized.yaml POST /keys/{id}/rotate","href":"/ar/v1/api-reference/endpoint/keys-rotate"},{"title":"إبطال ذاكرة تخزين مفاتيح API","openapi":"ar/openapi/v1/openapi.localized.yaml POST /keys/{id}/invalidate","href":"/ar/v1/api-reference/endpoint/keys-invalidate"},{"title":"حذف مفتاح API","sidebarTitle":"حذف مفتاح API","openapi":"ar/openapi/v1/openapi.localized.yaml DELETE /keys/{id}","href":"/ar/v1/api-reference/endpoint/keys-delete"},{"title":"عرض مفاتيح API","sidebarTitle":"عرض مفاتيح API","openapi":"ar/openapi/v1/openapi.localized.yaml GET /keys","href":"/ar/v1/api-reference/endpoint/keys-list"},{"title":"الإبلاغ عن مفتاح API مسرّب","sidebarTitle":"الإبلاغ عن مفتاح مسرّب","openapi":"ar/openapi/v1/openapi.localized.yaml POST /security/report-leaked-key","href":"/ar/v1/api-reference/endpoint/security-report-leaked-key"},{"title":"عرض سياسات أحمال العمل الموثوقة","sidebarTitle":"عرض سياسات أحمال العمل الموثوقة","openapi":"ar/openapi/v1/openapi.localized.yaml GET /workload-identity/policies","href":"/ar/v1/api-reference/endpoint/trusted-workloads-list"},{"title":"إنشاء سياسة حمل عمل موثوق","sidebarTitle":"إنشاء سياسة حمل عمل موثوق","openapi":"ar/openapi/v1/openapi.localized.yaml POST /workload-identity/policies","href":"/ar/v1/api-reference/endpoint/trusted-workloads-create"},{"title":"الحصول على سياسة حمل عمل موثوق","sidebarTitle":"الحصول على سياسة حمل عمل موثوق","openapi":"ar/openapi/v1/openapi.localized.yaml GET /workload-identity/policies/{id}","href":"/ar/v1/api-reference/endpoint/trusted-workloads-get"},{"title":"تحديث سياسة حمل عمل موثوق","sidebarTitle":"تحديث سياسة حمل عمل موثوق","openapi":"ar/openapi/v1/openapi.localized.yaml PATCH /workload-identity/policies/{id}","href":"/ar/v1/api-reference/endpoint/trusted-workloads-update"},{"title":"حذف سياسة حمل عمل موثوق","sidebarTitle":"حذف سياسة حمل عمل موثوق","openapi":"ar/openapi/v1/openapi.localized.yaml DELETE /workload-identity/policies/{id}","href":"/ar/v1/api-reference/endpoint/trusted-workloads-delete"}]},{"group":"مفاتيح الإدارة","expanded":false,"pages":[{"title":"إنشاء مفتاح إدارة","sidebarTitle":"إنشاء مفتاح إدارة","openapi":"ar/openapi/v1/openapi.localized.yaml POST /management-keys","href":"/ar/v1/api-reference/endpoint/management-keys-create"},{"title":"الحصول على مفتاح الإدارة","sidebarTitle":"الحصول على مفتاح الإدارة","openapi":"ar/openapi/v1/openapi.localized.yaml GET /management-keys/{id}","href":"/ar/v1/api-reference/endpoint/management-keys-get"},{"title":"تحديث مفتاح الإدارة","sidebarTitle":"تحديث مفتاح الإدارة","openapi":"ar/openapi/v1/openapi.localized.yaml PATCH /management-keys/{id}","href":"/ar/v1/api-reference/endpoint/management-keys-update"},{"title":"حذف مفتاح الإدارة","sidebarTitle":"حذف مفتاح الإدارة","openapi":"ar/openapi/v1/openapi.localized.yaml DELETE /management-keys/{id}","href":"/ar/v1/api-reference/endpoint/management-keys-delete"},{"title":"عرض مفاتيح الإدارة","sidebarTitle":"عرض مفاتيح الإدارة","openapi":"ar/openapi/v1/openapi.localized.yaml GET /management-keys","href":"/ar/v1/api-reference/endpoint/management-keys-list"}]},{"group":"الأرصدة والميزانيات","expanded":false,"pages":[{"title":"عرض الأرصدة","sidebarTitle":"عرض الأرصدة","openapi":"ar/openapi/v1/openapi.localized.yaml GET /credits","href":"/ar/v1/api-reference/endpoint/credits"},{"title":"إنشاء ميزانية لمساحة العمل","sidebarTitle":"إنشاء ميزانية","openapi":"ar/openapi/v1/openapi.localized.yaml POST /budgets","href":"/ar/v1/api-reference/endpoint/budgets-create"},{"title":"الحصول على ميزانية مساحة العمل","sidebarTitle":"الحصول على الميزانية","openapi":"ar/openapi/v1/openapi.localized.yaml GET /budgets/{id}","href":"/ar/v1/api-reference/endpoint/budgets-get"},{"title":"تحديث ميزانية مساحة العمل","sidebarTitle":"تحديث الميزانية","openapi":"ar/openapi/v1/openapi.localized.yaml PATCH /budgets/{id}","href":"/ar/v1/api-reference/endpoint/budgets-update"},{"title":"حذف ميزانية مساحة العمل","sidebarTitle":"حذف الميزانية","openapi":"ar/openapi/v1/openapi.localized.yaml DELETE /budgets/{id}","href":"/ar/v1/api-reference/endpoint/budgets-delete"},{"title":"عرض ميزانيات مساحة العمل","sidebarTitle":"عرض الميزانيات","openapi":"ar/openapi/v1/openapi.localized.yaml GET /budgets","href":"/ar/v1/api-reference/endpoint/budgets-list"}]},{"group":"قواعد الإنفاق","tag":"Beta","expanded":false,"pages":[{"title":"إنشاء قاعدة إنفاق","sidebarTitle":"إنشاء قاعدة","openapi":"ar/openapi/v1/openapi.localized.yaml POST /spend-rules","href":"/ar/v1/api-reference/endpoint/spend-rules-create"},{"title":"الحصول على قاعدة إنفاق","sidebarTitle":"الحصول على قاعدة","openapi":"ar/openapi/v1/openapi.localized.yaml GET /spend-rules/{id}","description":"يعيد قاعدة إنفاق واحدة.","href":"/ar/v1/api-reference/endpoint/spend-rules-get"},{"title":"تحديث قاعدة إنفاق","sidebarTitle":"تحديث قاعدة","openapi":"ar/openapi/v1/openapi.localized.yaml PATCH /spend-rules/{id}","href":"/ar/v1/api-reference/endpoint/spend-rules-update"},{"title":"حذف قاعدة إنفاق","sidebarTitle":"حذف قاعدة","openapi":"ar/openapi/v1/openapi.localized.yaml DELETE /spend-rules/{id}","description":"يحذف قاعدة إنفاق ويرفع أي حظر بدأته.","href":"/ar/v1/api-reference/endpoint/spend-rules-delete"},{"title":"عرض قواعد الإنفاق","sidebarTitle":"عرض القواعد","openapi":"ar/openapi/v1/openapi.localized.yaml GET /spend-rules","href":"/ar/v1/api-reference/endpoint/spend-rules-list"},{"title":"معاينة قاعدة إنفاق","sidebarTitle":"معاينة قاعدة","openapi":"ar/openapi/v1/openapi.localized.yaml GET /spend-rules/{id}/preview","href":"/ar/v1/api-reference/endpoint/spend-rules-preview"},{"title":"إرسال تنبيه إنفاق تجريبي","sidebarTitle":"إرسال اختبار","openapi":"ar/openapi/v1/openapi.localized.yaml POST /spend-rules/{id}/test","href":"/ar/v1/api-reference/endpoint/spend-rules-test"},{"title":"عرض سجل قاعدة إنفاق","sidebarTitle":"سجل القاعدة","openapi":"ar/openapi/v1/openapi.localized.yaml GET /spend-rules/{id}/history","href":"/ar/v1/api-reference/endpoint/spend-rules-history"},{"title":"عرض حظر الإنفاق","sidebarTitle":"عرض الحظر","openapi":"ar/openapi/v1/openapi.localized.yaml GET /spend-blocks","href":"/ar/v1/api-reference/endpoint/spend-blocks-list"},{"title":"رفع حظر الإنفاق","sidebarTitle":"رفع الحظر","openapi":"ar/openapi/v1/openapi.localized.yaml POST /spend-blocks/{id}/lift","href":"/ar/v1/api-reference/endpoint/spend-blocks-lift"}]},{"group":"تطبيقات OAuth","tag":"Beta","expanded":false,"pages":[{"title":"إنشاء عميل OAuth","openapi":"ar/openapi/v1/openapi.localized.yaml POST /oauth-clients","href":"/ar/v1/api-reference/endpoint/oauth-clients-create"},{"title":"عرض عميل OAuth","openapi":"ar/openapi/v1/openapi.localized.yaml GET /oauth-clients/{client_id}","href":"/ar/v1/api-reference/endpoint/oauth-clients-get"},{"title":"تحديث عميل OAuth","openapi":"ar/openapi/v1/openapi.localized.yaml PATCH /oauth-clients/{client_id}","href":"/ar/v1/api-reference/endpoint/oauth-clients-update"},{"title":"إعادة إنشاء سر OAuth","openapi":"ar/openapi/v1/openapi.localized.yaml POST /oauth-clients/{client_id}/regenerate-secret","href":"/ar/v1/api-reference/endpoint/oauth-clients-regenerate-secret"},{"title":"حذف عميل OAuth","openapi":"ar/openapi/v1/openapi.localized.yaml DELETE /oauth-clients/{client_id}","href":"/ar/v1/api-reference/endpoint/oauth-clients-delete"},{"title":"عرض قائمة عملاء OAuth","openapi":"ar/openapi/v1/openapi.localized.yaml GET /oauth-clients","href":"/ar/v1/api-reference/endpoint/oauth-clients-list"},{"title":"جلب المستخدم الذي سجّل الدخول","sidebarTitle":"جلب المستخدم الحالي","openapi":"ar/openapi/v1/openapi.localized.yaml GET /me","href":"/ar/v1/api-reference/endpoint/me-get"},{"title":"جلب ملفك الشخصي","sidebarTitle":"جلب الملف الشخصي","openapi":"ar/openapi/v1/openapi.localized.yaml GET /me/profile","href":"/ar/v1/api-reference/endpoint/profile-get"},{"title":"تحديث ملفك الشخصي","sidebarTitle":"تحديث الملف الشخصي","openapi":"ar/openapi/v1/openapi.localized.yaml PATCH /me/profile","href":"/ar/v1/api-reference/endpoint/profile-update"},{"title":"عرض التطبيقات المصرّح بها","sidebarTitle":"عرض التطبيقات المصرّح بها","openapi":"ar/openapi/v1/openapi.localized.yaml GET /me/authorized-apps","href":"/ar/v1/api-reference/endpoint/authorized-apps-list"},{"title":"إزالة نطاقات من تطبيق مصرّح به","sidebarTitle":"تقليص نطاقات التطبيق","openapi":"ar/openapi/v1/openapi.localized.yaml PATCH /me/authorized-apps/{id}","href":"/ar/v1/api-reference/endpoint/authorized-apps-update-scopes"},{"title":"إلغاء تصريح تطبيق","sidebarTitle":"إلغاء تصريح التطبيق","openapi":"ar/openapi/v1/openapi.localized.yaml DELETE /me/authorized-apps/{id}","href":"/ar/v1/api-reference/endpoint/authorized-apps-revoke"}]},{"group":"SSO وSCIM","tag":"Beta","expanded":false,"pages":[{"title":"عرض SSO لمساحة العمل","openapi":"ar/openapi/v1/openapi.localized.yaml GET /identity/sso","href":"/ar/v1/api-reference/endpoint/identity-sso-get"},{"title":"تحديث SSO لمساحة العمل","openapi":"ar/openapi/v1/openapi.localized.yaml PUT /identity/sso","href":"/ar/v1/api-reference/endpoint/identity-sso-update"},{"title":"عرض SCIM لمساحة العمل","openapi":"ar/openapi/v1/openapi.localized.yaml GET /identity/scim","href":"/ar/v1/api-reference/endpoint/identity-scim-get"},{"title":"تحديث SCIM لمساحة العمل","openapi":"ar/openapi/v1/openapi.localized.yaml PUT /identity/scim","href":"/ar/v1/api-reference/endpoint/identity-scim-update"},{"title":"إنشاء رمز SCIM","openapi":"ar/openapi/v1/openapi.localized.yaml POST /identity/scim/tokens","href":"/ar/v1/api-reference/endpoint/identity-scim-token-create"},{"title":"إلغاء رمز SCIM","openapi":"ar/openapi/v1/openapi.localized.yaml DELETE /identity/scim/tokens/{id}","href":"/ar/v1/api-reference/endpoint/identity-scim-token-revoke"},{"title":"عرض قائمة أحداث تدقيق SCIM","openapi":"ar/openapi/v1/openapi.localized.yaml GET /identity/scim/audit","href":"/ar/v1/api-reference/endpoint/identity-scim-audit-list"}]},{"group":"الدليل والأقسام","tag":"Beta","expanded":false,"pages":[{"title":"عرض دليل مساحة العمل","openapi":"ar/openapi/v1/openapi.localized.yaml GET /identity/directory","href":"/ar/v1/api-reference/endpoint/identity-directory-get"},{"title":"تحديث عضو الدليل","openapi":"ar/openapi/v1/openapi.localized.yaml PUT /identity/directory/members/{id}","href":"/ar/v1/api-reference/endpoint/identity-directory-member-update"},{"title":"إنشاء قسم لمساحة العمل","openapi":"ar/openapi/v1/openapi.localized.yaml POST /identity/departments","href":"/ar/v1/api-reference/endpoint/identity-department-create"},{"title":"تحديث قسم مساحة العمل","openapi":"ar/openapi/v1/openapi.localized.yaml PATCH /identity/departments/{id}","href":"/ar/v1/api-reference/endpoint/identity-department-update"},{"title":"حذف قسم مساحة العمل","openapi":"ar/openapi/v1/openapi.localized.yaml DELETE /identity/departments/{id}","href":"/ar/v1/api-reference/endpoint/identity-department-delete"},{"title":"عرض قائمة أقسام مساحة العمل","openapi":"ar/openapi/v1/openapi.localized.yaml GET /identity/departments","href":"/ar/v1/api-reference/endpoint/identity-departments-list"},{"title":"تعيين عضوية القسم","openapi":"ar/openapi/v1/openapi.localized.yaml PUT /identity/departments/{departmentId}/members/{userId}","href":"/ar/v1/api-reference/endpoint/identity-department-member-set"},{"title":"حذف عضوية القسم","openapi":"ar/openapi/v1/openapi.localized.yaml DELETE /identity/departments/{departmentId}/members/{userId}","href":"/ar/v1/api-reference/endpoint/identity-department-member-delete"},{"title":"إنشاء تعيين مجموعة الدليل","openapi":"ar/openapi/v1/openapi.localized.yaml POST /identity/group-mappings","href":"/ar/v1/api-reference/endpoint/identity-group-mapping-create"},{"title":"تحديث تعيين مجموعة الدليل","openapi":"ar/openapi/v1/openapi.localized.yaml PATCH /identity/group-mappings/{id}","href":"/ar/v1/api-reference/endpoint/identity-group-mapping-update"},{"title":"حذف تعيين مجموعة الدليل","openapi":"ar/openapi/v1/openapi.localized.yaml DELETE /identity/group-mappings/{id}","href":"/ar/v1/api-reference/endpoint/identity-group-mapping-delete"},{"title":"عرض قائمة تعيينات مجموعات الدليل","openapi":"ar/openapi/v1/openapi.localized.yaml GET /identity/group-mappings","href":"/ar/v1/api-reference/endpoint/identity-group-mappings-list"}]},{"group":"الإشعارات","tag":"Beta","expanded":false,"pages":[{"title":"عرض إعدادات الإشعارات","openapi":"ar/openapi/v1/openapi.localized.yaml GET /notifications/settings","href":"/ar/v1/api-reference/endpoint/notifications-settings-get"},{"title":"تحديث إعدادات الإشعارات","openapi":"ar/openapi/v1/openapi.localized.yaml PATCH /notifications/settings","href":"/ar/v1/api-reference/endpoint/notifications-settings-update"},{"title":"إنشاء وجهة إشعارات","openapi":"ar/openapi/v1/openapi.localized.yaml POST /notifications/destinations","href":"/ar/v1/api-reference/endpoint/notifications-destination-create"},{"title":"اختبار إعداد الوجهة","openapi":"ar/openapi/v1/openapi.localized.yaml POST /notifications/destinations/test","href":"/ar/v1/api-reference/endpoint/notifications-destination-config-test"},{"title":"اختبار وجهة الإشعارات","openapi":"ar/openapi/v1/openapi.localized.yaml POST /notifications/destinations/{id}/test","href":"/ar/v1/api-reference/endpoint/notifications-destination-test"},{"title":"تدوير سر webhook الإشعارات","openapi":"ar/openapi/v1/openapi.localized.yaml POST /notifications/destinations/{id}/rotate-secret","href":"/ar/v1/api-reference/endpoint/notifications-destination-rotate-secret"},{"title":"حذف وجهة إشعارات","openapi":"ar/openapi/v1/openapi.localized.yaml DELETE /notifications/destinations/{id}","href":"/ar/v1/api-reference/endpoint/notifications-destination-delete"},{"title":"عرض قائمة وجهات الإشعارات","openapi":"ar/openapi/v1/openapi.localized.yaml GET /notifications/destinations","href":"/ar/v1/api-reference/endpoint/notifications-destinations-list"},{"title":"عرض قائمة مسارات الإشعارات","openapi":"ar/openapi/v1/openapi.localized.yaml GET /notifications/routes","href":"/ar/v1/api-reference/endpoint/notifications-routes-list"},{"title":"تحديث مسار الإشعارات","openapi":"ar/openapi/v1/openapi.localized.yaml PUT /notifications/routes/{eventKind}","href":"/ar/v1/api-reference/endpoint/notifications-route-update"}]},{"group":"التطبيقات","tag":"Beta","expanded":false,"pages":[{"title":"عرض قائمة تطبيقات مساحة العمل","openapi":"ar/openapi/v1/openapi.localized.yaml GET /apps","href":"/ar/v1/api-reference/endpoint/apps-list"},{"title":"تحديث تطبيق مساحة العمل","openapi":"ar/openapi/v1/openapi.localized.yaml PATCH /apps/{id}","href":"/ar/v1/api-reference/endpoint/app-update"},{"title":"دمج تطبيقات مساحة العمل","openapi":"ar/openapi/v1/openapi.localized.yaml POST /apps/{id}/merge","href":"/ar/v1/api-reference/endpoint/app-merge"}]},{"group":"المساهمة بالبيانات","tag":"Beta","expanded":false,"pages":[{"title":"عرض إعدادات المساهمة بالبيانات","openapi":"ar/openapi/v1/openapi.localized.yaml GET /data-contribution","href":"/ar/v1/api-reference/endpoint/data-contribution-get"},{"title":"تحديث الموافقة على المساهمة بالبيانات","openapi":"ar/openapi/v1/openapi.localized.yaml PATCH /data-contribution/consent","href":"/ar/v1/api-reference/endpoint/data-contribution-consent-update"},{"title":"إنشاء مصنّف مساهمات البيانات","openapi":"ar/openapi/v1/openapi.localized.yaml POST /data-contribution/classifiers","href":"/ar/v1/api-reference/endpoint/data-contribution-classifier-create"},{"title":"تحديث مصنّف مساهمات البيانات","openapi":"ar/openapi/v1/openapi.localized.yaml PATCH /data-contribution/classifiers/{id}","href":"/ar/v1/api-reference/endpoint/data-contribution-classifier-update"},{"title":"حذف مصنّف مساهمات البيانات","openapi":"ar/openapi/v1/openapi.localized.yaml DELETE /data-contribution/classifiers/{id}","href":"/ar/v1/api-reference/endpoint/data-contribution-classifier-delete"}]}]}]},{"tab":"SDK العميل","icon":"package","menu":[{"item":"AI SDK من Vercel","icon":"https://mintlify.s3.us-west-1.amazonaws.com/aistats/icons/brands/vercel.svg","pages":[{"title":"AI SDK من Vercel","href":"/ar/v1/sdk-reference/sdk/ai-sdk"}]},{"item":"SDK TypeScript","icon":"https://mintlify.s3.us-west-1.amazonaws.com/aistats/icons/languages/typescript.svg","pages":[{"title":"SDK TypeScript","href":"/ar/v1/sdk-reference/typescript/overview"}]},{"item":"حزمة SDK لـ Python","icon":"https://mintlify.s3.us-west-1.amazonaws.com/aistats/icons/languages/python.svg","pages":[{"title":"حزمة SDK لـ Python","href":"/ar/v1/sdk-reference/python/overview"}]},{"item":"SDK Go","icon":"https://mintlify.s3.us-west-1.amazonaws.com/aistats/icons/languages/go.svg","pages":[{"title":"SDK Go","href":"/ar/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":"/ar/v1/sdk-reference/csharp/overview"}]},{"item":"حزمة PHP","icon":"https://mintlify.s3.us-west-1.amazonaws.com/aistats/icons/languages/php.svg","pages":[{"title":"حزمة PHP","href":"/ar/v1/sdk-reference/php/overview"}]},{"item":"حزمة Ruby","icon":"https://mintlify.s3.us-west-1.amazonaws.com/aistats/icons/languages/ruby.svg","pages":[{"title":"حزمة Ruby","href":"/ar/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":"/ar/v1/sdk-reference/java/overview"}]},{"item":"SDK Rust","icon":"https://mintlify.s3.us-west-1.amazonaws.com/aistats/icons/languages/rust.svg","pages":[{"title":"SDK Rust","href":"/ar/v1/sdk-reference/rust/overview"}]}],"pages":[{"title":"SDK العميل","href":"/ar/v1/sdk-reference/sdk/ai-sdk"}]},{"tab":"حزمة SDK للوكلاء","icon":"bot","menu":[{"item":"نظرة عامة","icon":"compass","pages":[{"title":"نظرة عامة","href":"/ar/v1/sdk-reference/agent-sdk/overview"}]},{"item":"حزمة SDK لوكلاء TypeScript","icon":"https://mintlify.s3.us-west-1.amazonaws.com/aistats/icons/languages/typescript.svg","pages":[{"title":"حزمة SDK لوكلاء TypeScript","href":"/ar/v1/sdk-reference/typescript/agent-sdk-overview"}]},{"item":"حزمة SDK لوكلاء Python","icon":"https://mintlify.s3.us-west-1.amazonaws.com/aistats/icons/languages/python.svg","pages":[{"title":"حزمة SDK لوكلاء Python","href":"/ar/v1/sdk-reference/python/agent-sdk-overview"}]},{"item":"حزمة SDK لوكلاء Go","icon":"https://mintlify.s3.us-west-1.amazonaws.com/aistats/icons/languages/go.svg","pages":[{"title":"حزمة SDK لوكلاء Go","href":"/ar/v1/sdk-reference/go/agent-sdk-overview"}]},{"item":"حزمة SDK لوكلاء C#","icon":"https://mintlify.s3.us-west-1.amazonaws.com/aistats/icons/languages/csharp.svg","pages":[{"title":"حزمة SDK لوكلاء C#","href":"/ar/v1/sdk-reference/csharp/agent-sdk-overview"}]},{"item":"حزمة SDK لوكلاء PHP","icon":"https://mintlify.s3.us-west-1.amazonaws.com/aistats/icons/languages/php.svg","pages":[{"title":"حزمة SDK لوكلاء PHP","href":"/ar/v1/sdk-reference/php/agent-sdk-overview"}]},{"item":"حزمة SDK لوكلاء Ruby","icon":"https://mintlify.s3.us-west-1.amazonaws.com/aistats/icons/languages/ruby.svg","pages":[{"title":"حزمة SDK لوكلاء Ruby","href":"/ar/v1/sdk-reference/ruby/agent-sdk-overview"}]},{"item":"حزمة SDK لوكلاء Rust","icon":"https://mintlify.s3.us-west-1.amazonaws.com/aistats/icons/languages/rust.svg","pages":[{"title":"حزمة SDK لوكلاء Rust","href":"/ar/v1/sdk-reference/rust/agent-sdk-overview"}]}],"pages":[{"title":"حزمة SDK للوكلاء","href":"/ar/v1/sdk-reference/agent-sdk/overview"}]},{"tab":"دليل الوصفات","icon":"chef-hat","pages":[{"title":"دليل الوصفات","href":"/ar/v1/cookbook"}]},{"tab":"سجل التغييرات","icon":"history","pages":[{"title":"سجل التغييرات","href":"/ar/v1/changelog"}]}]}]},"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"]}