يطرح هذا الطلب سؤالًا واحدًا من كل نوع. يحتاج إلى مفتاح Phaseo API وإلى مسار openai/gpt-6-luna متاح.
curl https://api.phaseo.app/v1/decisions \ -H "Authorization: Bearer $PHASEO_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "openai/gpt-6-luna", "input": "I was charged twice for my order and I cannot log in to download the invoice.", "questions": [ { "type": "choice", "name": "department", "instructions": "Which team should handle this request?", "choices": [ { "value": "billing", "description": "Payments, invoices and refunds" }, { "value": "support", "description": "Product usage and troubleshooting" } ] }, { "type": "predicate", "name": "is_blocked", "instructions": "Is the customer blocked from using the product?" }, { "type": "score", "name": "urgency", "instructions": "How urgent is this request?", "levels": [{ "label": "low" }, { "label": "medium" }, { "label": "high" }] } ] }'
import Phaseo from "@phaseo/sdk";const client = new Phaseo(); // reads PHASEO_API_KEYconst decision = await client.decisions.create({ model: "openai/gpt-6-luna", input: "I was charged twice for my order and I cannot log in to download the invoice.", questions: [ { type: "choice", name: "department", instructions: "Which team should handle this request?", choices: [ { value: "billing", description: "Payments, invoices and refunds" }, { value: "support", description: "Product usage and troubleshooting" }, ], }, { type: "predicate", name: "is_blocked", instructions: "Is the customer blocked from using the product?" }, { type: "score", name: "urgency", instructions: "How urgent is this request?", levels: [{ label: "low" }, { label: "medium" }, { label: "high" }], }, ],});console.log(decision.answers);
from phaseo import Phaseoclient = Phaseo() # reads PHASEO_API_KEYdecision = client.decisions.create( { "model": "openai/gpt-6-luna", "input": "I was charged twice for my order and I cannot log in to download the invoice.", "questions": [ { "type": "choice", "name": "department", "instructions": "Which team should handle this request?", "choices": [ {"value": "billing", "description": "Payments, invoices and refunds"}, {"value": "support", "description": "Product usage and troubleshooting"}, ], }, {"type": "predicate", "name": "is_blocked", "instructions": "Is the customer blocked from using the product?"}, { "type": "score", "name": "urgency", "instructions": "How urgent is this request?", "levels": [{"label": "low"}, {"label": "medium"}, {"label": "high"}], }, ], })print(decision["answers"])
input سلسلة نصية، أو مصفوفة من رسائل user يكون content فيها سلسلة نصية أو قائمة من أجزاء input_text وinput_image وinput_audio وinput_video. الحقل name اختياري؛ وتحافظ الإجابات على ترتيب الطلب، بما في ذلك الأسئلة غير المسمّاة والأسماء المكررة.
type
حقول إضافية
حقول الإجابة
predicate
لا شيء
probability (0–1) أن تكون الإجابة نعم
choice
choices: value (سلسلة نصية أو قيمة منطقية، مميزة) وdescription اختياري
choice وconfidence وprobabilities لكل قيمة
score
levels: label وdescription اختياري
score (فهرس المستوى المرجّح بالاحتمالات) وconfidence وprobabilities لكل مستوى
box
لا شيء؛ يتطلب صورة في input
box (top وbottom وleft وright) وconfidence
تعود قيم الخيارات المنطقية بوصفها قيمًا منطقية. يُرجع النموذج الذي يرفض الإجابة عن سؤال type: "refusal" له. الأنواع التي يدعمها كل نموذج مدرجة في اختر نموذجًا.توضع الصور في أجزاء input_image بوصفها عناوين data URL. لا تعمل عناوين HTTPS للصور المستضافة إلا على نماذج Base Labs (baselabs/elephant-1 وbaselabs/mammoth-1 وbaselabs/joey-1)، ويجب أن تكون على Amazon S3 أو Google Cloud Storage أو Azure Blob Storage. يحمل الطلب 128 صورة على الأكثر، وهو ما يقبله Luna؛ ويضع المزوّدون الآخرون حدودًا أقل. يتطلب detail صريح للصورة وsafety_identifier مسارًا لدى OpenAI.
لا تزال الطلبات التي تحتوي state وخريطة من الأسئلة المسمّاة تعمل، وتُرجع إجابات مفهرسة بالأسماء نفسها. يتطلب Together Tev (together/tev1-4b-experimental) هذا التنسيق، لأنه يُرجع تسمية بلا احتمالات، ولا يجيب إلا عن أسئلة choice. يستخدم Respan Span-01 هذا التنسيق أيضًا. لا تخلط بين التنسيقين: input مع state أو images يُرجع 400.
state: سلسلة نصية أو كائن أو مصفوفة تحتوي المعلومات المراد تقييمها.
questions: حتى 128 سؤالًا مسمّى. يضبط كل منها type على noul (نعم/لا) أو choice أو score، إضافة إلى instructions. تأخذ أسئلة الاختيار criteria بوصفها خريطة من الخيار إلى وصفه؛ وتأخذ أسئلة الدرجات criteria بوصفها مصفوفة من وصفين للمستويات على الأقل.
images: حتى أربع صور PNG أو JPEG أو WebP، بوصفها عناوين data: أو كائنات { "content_type", "base64" }.
model: القيمة الافتراضية typesafe/jev-1.13.0 عند حذفه.
تستخدم الإجابات المفاتيح نفسها الموجودة في questions. تتضمن إجابات choice الخيار المحدد والاحتمالات والثقة؛ وتتضمن إجابات noul احتمالًا بين 0 و1؛ وتتضمن إجابات score درجة مرجّحة بالاحتمالات ومفتاحًا للمستويات واحتمالات وثقة.
استخدم typesafe/jev-1.13.0 لـ Jev 1.13، أو typesafe/jev-latest لمتابعة أحدث إصدار من Jev. لدلالات الأسئلة لدى المزوّد، راجع مرجع API الخاص بـ TypeSafe.على مسارات TypeSafe الداعمة، يقبل Jev 1.13 و1.14 صور PNG أو JPEG مضمّنة عبر input_image أو الحقل الأقدم images. يبني Phaseo أصول الصور الخاصة بـ TypeSafe ويفعّل دعم الصور تلقائيًا. يجب أن تستوفي الصور حدود الصور لدى TypeSafe: 16 MiB على الأكثر لكل صورة، ومن 256 إلى 1568 بكسل لكل ضلع، و78,400 بكسل إجماليًا على الأقل. يتحقق TypeSafe من الأبعاد والترميز ولا يغيّر حجم الصور المرفوضة. يقتصر جسم JSON المحوَّل المُرسل إلى المزوّد على 32 MiB. تستخدم tokens الصور سعر الإدخال العادي.يتطلب box (على المسارات الداعمة مثل Jev 1.14) صورة، ولا يأخذ معايير، ويُرجع مربعًا محيطًا واحدًا مع الثقة. تتراوح حوافه بين 0 و1، مقيسةً من الزاوية العلوية اليسرى. يُرجع Box دائمًا مستطيلًا، لذا اقرنه بسؤال predicate عن الوجود عندما قد يكون الهدف غائبًا. مع الحقل الأقدم images، أشر إلى images[0]؛ ومع الإدخال المرتّب، أشر إلى الصورة الأولى أو [Image 0]. راجع عقد Box.اضبط provider_options.typesafe.long_context على true لرفع حدود السياق لكل طلب ولكل سؤال إلى 262k token، بدلًا من القيم الافتراضية البالغة 64k لكل طلب و32k لكل سؤال. يكلّف السياق الطويل السعر نفسه لكل token. الصور وBox والسياق الطويل قدرات تجريبية لدى المزوّد.
{ "model": "typesafe/jev-1.14.0", "input": [{ "role": "user", "content": [{ "type": "input_image", "image_url": "data:image/png;base64,<base64 image bytes>" }] }], "questions": [ { "type": "predicate", "name": "visible", "instructions": "Is there a mug in the first image?" }, { "type": "box", "name": "mug", "instructions": "The mug in the first image" } ], "provider_options": { "typesafe": { "long_context": true } }}
يقبل images أيضًا سلسلة data:image/png;base64,.... يقبل Clef حتى أربع صور PNG أو JPEG أو WebP، كل منها 4 MiB و16 ميغابكسل على الأكثر، مع 8 MiB على الأكثر من بيانات الصور بعد فك الترميز وجسم طلب حجمه 13 MiB. العناوين البعيدة غير مدعومة، ويتحقق Cloudflare من تنسيقات الصور وأبعادها. ترفض النماذج التي لا تدعم الصور طلبات الصور.يقبل Clef 64 سؤالًا على الأكثر، بمعرّفات تصل إلى 100 حرف من الأحرف أو الأرقام أو الشرطات السفلية أو النقاط أو الشرطات. تحتاج أسئلة الاختيار إلى 2–255 خيارًا، وأسئلة الدرجات إلى 2–10 مستويات. راجع توثيق Clef لدى Cloudflare.
يقبل cloudflare/clef-omni النص والصور والصوت والفيديو. أجزاء الصوت والفيديو امتدادات من Phaseo لتنسيق الإدخال؛ إذ لا تقبل مسارات OpenAI إلا النص والصور. استبدل بايتات الصوت وعنوان الفيديو المؤقتة بوسائطك قبل إرسال هذا المثال.
أرسل الصوت بوصفه input_audio.data مع format: "wav" أو "mp3"، أو بوصفه input_audio.url مع عنوان HTTPS عام أو data URL صوتي مضمّن. يأخذ input_video.video_url سلسلة نصية أو { "url": "..." } يحمل عنوان HTTPS عامًا أو data URL مضمّنًا بتنسيق MP4/WebM. يجب أن تُرجع الخوادم البعيدة قيمة Content-Type المطابقة. يجلب Phaseo العناوين مع حدود للحجم وفحوص للعناوين الخاصة وإعادة التوجيه، ثم يضمّن الوسائط لـ Cloudflare؛ ولا تُرسل بيانات اعتماد المزوّد إلى خادم الوسائط أبدًا.
الحد
القيمة
المقاطع الصوتية
4، كل منها 8 MiB و300 ثانية على الأكثر
مقاطع الفيديو
2، كل منها 16 MiB و60 ثانية على الأكثر
الصوت والفيديو معًا
16 MiB بعد فك الترميز
الصور
حدود الصورة الواحدة والحدود المجمّعة نفسها كما في Clef
جسم الطلب
37 MiB (بدلًا من 13 MiB في Clef)
السياق
64,000 token
يتحقق Cloudflare من ترميز الوسائط وأبعاد الصور ومدة المقاطع، ويأخذ عينات من الفيديو بمعدل إطارين في الثانية. يُستخدم صوت الفيديو عندما يكون لكل فيديو في الطلب صوت. تُحتسب tokens الوسائط ضمن السياق والفوترة؛ ويسوّي Phaseo الحساب بناءً على استخدام الإدخال الذي يبلغ عنه Cloudflare، ولا يضيف رسومًا منفصلة للصوت أو الفيديو. راجع عقد Omni لدى Cloudflare.
Liquid D1 (liquid-ai/d1:free، وأيضًا liquid-ai/d1) مجاني خلال الوصول المبكر التجريبي. يحتاج Perplexity Decider 27B (perplexity/decider-27b) إلى بيانات اعتماد مزوّد Perplexity في Phaseo. تستخدم حالة الصور لديه عناوين data URL بتنسيق base64 لصور PNG أو JPEG أو WebP؛ وعناوين الصور البعيدة غير مدعومة. في كليهما، يقبل سؤال الاختيار حتى 255 خيارًا، وسؤال الدرجات حتى 10 مستويات.
يأخذ inception/mercury-decide أدلة نصية أو JSON. تقبل أسئلة الاختيار حتى 255 خيارًا، وأسئلة الدرجات حتى 10 مستويات. الصور والبث واستدعاء الأدوات غير مدعومة. سعر الإدخال البالغ $0.02 هو عرض Inception الترويجي بخصم 50%، ولا يوجد له تاريخ انتهاء منشور؛ راجع التسعير الحالي لدى المزوّد قبل الاستخدام.
{ "model": "inception/mercury-decide", "input": "Please refund the duplicate charge on my account.", "questions": [{ "type": "predicate", "name": "billing", "instructions": "Is this request about billing?" }]}
يعمل microsoft/microsoft-decision-1 على نشر في Azure Foundry، ويأخذ أدلة نصية أو JSON حتى 32,768 token. الوسائط والبث والأدوات وsafety_identifier وservice_tier غير مدعومة. راجع دليل Microsoft.
{ "model": "microsoft/microsoft-decision-1", "input": "The API returns 500 on every call.", "questions": [{ "type": "choice", "name": "team", "instructions": "Which team should handle this ticket?", "choices": [ { "value": "engineering", "description": "Bugs, errors, and outages" }, { "value": "support", "description": "How-to and account questions" } ] }]}
يستخدم Span-01 التنسيق الأقدم. يجب أن يكون state مقطع محادثة: مصفوفة input من الرسائل السابقة ورسالة مساعد في output. لا يجيب إلا عن أسئلة noul: قيمة noul هي احتمال وجود السلوك، ويعطي probabilities أيضًا احتمالَي الغياب وعدم القابلية للملاحظة.
{ "model": "respan/span-01:free", "state": { "input": [{ "role": "user", "content": "Please connect me to a person." }], "output": { "role": "assistant", "content": "I will connect you to support." } }, "questions": { "escalation": { "type": "noul", "instructions": "Does the assistant offer a human handoff?" } }}
respan/span-01:free هو نموذج Lite المجاني بحد يومي، ويقابل النموذج span-01-free لدى Respan. ويقابل respan/span-01 النموذج span-01-pro وتتولى Respan فوترته. Span-01 في مرحلة الوصول المبكر: يجب أن تفعّله Respan لمؤسستك، وأن تضيف مفتاح Respan API بوصفه بيانات اعتماد مزوّد Respan في Phaseo قبل استدعاء أي من النموذجين.
نماذج احتياطية اختيارية ومرتبة تُجرَّب بعد model. الحقل model مطلوب وهو دائمًا النموذج الأساسي. عندما تفشل محاولة بالرمز 429 أو 500 أو 502 أو 503 أو 504، تُجرَّب الإدخالة التالية؛ وتُعاد الأخطاء الأخرى دون تغيير. يقبل ما يصل إلى 25 معرّف نموذج أو إعدادًا مسبقًا؛ وتُتجاهل الإدخالات المكررة والإدخالات المطابقة لـ model. يُتحقق من كل محاولة وتُسجَّل وتُحتسب تكلفتها كطلب مستقل، ويعرض الحقل model في الاستجابة وتتبّع التوجيه النموذج الذي خدم الطلب. لا تنتقل طلبات البث إلى نموذج احتياطي إلا قبل إرسال البايت الأول، ولا تنتقل مهام الفيديو والموسيقى إلا عند الإرسال. ترفض طلبات batch وrealtime وcouncil الحقل models. تكون الأولوية للنماذج الاحتياطية المحددة في مسار ديناميكي، ولا يمكن الجمع بين phaseo/auto وmodels.
{"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":""},"feedback":{"thumbs":true,"agentFeedback":true,"issues":true,"edits":true},"entitlements":{},"buildId":"6af340763cb52e19ebcd8055","clientVersion":"0.0.4102","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":141},{"language":"ja","tag":"ドキュメント","count":141},{"language":"zh-Hans","tag":"文档","count":141},{"language":"ar","tag":"الوثائق","count":139},{"language":"de","tag":"Docs","count":139},{"language":"es","tag":"Docs","count":139},{"language":"fr","tag":"Docs","count":139},{"language":"pt-BR","tag":"Docs","count":139},{"language":"en","tag":"Docs","count":139},{"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":"التوجيه والسياسات","count":57},{"language":"de","tag":"Routing und Richtlinien","count":57},{"language":"es","tag":"Enrutamiento y políticas","count":57},{"language":"fr","tag":"Routage et politiques","count":57},{"language":"hi","tag":"रूटिंग और नीतियाँ","count":57},{"language":"ja","tag":"ルーティングとポリシー","count":57},{"language":"pt-BR","tag":"Roteamento e políticas","count":57},{"language":"zh-Hans","tag":"路由与策略","count":57},{"language":"en","tag":"Routing \u0026 Policies","count":52},{"language":"ar","tag":"التكاملات","count":39},{"language":"de","tag":"Integrationen","count":39},{"language":"es","tag":"Integraciones","count":39},{"language":"fr","tag":"Intégrations","count":39},{"language":"hi","tag":"एकीकरण","count":39},{"language":"ja","tag":"連携","count":39},{"language":"pt-BR","tag":"Integrações","count":39},{"language":"en","tag":"Integrations","count":39},{"language":"zh-Hans","tag":"集成","count":39},{"language":"ar","tag":"الميزات","count":36},{"language":"de","tag":"Funktionen","count":36},{"language":"es","tag":"Funciones","count":36},{"language":"fr","tag":"Fonctionnalités","count":36},{"language":"hi","tag":"सुविधाएँ","count":36},{"language":"ja","tag":"機能","count":36},{"language":"pt-BR","tag":"Recursos","count":36},{"language":"en","tag":"Features","count":36},{"language":"zh-Hans","tag":"功能","count":36},{"language":"ar","tag":"دليل الوصفات","count":29},{"language":"de","tag":"Rezeptbuch","count":29},{"language":"es","tag":"Recetario","count":29},{"language":"fr","tag":"Recettes","count":29},{"language":"hi","tag":"कुकबुक","count":29},{"language":"ja","tag":"クックブック","count":29},{"language":"pt-BR","tag":"Receitas","count":29},{"language":"en","tag":"Cookbook","count":29},{"language":"zh-Hans","tag":"实用指南","count":29},{"language":"ar","tag":"الاستخدام والمراقبة","count":28},{"language":"de","tag":"Nutzung und Überwachung","count":28},{"language":"es","tag":"Uso y supervisión","count":28},{"language":"fr","tag":"Utilisation et surveillance","count":28},{"language":"hi","tag":"उपयोग और निगरानी","count":28},{"language":"ja","tag":"使用状況と監視","count":28},{"language":"pt-BR","tag":"Uso e monitoramento","count":28},{"language":"en","tag":"Usage \u0026 Monitoring","count":28},{"language":"zh-Hans","tag":"用量与监控","count":28},{"language":"ar","tag":"SDK العميل","count":26},{"language":"de","tag":"SDKs","count":26},{"language":"es","tag":"SDKs","count":26},{"language":"fr","tag":"SDK client","count":26},{"language":"hi","tag":"क्लाइंट SDK","count":26},{"language":"ja","tag":"SDK","count":26},{"language":"pt-BR","tag":"SDKs","count":26},{"language":"en","tag":"Client SDKs","count":26},{"language":"zh-Hans","tag":"客户端 SDK","count":26},{"language":"ar","tag":"أدلة الترحيل","count":23},{"language":"de","tag":"Migrationsleitfäden","count":23},{"language":"es","tag":"Guías de migración","count":23},{"language":"fr","tag":"Guides de migration","count":23},{"language":"hi","tag":"माइग्रेशन गाइड","count":23},{"language":"ja","tag":"移行ガイド","count":23},{"language":"pt-BR","tag":"Guias de migração","count":23},{"language":"en","tag":"Migration Guides","count":23},{"language":"zh-Hans","tag":"迁移指南","count":23}],"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":"custom-rbac-roles","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":"rbac-expansion","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":"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":"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":"editor-metadata","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":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","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:0.6875rem}@media (max-width: 1279px){#navbar nav[class*=\"navbar:flex\"] li>:is(a,button){padding-inline:0.5rem;font-size:0.8125rem}}#navbar :is([class*=\"rounded-full\"],#localization-select-trigger){border-radius:0.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 :is(a,button) div>span:first-child:not(.method-nav-pill,.nav-tag-pill),#sidebar-content .sidebar-group-header{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:0.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 / 0.08)}.ph-paths>*{display:block;margin:0}.ph-paths a{display:grid;grid-template-columns:16rem 1fr;gap:0.25rem 1.5rem;padding:0.875rem 0.125rem;border-bottom:1px solid rgb(0 0 0 / 0.08);color:rgb(107 114 128);font-size:0.9375rem;line-height:1.5;text-decoration:none}.ph-paths a strong{display:flex;align-items:center;gap:0.625rem;color:rgb(17 24 39);font-weight:600}.ph-paths a:hover strong{color:rgb(var(--primary))}.ph-sdks>*{display:flex;flex-wrap:wrap;gap:0.75rem 1.75rem;margin:0}.ph-sdks a{display:inline-flex;align-items:center;gap:0.5rem;color:rgb(17 24 39);font-weight:500;text-decoration:none}.ph-sdks a:hover{color:rgb(var(--primary))}:is(html.dark,html[data-theme=\"dark\"]) :is(.ph-paths,.ph-paths a){border-color:rgb(255 255 255 / 0.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:0.5rem;margin:0 0 1rem;padding:0.75rem 0;overflow-x:auto;scrollbar-width:none;background:#fff;border-bottom:1px solid rgb(0 0 0 / 0.08)}.dark .changelog-filters{background:#0a0a0a;border-bottom-color:rgb(255 255 255 / 0.08)}.changelog-filters button{flex:none;white-space:nowrap;border:1px solid rgb(0 0 0 / 0.12);border-radius:0.375rem;padding:0.25rem 0.75rem;font-size:0.875rem;line-height:1.25rem;color:inherit;background:transparent;cursor:pointer}.dark .changelog-filters button{border-color:rgb(255 255 255 / 0.15)}.changelog-filters button[aria-pressed=\"true\"]{border-color:#0069a8;background:#0069a8;color:#fff}.changelog-filters .changelog-filters-clear{border-color:transparent;padding-inline:0.5rem;opacity:0.7}.changelog-category{margin:1.25rem 0 0.25rem;font-size:0.8125rem;font-weight:600;opacity:0.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:0.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:0.25rem;margin-bottom:0.75rem}.ph-rc-tabs button{border:1px solid var(--rc-ring);border-radius:0.375rem;background:transparent;color:var(--rc-ink-2);padding:0.3rem 0.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{color:var(--rc-ink);border-color:var(--rc-tokens);background:var(--rc-raised);font-weight:600}.ph-rc-mix{color:var(--rc-ink-2);margin-bottom:0.5rem}.ph-rc-formula{display:flex;flex-wrap:wrap;align-items:center;gap:0.35rem 0.45rem;margin-bottom:0.6rem;padding:0.55rem 0.75rem;border:1px solid var(--rc-ring);border-radius:0.375rem;color:var(--rc-ink-2)}.ph-rc-formula strong{color:var(--rc-ink);font-weight:600}.ph-rc-term{display:inline-flex;align-items:center;gap:0.35rem;color:var(--rc-ink)}.ph-rc-legend{display:flex;flex-wrap:wrap;gap:0.35rem 1rem;color:var(--rc-ink-2);margin-bottom:0.75rem}.ph-rc-legend span{display:inline-flex;align-items:center;gap:0.4rem}.ph-rc-swatch{display:inline-block;width:0.7rem;height:0.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:0.75rem;align-items:center}.ph-rc-head{color:var(--rc-muted);font-size:0.75rem;padding-bottom:0.35rem;border-bottom:1px solid var(--rc-grid)}.ph-rc-row{padding:0.55rem 0;border-bottom:1px solid var(--rc-grid)}.ph-rc-you{background:var(--rc-raised);box-shadow:-0.5rem 0 0 var(--rc-raised), 0.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:0.7rem;line-height:1.3}.ph-rc-name span{direction:ltr;unicode-bidi:isolate}.ph-rc-track{position:relative;height:1.5rem;width:calc(100% - 3.75rem)}.ph-rc-track,.ph-rc-sharebar,.ph-rc-curve,.ph-rc-controls input[type=\"range\"]{direction:ltr}.ph-rc-band{position:absolute;top:-0.55rem;bottom:-0.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:0.3rem 0;display:flex;align-items:center}.ph-rc-seg{height:0.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:0.4rem}.ph-rc-total{color:var(--rc-ink-2);font-variant-numeric:tabular-nums;white-space:nowrap;font-size:0.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:0.375rem;padding:0.5rem 0.65rem;box-shadow:0 6px 20px rgba(0, 0, 0, 0.12);pointer-events:none}.ph-rc-tip-left{transform:translateX(-100%)}.ph-rc-tip>div{display:flex;align-items:center;gap:0.4rem;color:var(--rc-ink-2);margin-top:0.2rem}.ph-rc-tip b{margin-left:auto;color:var(--rc-ink);font-variant-numeric:tabular-nums}.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:0.3rem}.ph-rc-share{display:flex;flex-direction:column;gap:0.25rem}.ph-rc-num{text-align:right;font-variant-numeric:tabular-nums;direction:ltr;unicode-bidi:isolate}.ph-rc-share .ph-rc-num{font-weight:600;font-size:0.875rem}.ph-rc-sharebar{height:0.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:0.72rem;margin-top:0.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:0.6rem}.ph-rc-controls label{display:flex;flex-direction:column;gap:0.2rem}.ph-rc-controls label span{display:flex;justify-content:space-between;color:var(--rc-ink-2)}.ph-rc-controls b{color:var(--rc-ink);font-variant-numeric:tabular-nums;font-weight:600}.ph-rc-controls input[type=\"range\"]{width:100%;accent-color:var(--rc-tokens)}.ph-rc-summary{display:flex;flex-direction:column;gap:0.5rem}.ph-rc-hero{display:flex;align-items:baseline;justify-content:space-between}.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{fill:var(--rc-muted);stroke:var(--rc-surface);stroke-width:2}.ph-rc-dot-you{fill:var(--rc-tokens);stroke:var(--rc-surface);stroke-width:2}.ph-rc-dot-label{fill:var(--rc-ink);font-size:11px;font-weight:600}.ph-rc-caption{color:var(--rc-muted);font-size:0.72rem;margin-top:-0.25rem}.ph-rc-levers{border-top:1px solid var(--rc-grid);padding-top:0.5rem}.ph-rc-levers-title{color:var(--rc-muted);font-size:0.72rem;margin-bottom:0.25rem}.ph-rc-levers>div:not(.ph-rc-levers-title){display:flex;justify-content:space-between;padding:0.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}}.ph-ps{--ps-ink: #0b0b0b;--ps-ink-2: #52514e;--ps-muted: #898781;--ps-grid: #e1e0d9;--ps-surface: #ffffff;--ps-raised: #f6f6f4;--ps-ring: rgba(11, 11, 11, 0.1);--ps-accent: #0069a8;margin:1.25rem 0;font-size:0.8125rem;color:var(--ps-ink)}.dark .ph-ps{--ps-ink: #f0efec;--ps-ink-2: #c3c2b7;--ps-muted: #898781;--ps-grid: #2c2c2a;--ps-surface: #0a0a0a;--ps-raised: #161616;--ps-ring: rgba(255, 255, 255, 0.1);--ps-accent: #2a9fd6}.ph-ps-caption{color:var(--ps-ink-2);margin:0 0 0.6rem}.ph-ps-layout{display:grid;grid-template-columns:minmax(0, 1.4fr) minmax(0, 1fr);gap:1rem;align-items:start}.ph-ps-table{border:1px solid var(--ps-ring);border-radius:0.375rem;overflow:hidden;background:var(--ps-surface)}.ph-ps-head,.ph-ps-row{display:grid;grid-template-columns:minmax(0, 1fr) 4.75rem 4.75rem;gap:0.4rem;align-items:center;padding:0 0.75rem}.ph-ps-head{color:var(--ps-muted);font-size:0.72rem;min-height:2rem;white-space:nowrap;border-bottom:1px solid var(--ps-grid)}.ph-ps-row{width:100%;height:2.25rem;border:0;border-bottom:1px solid var(--ps-grid);background:transparent;color:inherit;font:inherit;text-align:start;cursor:pointer}.ph-ps-row:hover{background:var(--ps-raised)}.ph-ps-row:focus-visible{outline:2px solid var(--ps-accent);outline-offset:-2px}.ph-ps-on{background:var(--ps-raised);box-shadow:inset 2px 0 0 var(--ps-accent)}.ph-ps-name{display:inline-flex;align-items:center;gap:0.45rem;min-width:0}.ph-ps-name strong{font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ph-ps-logo{display:inline-flex;align-items:center;justify-content:center;flex:none;width:1.1rem;height:1.1rem;border-radius:0.25rem;font-style:normal;font-size:0.62rem;font-weight:700;color:#fff;background:#52514e}.ph-ps-logo-A{background:#7c3aed}.ph-ps-logo-B{background:#0f766e}.ph-ps-logo-C{background:#1d4ed8}.ph-ps-logo-D{background:#b45309}.ph-ps-logo-E{background:#be185d}.ph-ps-logo-F{background:#52514e}.ph-ps-icon{width:0.85rem;height:0.85rem;flex:none}.ph-ps-num{text-align:end;font-variant-numeric:tabular-nums;font-weight:600}.ph-ps-head .ph-ps-num{font-weight:400}.ph-ps-order{margin:0;padding:0.5rem 0.75rem;color:var(--ps-muted);font-size:0.72rem}.ph-ps-card{border:1px solid var(--ps-ring);border-radius:0.375rem;padding:0.75rem 0.9rem;background:var(--ps-raised)}.ph-ps-card-title{display:flex;align-items:center;gap:0.45rem;padding-bottom:0.55rem;margin-bottom:0.55rem;border-bottom:1px solid var(--ps-grid)}.ph-ps-card-title .ph-ps-icon{width:1rem;height:1rem}.ph-ps-card-title strong{font-weight:600}.ph-ps-card dl{margin:0}.ph-ps-card dt{color:var(--ps-muted);font-size:0.72rem;margin-top:0.55rem}.ph-ps-card dt:first-child{margin-top:0}.ph-ps-card dd{margin:0.1rem 0 0;color:var(--ps-ink);line-height:1.45}@media (max-width: 720px){.ph-ps-layout{grid-template-columns:1fr}.ph-ps-head,.ph-ps-row{grid-template-columns:minmax(0, 1fr) 4.75rem 4.75rem}}:is(.ph-se,.ph-pm,.ph-fc,.ph-sap){--x-ink: #0b0b0b;--x-ink-2: #52514e;--x-muted: #898781;--x-grid: #e1e0d9;--x-surface: #ffffff;--x-raised: #f6f6f4;--x-ring: rgba(11, 11, 11, 0.1);--x-accent: #0069a8;--x-accent-soft: rgba(0, 105, 168, 0.09);--x-ok: #15803d;--x-ok-soft: rgba(21, 128, 61, 0.09);--x-warn: #c2410c;--x-warn-soft: rgba(194, 65, 12, 0.09);--x-bad: #b91c1c;--x-bad-soft: rgba(185, 28, 28, 0.08);margin:1.25rem 0;font-size:0.8125rem;color:var(--x-ink)}.dark :is(.ph-se,.ph-pm,.ph-fc,.ph-sap){--x-ink: #f0efec;--x-ink-2: #c3c2b7;--x-muted: #898781;--x-grid: #2c2c2a;--x-surface: #0a0a0a;--x-raised: #161616;--x-ring: rgba(255, 255, 255, 0.1);--x-accent: #2a9fd6;--x-accent-soft: rgba(42, 159, 214, 0.12);--x-ok: #34c77b;--x-ok-soft: rgba(52, 199, 123, 0.1);--x-warn: #f08a4b;--x-warn-soft: rgba(240, 138, 75, 0.1);--x-bad: #f26b6b;--x-bad-soft: rgba(242, 107, 107, 0.1)}:is(.ph-se,.ph-pm,.ph-fc,.ph-sap) button,:is(.ph-se,.ph-pm,.ph-fc,.ph-sap) select{border:1px solid var(--x-ring);border-radius:0.375rem;background:transparent;color:var(--x-ink-2);padding:0.3rem 0.65rem;font:inherit;cursor:pointer}:is(.ph-se,.ph-pm,.ph-fc,.ph-sap) button:hover:not(:disabled){color:var(--x-ink);background:var(--x-raised)}:is(.ph-se,.ph-pm,.ph-fc,.ph-sap) button:disabled,.ph-fc select:disabled{opacity:0.45;cursor:default}:is(.ph-se,.ph-pm,.ph-fc,.ph-sap) code{font-size:0.75rem}.ph-se-bar{display:flex;flex-wrap:wrap;justify-content:space-between;gap:0.5rem;margin-bottom:0.75rem}.ph-se-tabs{display:flex;flex-wrap:wrap;gap:0.25rem}.ph-se .ph-se-on{color:var(--x-ink);border-color:var(--x-accent);background:var(--x-raised);font-weight:600}.ph-se-grid{display:grid;grid-template-columns:minmax(0, 1.25fr) minmax(0, 1fr);gap:0.75rem}.ph-se-panel{border:1px solid var(--x-ring);border-radius:0.375rem;background:var(--x-surface);overflow:hidden}.ph-se-head{display:flex;align-items:center;justify-content:space-between;min-height:2.4rem;padding:0.3rem 0.75rem;color:var(--x-muted);font-size:0.75rem;border-bottom:1px solid var(--x-grid)}.ph-se-actions{display:flex;gap:0.25rem}.ph-se .ph-se-primary{color:#fff;background:var(--x-accent);border-color:var(--x-accent)}.ph-se .ph-se-primary:hover:not(:disabled){color:#fff;background:var(--x-accent);opacity:0.9}.ph-se-events{list-style:none;margin:0;padding:0.4rem 0;height:15.5rem;overflow-y:auto}.ph-se-events li{display:flex;align-items:center;gap:0.5rem;padding:0.2rem 0.75rem;margin:0;animation:ph-se-in 0.18s ease-out}.ph-se-events li i{width:0.45rem;height:0.45rem;border-radius:999px;flex:none;background:var(--x-muted)}.ph-se-events .ph-se-open i{background:var(--x-accent)}.ph-se-events .ph-se-delta i{background:var(--x-grid);box-shadow:inset 0 0 0 1px var(--x-muted)}.ph-se-events .ph-se-close i{background:var(--x-ok)}.ph-se-events .ph-se-error i{background:var(--x-bad)}.ph-se-events .ph-se-close{background:var(--x-ok-soft)}.ph-se-events .ph-se-error{background:var(--x-bad-soft)}.ph-se-events code{direction:ltr;unicode-bidi:isolate;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ph-se-events .ph-se-delta{background:transparent}.ph-se-events li>span{margin-inline-start:auto;color:var(--x-muted);font-size:0.72rem;white-space:nowrap}.ph-se-events li>span.ph-se-delta{color:var(--x-ink-2);font-family:var(--font-mono, ui-monospace, monospace)}.ph-se-empty{color:var(--x-muted)}.ph-se-empty i{display:none}.ph-se-output{min-height:6rem;padding:0.75rem;font-size:0.9375rem;line-height:1.55}.ph-se-output-failed{color:var(--x-ink-2);text-decoration:underline wavy var(--x-bad);text-underline-offset:0.3rem;text-decoration-thickness:1px}.ph-se-caret{display:inline-block;width:0.5rem;height:1rem;margin-inline-start:2px;vertical-align:-2px;background:var(--x-accent);animation:ph-se-blink 1s steps(2) infinite}.ph-se-verdict{margin:0 0.75rem 0.75rem;padding:0.5rem 0.65rem;border-radius:0.375rem;line-height:1.45}.ph-se-verdict-streaming{background:var(--x-accent-soft)}.ph-se-verdict-ok{background:var(--x-ok-soft)}.ph-se-verdict-failed{background:var(--x-bad-soft)}@keyframes ph-se-in{from{opacity:0;transform:translateY(-2px)}to{opacity:1;transform:none}}@keyframes ph-se-blink{to{visibility:hidden}}@media (prefers-reduced-motion: reduce){.ph-se-events li,.ph-se-caret{animation:none}}.ph-pm-toggles{display:flex;flex-wrap:wrap;gap:0.4rem 1.1rem;margin-bottom:0.75rem;color:var(--x-ink-2)}.ph-pm-toggles label{display:inline-flex;align-items:center;gap:0.4rem;cursor:pointer}.ph-pm-toggles input{accent-color:var(--x-accent)}.ph-pm-grid{display:grid;grid-template-columns:repeat(3, minmax(0, 1fr));gap:0.6rem}.ph-pm-panel{border:1px solid var(--x-ring);border-radius:0.375rem;background:var(--x-surface);min-width:0}.ph-pm-title{padding:0.45rem 0.7rem;color:var(--x-muted);font-size:0.75rem;border-bottom:1px solid var(--x-grid)}.ph-pm .ph-pm-code{margin:0;padding:0.5rem 0;background:transparent;border:0;border-radius:0;color:var(--x-ink);font-size:0.72rem;line-height:1.6;white-space:pre-wrap;word-break:break-word;direction:ltr;text-align:left}.ph-pm-line{display:block;padding:0 0.7rem;border-inline-start:3px solid transparent}.ph-pm-settings .ph-pm-line{padding-block:0.15rem}.ph-pm-line.ph-pm-request{background:var(--x-accent-soft);border-inline-start-color:var(--x-accent)}.ph-pm-line.ph-pm-preset{background:var(--x-warn-soft);border-inline-start-color:var(--x-warn)}.ph-pm-line.ph-pm-both{background:linear-gradient(90deg, var(--x-warn-soft), var(--x-accent-soft));border-inline-start-color:var(--x-ink-2)}.ph-pm-legend{display:flex;flex-wrap:wrap;gap:0.35rem 1rem;margin-top:0.6rem;color:var(--x-ink-2)}.ph-pm-legend span{display:inline-flex;align-items:center;gap:0.4rem}.ph-pm-swatch{display:inline-block;width:0.7rem;height:0.7rem;border-radius:3px}.ph-pm-swatch.ph-pm-request{background:var(--x-accent)}.ph-pm-swatch.ph-pm-preset{background:var(--x-warn)}.ph-pm-swatch.ph-pm-both{background:linear-gradient(90deg, var(--x-warn), var(--x-accent))}@media (max-width: 900px){.ph-pm-grid,.ph-se-grid{grid-template-columns:1fr}}.ph-fc-chain{display:grid;grid-template-columns:repeat(3, minmax(0, 1fr));gap:1.4rem}.ph-fc-step{position:relative;display:flex;flex-direction:column;gap:0.45rem;padding:0.7rem 0.8rem;border:1px solid var(--x-ring);border-radius:0.375rem;background:var(--x-surface);min-width:0}.ph-fc-step:not(:last-child)::after{content:\"\\2192\";position:absolute;top:50%;inset-inline-end:-1.15rem;transform:translateY(-50%);color:var(--x-muted)}[dir=\"rtl\"] .ph-fc-step:not(:last-child)::after{content:\"\\2190\"}.ph-fc-skipped{opacity:0.5;border-style:dashed}.ph-fc-served{border-color:var(--x-ok);box-shadow:inset 0 0 0 1px var(--x-ok)}.ph-fc-role{display:flex;justify-content:space-between;align-items:center;color:var(--x-muted);font-size:0.72rem}.ph-fc-served .ph-fc-role span{color:var(--x-ok);font-weight:600}.ph-fc-model{font-weight:600;direction:ltr;unicode-bidi:isolate;overflow-wrap:anywhere}.ph-fc-select{display:flex;flex-direction:column;gap:0.2rem;color:var(--x-muted);font-size:0.72rem}.ph-fc-select select{color:var(--x-ink);background:var(--x-raised)}.ph-fc-note{padding:0.3rem 0.5rem;border-radius:0.375rem;font-size:0.72rem}.ph-fc-next{background:var(--x-warn-soft);color:var(--x-warn)}.ph-fc-stop{background:var(--x-bad-soft);color:var(--x-bad)}.ph-fc-result{margin:0.75rem 0 0;padding:0.55rem 0.75rem;border-radius:0.375rem;background:var(--x-bad-soft);line-height:1.45}.ph-fc-result-ok{background:var(--x-ok-soft)}@media (max-width: 720px){.ph-fc-chain{grid-template-columns:1fr;gap:1.1rem}.ph-fc-step:not(:last-child)::after{content:\"\\2193\";top:auto;bottom:-1.05rem;inset-inline-end:50%;transform:none}}.ph-sap-inputs{display:grid;grid-template-columns:repeat(3, minmax(0, 1fr));gap:0.6rem;margin-bottom:0.75rem}.ph-sap-inputs label{display:flex;flex-direction:column;gap:0.3rem;color:var(--x-ink-2);font-size:0.75rem}.ph-sap-inputs input{border:1px solid var(--x-ring);border-radius:0.375rem;background:var(--x-surface);color:var(--x-ink);padding:0.35rem 0.6rem;font:inherit;font-size:0.8125rem;direction:ltr;font-variant-numeric:tabular-nums}.ph-sap-inputs input:focus{outline:2px solid var(--x-accent);outline-offset:1px}.ph-sap-rows{margin:0;border:1px solid var(--x-ring);border-radius:0.375rem;background:var(--x-surface)}.ph-sap-rows>div{display:flex;justify-content:space-between;gap:1rem;padding:0.45rem 0.75rem;border-top:1px solid var(--x-grid)}.ph-sap-rows>div:first-child{border-top:0}.ph-sap-rows dt{color:var(--x-ink-2)}.ph-sap-rows dd{margin:0;direction:ltr;font-variant-numeric:tabular-nums;color:var(--x-ink)}.ph-sap-total{background:var(--x-accent-soft)}.ph-sap-total dt,.ph-sap-total dd{color:var(--x-ink);font-weight:600}.ph-sap-note{margin:0.5rem 0 0;color:var(--x-muted);font-size:0.75rem}@media (max-width: 720px){.ph-sap-inputs{grid-template-columns:1fr}}"}],"page":{"pagePath":"ar/v1/api-reference/endpoint/decisions","slug":"/ar/v1/api-reference/endpoint/decisions","pageMetadata":{"title":"اتخاذ قرار","badge":"تجريبي","tag":"تجريبي","openapi":"ar/openapi/v1/openapi.localized.yaml POST /decisions","description":"قيّم أسئلة ذات أنواع محددة مقابل حالة التطبيق باستخدام نماذج القرار المدعومة.","href":"/ar/v1/api-reference/endpoint/decisions"},"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{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,CodeGroup,Heading,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`أرسل `,_jsx(_components.code,{children:`input`}),` ومصفوفة مرتّبة من `,_jsx(_components.code,{children:`questions`}),` إلى `,_jsx(_components.code,{children:`POST /v1/decisions`}),`، واحصل على إجابة واحدة ذات نوع محدد لكل سؤال، مع الاحتمالات، وبالترتيب نفسه.`]}),`\n`,_jsx(Heading,{level:`2`,id:`اتخذ-قرارًا`,children:`اتخذ قرارًا`}),`\n`,_jsxs(_components.p,{children:[`يطرح هذا الطلب سؤالًا واحدًا من كل نوع. يحتاج إلى مفتاح Phaseo API وإلى مسار `,_jsx(_components.code,{children:`openai/gpt-6-luna`}),` متاح.`]}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`29`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`29`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.phaseo.app/v1/decisions`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$PHASEO_API_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"model\": \"openai/gpt-6-luna\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"input\": \"I was charged twice for my order and I cannot log in to download the invoice.\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"questions\": [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"type\": \"choice\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"name\": \"department\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"instructions\": \"Which team should handle this request?\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"choices\": [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` { \"value\": \"billing\", \"description\": \"Payments, invoices and refunds\" },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` { \"value\": \"support\", \"description\": \"Product usage and troubleshooting\" }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"type\": \"predicate\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"name\": \"is_blocked\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"instructions\": \"Is the customer blocked from using the product?\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"type\": \"score\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"name\": \"urgency\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"instructions\": \"How urgent is this request?\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"levels\": [{ \"label\": \"low\" }, { \"label\": \"medium\" }, { \"label\": \"high\" }]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`TypeScript SDK`,numberOfLines:`28`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`28`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Phaseo`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` from`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"@phaseo/sdk\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` client`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` Phaseo`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(); `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// reads PHASEO_API_KEY`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` decision`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` client`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`decisions`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`create`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` model:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"openai/gpt-6-luna\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` input:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"I was charged twice for my order and I cannot log in to download the invoice.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` questions:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` type:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"choice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` name:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"department\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` instructions:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Which team should handle this request?\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` choices:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`value:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"billing\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`description:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Payments, invoices and refunds\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`value:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"support\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`description:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Product usage and troubleshooting\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`type:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"predicate\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`name:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"is_blocked\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`instructions:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Is the customer blocked from using the product?\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` type:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"score\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` name:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"urgency\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` instructions:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"How urgent is this request?\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` levels:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [{ `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`label:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"low\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }, { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`label:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"medium\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }, { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`label:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"high\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }],`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`decision`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`answers`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Python SDK`,numberOfLines:`30`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`30`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` phaseo `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` Phaseo`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`client `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` Phaseo() `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# reads PHASEO_API_KEY`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`decision `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` client.decisions.create(`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"openai/gpt-6-luna\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"input\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"I was charged twice for my order and I cannot log in to download the invoice.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"questions\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"choice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"department\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"instructions\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Which team should handle this request?\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"choices\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"value\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"billing\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Payments, invoices and refunds\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`},`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"value\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"support\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Product usage and troubleshooting\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`},`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"predicate\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"is_blocked\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"instructions\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Is the customer blocked from using the product?\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`},`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"score\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"urgency\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"instructions\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"How urgent is this request?\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"levels\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [{`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"label\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"low\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}, {`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"label\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"medium\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}, {`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"label\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"high\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}],`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(decision[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"answers\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`])`})]}),`\n`]})})})]}),`\n`,_jsx(_components.p,{children:`الاستجابة (القيم توضيحية):`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`28`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`28`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"openai/gpt-6-luna\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"answers\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"choice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"department\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"choice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"billing\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"confidence\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.89`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"probabilities\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"value\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"billing\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"probability\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.91`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"value\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"support\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"probability\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.09`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"predicate\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"is_blocked\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"probability\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.84`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"score\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"urgency\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"score\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1.6`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"confidence\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.7`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"probabilities\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"value\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"label\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"low\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"probability\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.05`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"value\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"label\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"medium\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"probability\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.3`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"value\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"label\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"high\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"probability\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.65`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"usage\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"input_tokens\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`64`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"output_tokens\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"total_tokens\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`64`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`اكتب-الأسئلة`,children:`اكتب الأسئلة`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`input`}),` سلسلة نصية، أو مصفوفة من رسائل `,_jsx(_components.code,{children:`user`}),` يكون `,_jsx(_components.code,{children:`content`}),` فيها سلسلة نصية أو قائمة من أجزاء `,_jsx(_components.code,{children:`input_text`}),` و`,_jsx(_components.code,{children:`input_image`}),` و`,_jsx(_components.code,{children:`input_audio`}),` و`,_jsx(_components.code,{children:`input_video`}),`. الحقل `,_jsx(_components.code,{children:`name`}),` اختياري؛ وتحافظ الإجابات على ترتيب الطلب، بما في ذلك الأسئلة غير المسمّاة والأسماء المكررة.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:_jsx(_components.code,{children:`type`})}),_jsx(_components.th,{children:`حقول إضافية`}),_jsx(_components.th,{children:`حقول الإجابة`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`predicate`})}),_jsx(_components.td,{children:`لا شيء`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`probability`}),` (0–1) أن تكون الإجابة نعم`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`choice`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`choices`}),`: `,_jsx(_components.code,{children:`value`}),` (سلسلة نصية أو قيمة منطقية، مميزة) و`,_jsx(_components.code,{children:`description`}),` اختياري`]}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`choice`}),` و`,_jsx(_components.code,{children:`confidence`}),` و`,_jsx(_components.code,{children:`probabilities`}),` لكل قيمة`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`score`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`levels`}),`: `,_jsx(_components.code,{children:`label`}),` و`,_jsx(_components.code,{children:`description`}),` اختياري`]}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`score`}),` (فهرس المستوى المرجّح بالاحتمالات) و`,_jsx(_components.code,{children:`confidence`}),` و`,_jsx(_components.code,{children:`probabilities`}),` لكل مستوى`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`box`})}),_jsxs(_components.td,{children:[`لا شيء؛ يتطلب صورة في `,_jsx(_components.code,{children:`input`})]}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`box`}),` (`,_jsx(_components.code,{children:`top`}),` و`,_jsx(_components.code,{children:`bottom`}),` و`,_jsx(_components.code,{children:`left`}),` و`,_jsx(_components.code,{children:`right`}),`) و`,_jsx(_components.code,{children:`confidence`})]})]})]})]}),`\n`,_jsxs(_components.p,{children:[`تعود قيم الخيارات المنطقية بوصفها قيمًا منطقية. يُرجع النموذج الذي يرفض الإجابة عن سؤال `,_jsx(_components.code,{children:`type: \"refusal\"`}),` له. الأنواع التي يدعمها كل نموذج مدرجة في `,_jsx(_components.a,{href:`#choose-a-model`,children:`اختر نموذجًا`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`توضع الصور في أجزاء `,_jsx(_components.code,{children:`input_image`}),` بوصفها عناوين data URL. لا تعمل عناوين HTTPS للصور المستضافة إلا على نماذج Base Labs (`,_jsx(_components.code,{children:`baselabs/elephant-1`}),` و`,_jsx(_components.code,{children:`baselabs/mammoth-1`}),` و`,_jsx(_components.code,{children:`baselabs/joey-1`}),`)، ويجب أن تكون على Amazon S3 أو Google Cloud Storage أو Azure Blob Storage. يحمل الطلب 128 صورة على الأكثر، وهو ما يقبله Luna؛ ويضع المزوّدون الآخرون حدودًا أقل. يتطلب `,_jsx(_components.code,{children:`detail`}),` صريح للصورة و`,_jsx(_components.code,{children:`safety_identifier`}),` مسارًا لدى OpenAI.`]}),`\n`,_jsx(Heading,{level:`2`,id:`استخدم-تنسيق-state-الأقدم`,children:`استخدم تنسيق state الأقدم`}),`\n`,_jsxs(_components.p,{children:[`لا تزال الطلبات التي تحتوي `,_jsx(_components.code,{children:`state`}),` وخريطة من الأسئلة المسمّاة تعمل، وتُرجع إجابات مفهرسة بالأسماء نفسها. يتطلب Together Tev (`,_jsx(_components.code,{children:`together/tev1-4b-experimental`}),`) هذا التنسيق، لأنه يُرجع تسمية بلا احتمالات، ولا يجيب إلا عن أسئلة `,_jsx(_components.code,{children:`choice`}),`. يستخدم Respan Span-01 هذا التنسيق أيضًا. لا تخلط بين التنسيقين: `,_jsx(_components.code,{children:`input`}),` مع `,_jsx(_components.code,{children:`state`}),` أو `,_jsx(_components.code,{children:`images`}),` يُرجع `,_jsx(_components.code,{children:`400`}),`.`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`state`}),`: سلسلة نصية أو كائن أو مصفوفة تحتوي المعلومات المراد تقييمها.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`questions`}),`: حتى 128 سؤالًا مسمّى. يضبط كل منها `,_jsx(_components.code,{children:`type`}),` على `,_jsx(_components.code,{children:`noul`}),` (نعم/لا) أو `,_jsx(_components.code,{children:`choice`}),` أو `,_jsx(_components.code,{children:`score`}),`، إضافة إلى `,_jsx(_components.code,{children:`instructions`}),`. تأخذ أسئلة الاختيار `,_jsx(_components.code,{children:`criteria`}),` بوصفها خريطة من الخيار إلى وصفه؛ وتأخذ أسئلة الدرجات `,_jsx(_components.code,{children:`criteria`}),` بوصفها مصفوفة من وصفين للمستويات على الأقل.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`images`}),`: حتى أربع صور PNG أو JPEG أو WebP، بوصفها عناوين `,_jsx(_components.code,{children:`data:`}),` أو كائنات `,_jsx(_components.code,{children:`{ \"content_type\", \"base64\" }`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`model`}),`: القيمة الافتراضية `,_jsx(_components.code,{children:`typesafe/jev-1.13.0`}),` عند حذفه.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`تستخدم الإجابات المفاتيح نفسها الموجودة في `,_jsx(_components.code,{children:`questions`}),`. تتضمن إجابات `,_jsx(_components.code,{children:`choice`}),` الخيار المحدد والاحتمالات والثقة؛ وتتضمن إجابات `,_jsx(_components.code,{children:`noul`}),` احتمالًا بين 0 و1؛ وتتضمن إجابات `,_jsx(_components.code,{children:`score`}),` درجة مرجّحة بالاحتمالات ومفتاحًا للمستويات واحتمالات وثقة.`]}),`\n`,_jsx(`span`,{id:`choose-a-model`}),`\n`,_jsx(Heading,{level:`2`,id:`اختر-نموذجًا`,children:`اختر نموذجًا`}),`\n`,_jsx(_components.p,{children:`تحقق من توفر النموذج قبل استدعاء أي من هذه النماذج.`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`النموذج`}),_jsx(_components.th,{children:`أنواع الأسئلة`}),_jsx(_components.th,{children:`الإدخال`}),_jsx(_components.th,{children:`سعر الإدخال لكل مليون token`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`openai/gpt-6-luna`})}),_jsx(_components.td,{children:`predicate وchoice وscore`}),_jsx(_components.td,{children:`نص، وحتى 128 صورة`}),_jsx(_components.td,{children:`راجع صفحة النموذج`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`typesafe/jev-1.13.0`}),` و`,_jsx(_components.code,{children:`typesafe/jev-1.14.0`})]}),_jsxs(_components.td,{children:[`الثلاثة كلها، ممزوجة في طلب واحد؛ و`,_jsx(_components.code,{children:`box`}),` في 1.14`]}),_jsx(_components.td,{children:`نص، وصور PNG/JPEG`}),_jsx(_components.td,{children:`$0.042 (Jev 1.13)`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`cloudflare/clef`}),` و`,_jsx(_components.code,{children:`cloudflare/clef-flash`})]}),_jsx(_components.td,{children:`الثلاثة كلها`}),_jsx(_components.td,{children:`نص، وحتى 4 صور`}),_jsxs(_components.td,{\"data-numeric\":`true`,children:[`$0.24 / $`,`0.038`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`cloudflare/clef-omni`})}),_jsx(_components.td,{children:`الثلاثة كلها`}),_jsx(_components.td,{children:`نص وصور وصوت وفيديو`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`$0.15`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`liquid-ai/d1:free`}),` و`,_jsx(_components.code,{children:`liquid-ai/d1`})]}),_jsx(_components.td,{children:`الثلاثة كلها`}),_jsx(_components.td,{children:`راجع صفحة النموذج`}),_jsx(_components.td,{children:`مجاني خلال الوصول المبكر`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`perplexity/decider-27b`})}),_jsx(_components.td,{children:`الثلاثة كلها`}),_jsx(_components.td,{children:`نص، وصور base64`}),_jsx(_components.td,{children:`$0.04، شاملًا tokens الصور`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`inception/mercury-decide`})}),_jsx(_components.td,{children:`predicate وchoice وscore`}),_jsx(_components.td,{children:`نص أو JSON`}),_jsx(_components.td,{children:`$0.02 (عرض ترويجي)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`microsoft/microsoft-decision-1`})}),_jsx(_components.td,{children:`predicate وchoice وscore`}),_jsx(_components.td,{children:`نص أو JSON`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`$0.042`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`respan/span-01:free`}),` و`,_jsx(_components.code,{children:`respan/span-01`})]}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`noul`}),` فقط (التنسيق الأقدم)`]}),_jsx(_components.td,{children:`مقطع محادثة`}),_jsx(_components.td,{children:`مجاني (Lite) / $0.02`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`together/tev1-4b-experimental`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`choice`}),` فقط (التنسيق الأقدم)`]}),_jsx(_components.td,{children:`نص`}),_jsx(_components.td,{children:`راجع صفحة النموذج`})]})]})]}),`\n`,_jsx(_components.p,{children:`tokens الإخراج مجانية في كل نموذج مدرج بسعر.`}),`\n`,_jsx(Heading,{level:`3`,id:`typesafe-jev`,children:`TypeSafe Jev`}),`\n`,_jsxs(_components.p,{children:[`استخدم `,_jsx(_components.code,{children:`typesafe/jev-1.13.0`}),` لـ Jev 1.13، أو `,_jsx(_components.code,{children:`typesafe/jev-latest`}),` لمتابعة أحدث إصدار من Jev. لدلالات الأسئلة لدى المزوّد، راجع `,_jsx(_components.a,{href:`https://docs.typesafe.ai/api`,children:`مرجع API`}),` الخاص بـ TypeSafe.`]}),`\n`,_jsxs(_components.p,{children:[`على مسارات TypeSafe الداعمة، يقبل Jev 1.13 و1.14 صور PNG أو JPEG مضمّنة عبر `,_jsx(_components.code,{children:`input_image`}),` أو الحقل الأقدم `,_jsx(_components.code,{children:`images`}),`. يبني Phaseo أصول الصور الخاصة بـ TypeSafe ويفعّل دعم الصور تلقائيًا. يجب أن تستوفي الصور `,_jsx(_components.a,{href:`https://docs.typesafe.ai/images`,children:`حدود الصور`}),` لدى TypeSafe: 16 MiB على الأكثر لكل صورة، ومن 256 إلى 1568 بكسل لكل ضلع، و78,400 بكسل إجماليًا على الأقل. يتحقق TypeSafe من الأبعاد والترميز ولا يغيّر حجم الصور المرفوضة. يقتصر جسم JSON المحوَّل المُرسل إلى المزوّد على 32 MiB. تستخدم tokens الصور سعر الإدخال العادي.`]}),`\n`,_jsxs(_components.p,{children:[`يتطلب `,_jsx(_components.code,{children:`box`}),` (على المسارات الداعمة مثل Jev 1.14) صورة، ولا يأخذ معايير، ويُرجع مربعًا محيطًا واحدًا مع الثقة. تتراوح حوافه بين 0 و1، مقيسةً من الزاوية العلوية اليسرى. يُرجع Box دائمًا مستطيلًا، لذا اقرنه بسؤال `,_jsx(_components.code,{children:`predicate`}),` عن الوجود عندما قد يكون الهدف غائبًا. مع الحقل الأقدم `,_jsx(_components.code,{children:`images`}),`، أشر إلى `,_jsx(_components.code,{children:`images[0]`}),`؛ ومع الإدخال المرتّب، أشر إلى الصورة الأولى أو `,_jsx(_components.code,{children:`[Image 0]`}),`. راجع `,_jsx(_components.a,{href:`https://docs.typesafe.ai/primitives/box`,children:`عقد Box`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`اضبط `,_jsx(_components.code,{children:`provider_options.typesafe.long_context`}),` على `,_jsx(_components.code,{children:`true`}),` لرفع حدود السياق لكل طلب ولكل سؤال إلى 262k token، بدلًا من القيم الافتراضية البالغة 64k لكل طلب و32k لكل سؤال. يكلّف السياق الطويل السعر نفسه لكل token. الصور وBox والسياق الطويل قدرات تجريبية لدى المزوّد.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`12`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`12`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"typesafe/jev-1.14.0\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"input\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"role\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"user\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"content\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [{ `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"input_image\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"image_url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"data:image/png;base64,\u003cbase64 image bytes>\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"questions\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"predicate\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"visible\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"instructions\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Is there a mug in the first image?\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"box\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"mug\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"instructions\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"The mug in the first image\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"provider_options\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"typesafe\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"long_context\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`cloudflare-clef-وclef-flash`,children:`Cloudflare Clef وClef Flash`}),`\n`,_jsxs(_components.p,{children:[`يعمل `,_jsx(_components.code,{children:`cloudflare/clef`}),` و`,_jsx(_components.code,{children:`cloudflare/clef-flash`}),` على Cloudflare Workers AI. لـ Clef نافذة سياق من 65,536 token، ولـ Clef Flash نافذة من 24,576 token.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"cloudflare/clef-flash\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"state\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Inspect the attached product photo.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"images\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [{ `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"content_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"image/png\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"base64\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\u003cbase64 image bytes>\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"questions\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"damaged\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"noul\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"instructions\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Is the product visibly damaged?\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`يقبل `,_jsx(_components.code,{children:`images`}),` أيضًا سلسلة `,_jsx(_components.code,{children:`data:image/png;base64,...`}),`. يقبل Clef حتى أربع صور PNG أو JPEG أو WebP، كل منها 4 MiB و16 ميغابكسل على الأكثر، مع 8 MiB على الأكثر من بيانات الصور بعد فك الترميز وجسم طلب حجمه 13 MiB. العناوين البعيدة غير مدعومة، ويتحقق Cloudflare من تنسيقات الصور وأبعادها. ترفض النماذج التي لا تدعم الصور طلبات الصور.`]}),`\n`,_jsxs(_components.p,{children:[`يقبل Clef 64 سؤالًا على الأكثر، بمعرّفات تصل إلى 100 حرف من الأحرف أو الأرقام أو الشرطات السفلية أو النقاط أو الشرطات. تحتاج أسئلة الاختيار إلى 2–255 خيارًا، وأسئلة الدرجات إلى 2–10 مستويات. راجع `,_jsx(_components.a,{href:`https://developers.cloudflare.com/workers-ai/models/clef/`,children:`توثيق Clef`}),` لدى Cloudflare.`]}),`\n`,_jsx(Heading,{level:`3`,id:`cloudflare-clef-omni`,children:`Cloudflare Clef Omni`}),`\n`,_jsxs(_components.p,{children:[`يقبل `,_jsx(_components.code,{children:`cloudflare/clef-omni`}),` النص والصور والصوت والفيديو. أجزاء الصوت والفيديو امتدادات من Phaseo لتنسيق الإدخال؛ إذ لا تقبل مسارات OpenAI إلا النص والصور. استبدل بايتات الصوت وعنوان الفيديو المؤقتة بوسائطك قبل إرسال هذا المثال.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`12`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`12`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"cloudflare/clef-omni\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"input\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"role\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"user\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"content\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"input_text\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"text\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Review the recording and clip.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"input_audio\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"input_audio\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\u003cbase64 WAV bytes>\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"format\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"wav\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"input_video\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"video_url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://media.example.com/clip.mp4\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"questions\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [{ `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"predicate\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"safe\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"instructions\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Is the equipment operating safely?\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`أرسل الصوت بوصفه `,_jsx(_components.code,{children:`input_audio.data`}),` مع `,_jsx(_components.code,{children:`format: \"wav\"`}),` أو `,_jsx(_components.code,{children:`\"mp3\"`}),`، أو بوصفه `,_jsx(_components.code,{children:`input_audio.url`}),` مع عنوان HTTPS عام أو data URL صوتي مضمّن. يأخذ `,_jsx(_components.code,{children:`input_video.video_url`}),` سلسلة نصية أو `,_jsx(_components.code,{children:`{ \"url\": \"...\" }`}),` يحمل عنوان HTTPS عامًا أو data URL مضمّنًا بتنسيق MP4/WebM. يجب أن تُرجع الخوادم البعيدة قيمة Content-Type المطابقة. يجلب Phaseo العناوين مع حدود للحجم وفحوص للعناوين الخاصة وإعادة التوجيه، ثم يضمّن الوسائط لـ Cloudflare؛ ولا تُرسل بيانات اعتماد المزوّد إلى خادم الوسائط أبدًا.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`الحد`}),_jsx(_components.th,{children:`القيمة`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`المقاطع الصوتية`}),_jsx(_components.td,{children:`4، كل منها 8 MiB و300 ثانية على الأكثر`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`مقاطع الفيديو`}),_jsx(_components.td,{children:`2، كل منها 16 MiB و60 ثانية على الأكثر`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`الصوت والفيديو معًا`}),_jsx(_components.td,{children:`16 MiB بعد فك الترميز`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`الصور`}),_jsx(_components.td,{children:`حدود الصورة الواحدة والحدود المجمّعة نفسها كما في Clef`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`جسم الطلب`}),_jsx(_components.td,{children:`37 MiB (بدلًا من 13 MiB في Clef)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`السياق`}),_jsx(_components.td,{children:`64,000 token`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`يتحقق Cloudflare من ترميز الوسائط وأبعاد الصور ومدة المقاطع، ويأخذ عينات من الفيديو بمعدل إطارين في الثانية. يُستخدم صوت الفيديو عندما يكون لكل فيديو في الطلب صوت. تُحتسب tokens الوسائط ضمن السياق والفوترة؛ ويسوّي Phaseo الحساب بناءً على استخدام الإدخال الذي يبلغ عنه Cloudflare، ولا يضيف رسومًا منفصلة للصوت أو الفيديو. راجع `,_jsx(_components.a,{href:`https://github.com/cloudflare/cloudflare-docs/blob/production/src/content/workers-ai-models/clef-omni.json`,children:`عقد Omni لدى Cloudflare`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`liquid-d1-وperplexity-decider`,children:`Liquid D1 وPerplexity Decider`}),`\n`,_jsxs(_components.p,{children:[`Liquid D1 (`,_jsx(_components.code,{children:`liquid-ai/d1:free`}),`، وأيضًا `,_jsx(_components.code,{children:`liquid-ai/d1`}),`) مجاني خلال الوصول المبكر التجريبي. يحتاج Perplexity Decider 27B (`,_jsx(_components.code,{children:`perplexity/decider-27b`}),`) إلى بيانات اعتماد مزوّد Perplexity في Phaseo. تستخدم حالة الصور لديه عناوين data URL بتنسيق base64 لصور PNG أو JPEG أو WebP؛ وعناوين الصور البعيدة غير مدعومة. في كليهما، يقبل سؤال الاختيار حتى 255 خيارًا، وسؤال الدرجات حتى 10 مستويات.`]}),`\n`,_jsx(Heading,{level:`3`,id:`inception-mercury-decide`,children:`Inception Mercury Decide`}),`\n`,_jsxs(_components.p,{children:[`يأخذ `,_jsx(_components.code,{children:`inception/mercury-decide`}),` أدلة نصية أو JSON. تقبل أسئلة الاختيار حتى 255 خيارًا، وأسئلة الدرجات حتى 10 مستويات. الصور والبث واستدعاء الأدوات غير مدعومة. سعر الإدخال البالغ $0.02 هو عرض Inception الترويجي بخصم 50%، ولا يوجد له تاريخ انتهاء منشور؛ راجع `,_jsx(_components.a,{href:`https://docs.inceptionlabs.ai/get-started/models`,children:`التسعير الحالي لدى المزوّد`}),` قبل الاستخدام.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`9`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`9`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"inception/mercury-decide\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"input\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Please refund the duplicate charge on my account.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"questions\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"predicate\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"billing\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"instructions\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Is this request about billing?\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`microsoft-decision`,children:`Microsoft Decision`}),`\n`,_jsxs(_components.p,{children:[`يعمل `,_jsx(_components.code,{children:`microsoft/microsoft-decision-1`}),` على نشر في Azure Foundry، ويأخذ أدلة نصية أو JSON حتى 32,768 token. الوسائط والبث والأدوات و`,_jsx(_components.code,{children:`safety_identifier`}),` و`,_jsx(_components.code,{children:`service_tier`}),` غير مدعومة. راجع `,_jsx(_components.a,{href:`https://learn.microsoft.com/azure/foundry/foundry-models/how-to/use-foundry-models-microsoft-decision`,children:`دليل Microsoft`}),`.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`13`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`13`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"microsoft/microsoft-decision-1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"input\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"The API returns 500 on every call.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"questions\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"choice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"team\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"instructions\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Which team should handle this ticket?\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"choices\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"value\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"engineering\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Bugs, errors, and outages\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"value\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"support\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"How-to and account questions\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`respan-span-01`,children:`Respan Span-01`}),`\n`,_jsxs(_components.p,{children:[`يستخدم Span-01 التنسيق الأقدم. يجب أن يكون `,_jsx(_components.code,{children:`state`}),` مقطع محادثة: مصفوفة `,_jsx(_components.code,{children:`input`}),` من الرسائل السابقة ورسالة مساعد في `,_jsx(_components.code,{children:`output`}),`. لا يجيب إلا عن أسئلة `,_jsx(_components.code,{children:`noul`}),`: قيمة `,_jsx(_components.code,{children:`noul`}),` هي احتمال وجود السلوك، ويعطي `,_jsx(_components.code,{children:`probabilities`}),` أيضًا احتمالَي الغياب وعدم القابلية للملاحظة.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`13`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`13`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"respan/span-01:free\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"state\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"input\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [{ `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"role\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"user\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"content\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Please connect me to a person.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"output\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"role\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"assistant\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"content\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"I will connect you to support.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"questions\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"escalation\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"noul\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"instructions\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Does the assistant offer a human handoff?\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`تبدو الاستجابة هكذا:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`13`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`13`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"answers\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"escalation\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"noul\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"noul\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.73`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"probabilities\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"true\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.73`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"false\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.25`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"not_observable\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.02`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`respan/span-01:free`}),` هو نموذج Lite المجاني بحد يومي، ويقابل النموذج `,_jsx(_components.code,{children:`span-01-free`}),` لدى Respan. ويقابل `,_jsx(_components.code,{children:`respan/span-01`}),` النموذج `,_jsx(_components.code,{children:`span-01-pro`}),` وتتولى Respan فوترته. Span-01 في مرحلة الوصول المبكر: يجب أن تفعّله Respan لمؤسستك، وأن تضيف مفتاح Respan API بوصفه بيانات اعتماد مزوّد Respan في Phaseo قبل استدعاء أي من النموذجين.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"اتخاذ قرار","badge":"تجريبي","tag":"تجريبي","openapi":"ar/openapi/v1/openapi.localized.yaml POST /decisions","description":"قيّم أسئلة ذات أنواع محددة مقابل حالة التطبيق باستخدام نماذج القرار المدعومة.","href":"/ar/v1/api-reference/endpoint/decisions"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"اتخذ قرارًا","slug":"اتخذ-قرارًا","depth":2,"children":[]},{"title":"اكتب الأسئلة","slug":"اكتب-الأسئلة","depth":2,"children":[]},{"title":"استخدم تنسيق state الأقدم","slug":"استخدم-تنسيق-state-الأقدم","depth":2,"children":[]},{"title":"اختر نموذجًا","slug":"اختر-نموذجًا","depth":2,"children":[{"title":"TypeSafe Jev","slug":"typesafe-jev","depth":3,"children":[]},{"title":"Cloudflare Clef وClef Flash","slug":"cloudflare-clef-وclef-flash","depth":3,"children":[]},{"title":"Cloudflare Clef Omni","slug":"cloudflare-clef-omni","depth":3,"children":[]},{"title":"Liquid D1 وPerplexity Decider","slug":"liquid-d1-وperplexity-decider","depth":3,"children":[]},{"title":"Inception Mercury Decide","slug":"inception-mercury-decide","depth":3,"children":[]},{"title":"Microsoft Decision","slug":"microsoft-decision","depth":3,"children":[]},{"title":"Respan Span-01","slug":"respan-span-01","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"x-beta":true,"tags":["Gateway"],"operationId":"makeDecision","summary":"اتخاذ قرارات منظّمة","description":"قيّم أسئلة ذات أنواع محددة مقابل حالة التطبيق باستخدام نماذج القرار المدعومة.","requestBody":"a923212c-6491-475a-b4e6-a260375fb120","responses":{"200":"f1d0ddb6-913b-4514-81d0-95b9ed65c831"},"method":"post","type":"path","servers":["57ecfb22-c7f5-40da-b72b-95ac48de55ad"],"security":["d5b064ae-2a68-4456-8d74-f2f08ed2fa3c"],"path":"/decisions","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.oneOf.0.model":"\u003cstring>","body.oneOf.0.input.oneOf.0":"\u003cstring>","body.oneOf.0.questions.items.0.oneOf.0.type":"predicate","body.oneOf.0.questions.items.0.oneOf.0.instructions":"\u003cstring>","body.oneOf.0.questions.items.0.oneOf.0.name":"\u003cstring>","body.oneOf.0.models.items.0":"anthropic/claude-sonnet-5-5","body.oneOf.0.models.items.1":"google/gemini-2.5-flash","body.oneOf.0.provider_options.typesafe.long_context":true,"body.oneOf.0.safety_identifier.oneOf.0":"\u003cstring>","body.oneOf.0.meta":false,"body.oneOf.0.echo_upstream_request":true,"body.oneOf.0.debug.enabled":true,"body.oneOf.0.debug.return_upstream_request":true,"body.oneOf.0.debug.return_upstream_response":true,"body.oneOf.0.debug.trace":true,"body.oneOf.0.provider.order.items.0":"\u003cstring>","body.oneOf.0.provider.only.items.0":"\u003cstring>","body.oneOf.0.provider.ignore.items.0":"\u003cstring>","body.oneOf.0.provider.include_alpha":true,"body.oneOf.0.provider.allow_fallbacks.oneOf.0":true,"body.oneOf.0.provider.require_parameters.oneOf.0":true,"body.oneOf.0.provider.required_execution_region.oneOf.0":"\u003cstring>","body.oneOf.0.provider.required_data_region.oneOf.0":"\u003cstring>","body.oneOf.0.provider.require_zero_data_retention.oneOf.0":true,"body.oneOf.0.provider.zdr.oneOf.0":true,"body.oneOf.0.provider.enforce_distillable_text.oneOf.0":true,"body.oneOf.0.provider.quantizations.oneOf.0.items.0":"\u003cstring>","body.oneOf.0.provider.sort.oneOf.0":"\u003cstring>","body.oneOf.0.provider.max_price.prompt.oneOf.0":123,"body.oneOf.0.provider.max_price.completion.oneOf.0":123,"body.oneOf.0.provider.max_price.image.oneOf.0":123,"body.oneOf.0.provider.max_price.audio.oneOf.0":123,"body.oneOf.0.provider.max_price.request.oneOf.0":123,"body.oneOf.0.provider.preferred_min_throughput.oneOf.0":123,"body.oneOf.0.provider.preferred_max_latency.oneOf.0":123,"body.oneOf.0.routing.order.items.0":"\u003cstring>","body.oneOf.0.routing.only.items.0":"\u003cstring>","body.oneOf.0.routing.ignore.items.0":"\u003cstring>","body.oneOf.0.routing.include_alpha":true,"body.oneOf.0.routing.allow_fallbacks.oneOf.0":true,"body.oneOf.0.routing.require_parameters.oneOf.0":true,"body.oneOf.0.routing.required_execution_region.oneOf.0":"\u003cstring>","body.oneOf.0.routing.required_data_region.oneOf.0":"\u003cstring>","body.oneOf.0.routing.require_zero_data_retention.oneOf.0":true,"body.oneOf.0.routing.zdr.oneOf.0":true,"body.oneOf.0.routing.enforce_distillable_text.oneOf.0":true,"body.oneOf.0.routing.quantizations.oneOf.0.items.0":"\u003cstring>","body.oneOf.0.routing.sort.oneOf.0":"\u003cstring>","body.oneOf.0.routing.max_price.prompt.oneOf.0":123,"body.oneOf.0.routing.max_price.completion.oneOf.0":123,"body.oneOf.0.routing.max_price.image.oneOf.0":123,"body.oneOf.0.routing.max_price.audio.oneOf.0":123,"body.oneOf.0.routing.max_price.request.oneOf.0":123,"body.oneOf.0.routing.preferred_min_throughput.oneOf.0":123,"body.oneOf.0.routing.preferred_max_latency.oneOf.0":123,"body.oneOf.0.metadata":{}}]},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"يوصى بتنسيق OpenAI. يظل التنسيق القديم مدعومًا. تتبع الإجابة الطلب؛ لا تخلط التنسيقات.","required":["model","input","questions"],"properties":{"model":{"type":"string","minLength":1,"description":"معرّف نموذج Phaseo الأساسي أو الاسم المستعار لنموذج المزود.","isRequired":true,"uniqueKey":"oneOf.0.model","typeLabel":"string"},"input":{"oneOf":[{"type":"string","description":"نص أو رسائل مع صور مضمنة. الصوت والفيديو امتدادان من Phaseo للنماذج المتوافقة؛ لا تدعمهما مسارات قرارات OpenAI.","maxLength":10485760,"isRequired":true,"uniqueKey":"oneOf.0.input.oneOf.0","typeLabel":"string"},{"type":"array","items":{"type":"object","required":["role","content"],"additionalProperties":false,"properties":{"role":{"type":"string","enum":["user"],"isRequired":true,"uniqueKey":"oneOf.0.input.oneOf.1.items.[INDEX].role","typeLabel":"enum\u003cstring>"},"content":{"oneOf":[{"type":"string","maxLength":10485760,"isRequired":true,"uniqueKey":"oneOf.0.input.oneOf.1.items.[INDEX].content.oneOf.0","typeLabel":"string"},{"type":"array","items":{"oneOf":[{"type":"object","required":["type","text"],"properties":{"type":{"type":"string","enum":["input_text"],"isRequired":true,"uniqueKey":"oneOf.0.input.oneOf.1.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","maxLength":10485760,"isRequired":true,"uniqueKey":"oneOf.0.input.oneOf.1.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.0.text","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"oneOf.0.input.oneOf.1.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","description":"صورة base64 مضمنة، أو رابط HTTPS لصورة على Amazon S3 أو Google Cloud Storage أو Azure Blob Storage (نماذج Base Labs فقط). دون معرّفات ملفات. الحد الأقصى 128 صورة لكل طلب؛ قد يفرض المزود حدودًا أقل.","required":["type","image_url"],"properties":{"type":{"type":"string","enum":["input_image"],"isRequired":true,"uniqueKey":"oneOf.0.input.oneOf.1.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"image_url":{"type":"string","maxLength":1073741824,"pattern":"^(data:image/[a-zA-Z0-9.+-]+;base64,[A-Za-z0-9+/]+={0,2}|https://\\S+)$","isRequired":true,"uniqueKey":"oneOf.0.input.oneOf.1.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.1.image_url","typeLabel":"string"},"detail":{"oneOf":[{"type":"string","enum":["low","high","auto","original"],"description":"تفاصيل الصور الصريحة: OpenAI فقط.","uniqueKey":"oneOf.0.input.oneOf.1.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.1.detail.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["low","high","auto","original"],"description":"تفاصيل الصور الصريحة: OpenAI فقط.","uniqueKey":"oneOf.0.input.oneOf.1.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.1.detail.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.input.oneOf.1.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.1.detail","typeLabel":"enum\u003cstring> | null"}},"additionalProperties":false,"uniqueKey":"oneOf.0.input.oneOf.1.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.1","typeLabel":"object"},{"type":"object","description":"امتداد Phaseo لنماذج القرارات التي تدعم الصوت مثل Clef Omni. قدّم مصدرًا واحدًا فقط: بيانات base64 مع التنسيق، أو رابط HTTPS عام، أو رابط بيانات صوتية. نماذج قرارات OpenAI لا تدعم هذا الامتداد.","required":["type","input_audio"],"properties":{"type":{"type":"string","enum":["input_audio"],"isRequired":true,"uniqueKey":"oneOf.0.input.oneOf.1.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.2.type","typeLabel":"enum\u003cstring>"},"input_audio":{"oneOf":[{"type":"object","required":["data","format"],"properties":{"data":{"type":"string","maxLength":12582912,"pattern":"^[A-Za-z0-9+/]+={0,2}$","isRequired":true,"uniqueKey":"oneOf.0.input.oneOf.1.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.2.input_audio.oneOf.0.data","typeLabel":"string"},"format":{"type":"string","enum":["wav","mp3"],"isRequired":true,"uniqueKey":"oneOf.0.input.oneOf.1.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.2.input_audio.oneOf.0.format","typeLabel":"enum\u003cstring>"},"url":{"type":"string","maxLength":25165824,"pattern":"^(https://|data:audio/[a-zA-Z0-9.+-]+;base64,[A-Za-z0-9+/]+={0,2}$)","uniqueKey":"oneOf.0.input.oneOf.1.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.2.input_audio.oneOf.0.url","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.0.input.oneOf.1.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.2.input_audio.oneOf.0","typeLabel":"object"},{"type":"object","required":["url"],"properties":{"url":{"type":"string","maxLength":25165824,"pattern":"^(https://|data:audio/[a-zA-Z0-9.+-]+;base64,[A-Za-z0-9+/]+={0,2}$)","isRequired":true,"uniqueKey":"oneOf.0.input.oneOf.1.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.2.input_audio.oneOf.1.url","typeLabel":"string"},"data":{"type":"string","maxLength":12582912,"pattern":"^[A-Za-z0-9+/]+={0,2}$","uniqueKey":"oneOf.0.input.oneOf.1.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.2.input_audio.oneOf.1.data","typeLabel":"string"},"format":{"type":"string","enum":["wav","mp3"],"uniqueKey":"oneOf.0.input.oneOf.1.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.2.input_audio.oneOf.1.format","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.0.input.oneOf.1.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.2.input_audio.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"oneOf.0.input.oneOf.1.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.2.input_audio","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"oneOf.0.input.oneOf.1.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.2","typeLabel":"object"},{"type":"object","description":"امتداد Phaseo لنماذج القرارات التي تدعم الفيديو مثل Clef Omni. قدّم رابط HTTPS عامًا أو رابط بيانات فيديو. نماذج قرارات OpenAI لا تدعم هذا الامتداد.","required":["type","video_url"],"properties":{"type":{"type":"string","enum":["input_video"],"isRequired":true,"uniqueKey":"oneOf.0.input.oneOf.1.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.3.type","typeLabel":"enum\u003cstring>"},"video_url":{"oneOf":[{"type":"string","maxLength":25165824,"pattern":"^(https://|data:video/[a-zA-Z0-9.+-]+;base64,[A-Za-z0-9+/]+={0,2}$)","isRequired":true,"uniqueKey":"oneOf.0.input.oneOf.1.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.3.video_url.oneOf.0","typeLabel":"string"},{"type":"object","required":["url"],"properties":{"url":{"type":"string","maxLength":25165824,"pattern":"^(https://|data:video/[a-zA-Z0-9.+-]+;base64,[A-Za-z0-9+/]+={0,2}$)","isRequired":true,"uniqueKey":"oneOf.0.input.oneOf.1.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.3.video_url.oneOf.1.url","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.0.input.oneOf.1.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.3.video_url.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"oneOf.0.input.oneOf.1.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.3.video_url","typeLabel":"string | object"}},"additionalProperties":false,"uniqueKey":"oneOf.0.input.oneOf.1.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.3","typeLabel":"object"}],"uniqueKey":"oneOf.0.input.oneOf.1.items.[INDEX].content.oneOf.1.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"oneOf.0.input.oneOf.1.items.[INDEX].content.oneOf.1","typeLabel":"object[]"}],"isRequired":true,"uniqueKey":"oneOf.0.input.oneOf.1.items.[INDEX].content","typeLabel":"string | object[]"},"type":{"type":"string","enum":["message"],"uniqueKey":"oneOf.0.input.oneOf.1.items.[INDEX].type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.0.input.oneOf.1.items.[INDEX]","typeLabel":"object"},"description":"نص أو رسائل مع صور مضمنة. الصوت والفيديو امتدادان من Phaseo للنماذج المتوافقة؛ لا تدعمهما مسارات قرارات OpenAI.","isRequired":true,"uniqueKey":"oneOf.0.input.oneOf.1","typeLabel":"object[]"}],"isRequired":true,"uniqueKey":"oneOf.0.input","typeLabel":"string | object[]"},"questions":{"type":"array","minItems":1,"items":{"oneOf":[{"type":"object","required":["type","instructions"],"properties":{"type":{"type":"string","enum":["predicate"],"isRequired":true,"uniqueKey":"oneOf.0.questions.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"instructions":{"type":"string","maxLength":1048576,"isRequired":true,"uniqueKey":"oneOf.0.questions.items.[INDEX].oneOf.0.instructions","typeLabel":"string"},"name":{"type":"string","maxLength":1048576,"uniqueKey":"oneOf.0.questions.items.[INDEX].oneOf.0.name","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"oneOf.0.questions.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","required":["type","instructions","choices"],"properties":{"type":{"type":"string","enum":["choice"],"isRequired":true,"uniqueKey":"oneOf.0.questions.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"instructions":{"type":"string","maxLength":1048576,"isRequired":true,"uniqueKey":"oneOf.0.questions.items.[INDEX].oneOf.1.instructions","typeLabel":"string"},"choices":{"type":"array","minItems":1,"description":"قيم مختلفة؛ القيمة المنطقية والنص المطابق مختلفان.","items":{"type":"object","required":["value"],"additionalProperties":false,"properties":{"value":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"oneOf.0.questions.items.[INDEX].oneOf.1.choices.items.[INDEX].value.oneOf.0","typeLabel":"string"},{"type":"boolean","isRequired":true,"uniqueKey":"oneOf.0.questions.items.[INDEX].oneOf.1.choices.items.[INDEX].value.oneOf.1","typeLabel":"boolean"}],"isRequired":true,"uniqueKey":"oneOf.0.questions.items.[INDEX].oneOf.1.choices.items.[INDEX].value","typeLabel":"string | boolean"},"description":{"type":"string","maxLength":1048576,"uniqueKey":"oneOf.0.questions.items.[INDEX].oneOf.1.choices.items.[INDEX].description","typeLabel":"string"}},"uniqueKey":"oneOf.0.questions.items.[INDEX].oneOf.1.choices.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"oneOf.0.questions.items.[INDEX].oneOf.1.choices","typeLabel":"object[]"},"name":{"type":"string","maxLength":1048576,"uniqueKey":"oneOf.0.questions.items.[INDEX].oneOf.1.name","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"oneOf.0.questions.items.[INDEX].oneOf.1","typeLabel":"object"},{"type":"object","required":["type","instructions","levels"],"properties":{"type":{"type":"string","enum":["score"],"isRequired":true,"uniqueKey":"oneOf.0.questions.items.[INDEX].oneOf.2.type","typeLabel":"enum\u003cstring>"},"instructions":{"type":"string","maxLength":1048576,"isRequired":true,"uniqueKey":"oneOf.0.questions.items.[INDEX].oneOf.2.instructions","typeLabel":"string"},"levels":{"type":"array","minItems":1,"items":{"type":"object","required":["label"],"additionalProperties":false,"properties":{"label":{"type":"string","maxLength":1048576,"isRequired":true,"uniqueKey":"oneOf.0.questions.items.[INDEX].oneOf.2.levels.items.[INDEX].label","typeLabel":"string"},"description":{"type":"string","maxLength":1048576,"uniqueKey":"oneOf.0.questions.items.[INDEX].oneOf.2.levels.items.[INDEX].description","typeLabel":"string"}},"uniqueKey":"oneOf.0.questions.items.[INDEX].oneOf.2.levels.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"oneOf.0.questions.items.[INDEX].oneOf.2.levels","typeLabel":"object[]"},"name":{"type":"string","maxLength":1048576,"uniqueKey":"oneOf.0.questions.items.[INDEX].oneOf.2.name","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"oneOf.0.questions.items.[INDEX].oneOf.2","typeLabel":"object"},{"type":"object","description":"امتداد Phaseo لمربع إحاطة واحد. يتطلب صورة ومسارًا داعمًا مثل Jev 1.14. لا يقبل criteria ولا يعيد نتيجة لغياب الهدف.","required":["type","instructions"],"properties":{"type":{"type":"string","enum":["box"],"isRequired":true,"uniqueKey":"oneOf.0.questions.items.[INDEX].oneOf.3.type","typeLabel":"enum\u003cstring>"},"instructions":{"type":"string","maxLength":1048576,"isRequired":true,"uniqueKey":"oneOf.0.questions.items.[INDEX].oneOf.3.instructions","typeLabel":"string"},"name":{"type":"string","maxLength":1048576,"uniqueKey":"oneOf.0.questions.items.[INDEX].oneOf.3.name","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"oneOf.0.questions.items.[INDEX].oneOf.3","typeLabel":"object"}],"uniqueKey":"oneOf.0.questions.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"oneOf.0.questions","typeLabel":"object[]"},"models":{"type":"array","minItems":1,"maxItems":25,"items":{"type":"string","minLength":1,"uniqueKey":"oneOf.0.models.items.[INDEX]","typeLabel":"string"},"description":"نماذج احتياطية اختيارية ومرتبة تُجرَّب بعد `model`. الحقل `model` مطلوب وهو دائمًا النموذج الأساسي. عندما تفشل محاولة بالرمز `429` أو `500` أو `502` أو `503` أو `504`، تُجرَّب الإدخالة التالية؛ وتُعاد الأخطاء الأخرى دون تغيير. يقبل ما يصل إلى 25 معرّف نموذج أو إعدادًا مسبقًا؛ وتُتجاهل الإدخالات المكررة والإدخالات المطابقة لـ `model`. يُتحقق من كل محاولة وتُسجَّل وتُحتسب تكلفتها كطلب مستقل، ويعرض الحقل `model` في الاستجابة وتتبّع التوجيه النموذج الذي خدم الطلب. لا تنتقل طلبات البث إلى نموذج احتياطي إلا قبل إرسال البايت الأول، ولا تنتقل مهام الفيديو والموسيقى إلا عند الإرسال. ترفض طلبات batch وrealtime وcouncil الحقل `models`. تكون الأولوية للنماذج الاحتياطية المحددة في مسار ديناميكي، ولا يمكن الجمع بين `phaseo/auto` و`models`.","example":["anthropic/claude-sonnet-5-5","google/gemini-2.5-flash"],"uniqueKey":"oneOf.0.models","typeLabel":"string[]"},"provider_options":{"type":"object","properties":{"typesafe":{"type":"object","additionalProperties":false,"properties":{"long_context":{"type":"boolean","description":"تفعيل سياق Jev الطويل التجريبي: 262k رمز لكل طلب ولكل سؤال، بدلًا من 64k لكل طلب و32k لكل سؤال. معطّل افتراضيًا. يتطلب مسار TypeSafe داعمًا.","uniqueKey":"oneOf.0.provider_options.typesafe.long_context","typeLabel":"boolean"}},"uniqueKey":"oneOf.0.provider_options.typesafe","typeLabel":"object"}},"uniqueKey":"oneOf.0.provider_options","typeLabel":"object"},"safety_identifier":{"oneOf":[{"type":"string","maxLength":128,"description":"معرّف مستخدم مبهم. مسارات OpenAI فقط.","uniqueKey":"oneOf.0.safety_identifier.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":128,"description":"معرّف مستخدم مبهم. مسارات OpenAI فقط.","uniqueKey":"oneOf.0.safety_identifier.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.safety_identifier","typeLabel":"string | null"},"meta":{"type":"boolean","default":false,"uniqueKey":"oneOf.0.meta","typeLabel":"boolean"},"echo_upstream_request":{"type":"boolean","uniqueKey":"oneOf.0.echo_upstream_request","typeLabel":"boolean"},"debug":{"type":"object","description":"عناصر تحكم تصحيح أخطاء البوابة. لا تُمرر هذه العلامات إلى المزوّد مطلقًا.","properties":{"enabled":{"type":"boolean","uniqueKey":"oneOf.0.debug.enabled","typeLabel":"boolean"},"return_upstream_request":{"type":"boolean","uniqueKey":"oneOf.0.debug.return_upstream_request","typeLabel":"boolean"},"return_upstream_response":{"type":"boolean","uniqueKey":"oneOf.0.debug.return_upstream_response","typeLabel":"boolean"},"trace":{"type":"boolean","uniqueKey":"oneOf.0.debug.trace","typeLabel":"boolean"},"trace_level":{"type":"string","enum":["summary","full"],"uniqueKey":"oneOf.0.debug.trace_level","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.0.debug","typeLabel":"object"},"provider":{"type":"object","description":"تفضيلات توجيه المزوّد لاختياره عبر البوابة.","properties":{"order":{"type":"array","items":{"type":"string","uniqueKey":"oneOf.0.provider.order.items.[INDEX]","typeLabel":"string"},"uniqueKey":"oneOf.0.provider.order","typeLabel":"string[]"},"only":{"type":"array","items":{"type":"string","uniqueKey":"oneOf.0.provider.only.items.[INDEX]","typeLabel":"string"},"uniqueKey":"oneOf.0.provider.only","typeLabel":"string[]"},"ignore":{"type":"array","items":{"type":"string","uniqueKey":"oneOf.0.provider.ignore.items.[INDEX]","typeLabel":"string"},"uniqueKey":"oneOf.0.provider.ignore","typeLabel":"string[]"},"include_alpha":{"type":"boolean","description":"تضمين مزوّدي alpha في التوجيه (معطّل افتراضيًا).","uniqueKey":"oneOf.0.provider.include_alpha","typeLabel":"boolean"},"allow_fallbacks":{"oneOf":[{"type":"boolean","description":"السماح بالتحويل إلى مزوّد مؤهل آخر بعد الفشل.","uniqueKey":"oneOf.0.provider.allow_fallbacks.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"السماح بالتحويل إلى مزوّد مؤهل آخر بعد الفشل.","uniqueKey":"oneOf.0.provider.allow_fallbacks.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.provider.allow_fallbacks","typeLabel":"boolean | null"},"require_parameters":{"oneOf":[{"type":"boolean","description":"اشتراط دعم المزوّد للمعلمات المطلوبة قبل التوجيه.","uniqueKey":"oneOf.0.provider.require_parameters.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"اشتراط دعم المزوّد للمعلمات المطلوبة قبل التوجيه.","uniqueKey":"oneOf.0.provider.require_parameters.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.provider.require_parameters","typeLabel":"boolean | null"},"required_execution_region":{"oneOf":[{"type":"string","description":"قصر التوجيه على المزوّدين الذين لديهم منطقة التنفيذ المطلوبة.","uniqueKey":"oneOf.0.provider.required_execution_region.oneOf.0","typeLabel":"string"},{"type":"null","description":"قصر التوجيه على المزوّدين الذين لديهم منطقة التنفيذ المطلوبة.","uniqueKey":"oneOf.0.provider.required_execution_region.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.provider.required_execution_region","typeLabel":"string | null"},"required_data_region":{"oneOf":[{"type":"string","description":"قصر التوجيه على المزوّدين الذين لديهم منطقة البيانات المطلوبة.","uniqueKey":"oneOf.0.provider.required_data_region.oneOf.0","typeLabel":"string"},{"type":"null","description":"قصر التوجيه على المزوّدين الذين لديهم منطقة البيانات المطلوبة.","uniqueKey":"oneOf.0.provider.required_data_region.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.provider.required_data_region","typeLabel":"string | null"},"require_zero_data_retention":{"oneOf":[{"type":"boolean","description":"قصر التوجيه على المزوّدين الذين يدعمون الاحتفاظ بالبيانات لمدة صفرية.","uniqueKey":"oneOf.0.provider.require_zero_data_retention.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"قصر التوجيه على المزوّدين الذين يدعمون الاحتفاظ بالبيانات لمدة صفرية.","uniqueKey":"oneOf.0.provider.require_zero_data_retention.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.provider.require_zero_data_retention","typeLabel":"boolean | null"},"data_collection":{"oneOf":[{"type":"string","description":"القيمة `allow` (الافتراضية) لا تُصفّي شيئًا. القيمة `deny` غير مدعومة بعد وتعيد الخطأ 400 unsupported_routing_filter.","enum":["allow","deny"],"uniqueKey":"oneOf.0.provider.data_collection.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"القيمة `allow` (الافتراضية) لا تُصفّي شيئًا. القيمة `deny` غير مدعومة بعد وتعيد الخطأ 400 unsupported_routing_filter.","enum":["allow","deny"],"uniqueKey":"oneOf.0.provider.data_collection.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.provider.data_collection","typeLabel":"enum\u003cstring> | null"},"zdr":{"oneOf":[{"type":"boolean","uniqueKey":"oneOf.0.provider.zdr.oneOf.0","typeLabel":"boolean"},{"type":"null","uniqueKey":"oneOf.0.provider.zdr.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.provider.zdr","typeLabel":"boolean | null"},"enforce_distillable_text":{"oneOf":[{"type":"boolean","description":"القيمة `false` (الافتراضية) لا تُصفّي شيئًا. القيمة `true` غير مدعومة بعد وتعيد الخطأ 400 unsupported_routing_filter.","uniqueKey":"oneOf.0.provider.enforce_distillable_text.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"القيمة `false` (الافتراضية) لا تُصفّي شيئًا. القيمة `true` غير مدعومة بعد وتعيد الخطأ 400 unsupported_routing_filter.","uniqueKey":"oneOf.0.provider.enforce_distillable_text.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.provider.enforce_distillable_text","typeLabel":"boolean | null"},"quantizations":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"oneOf.0.provider.quantizations.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"oneOf.0.provider.quantizations.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"uniqueKey":"oneOf.0.provider.quantizations.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.provider.quantizations","typeLabel":"string[] | null"},"sort":{"oneOf":[{"type":"string","description":"رتّب المزوّدين لهذا الطلب، مثلاً حسب السعر أو زمن الاستجابة أو الإنتاجية.","uniqueKey":"oneOf.0.provider.sort.oneOf.0","typeLabel":"string"},{"type":"object","description":"رتّب المزوّدين لهذا الطلب، مثلاً حسب السعر أو زمن الاستجابة أو الإنتاجية.","additionalProperties":true,"uniqueKey":"oneOf.0.provider.sort.oneOf.1","typeLabel":"object"}],"uniqueKey":"oneOf.0.provider.sort","typeLabel":"string | object"},"max_price":{"type":"object","properties":{"prompt":{"oneOf":[{"type":"number","uniqueKey":"oneOf.0.provider.max_price.prompt.oneOf.0","typeLabel":"number"},{"type":"string","uniqueKey":"oneOf.0.provider.max_price.prompt.oneOf.1","typeLabel":"string"}],"uniqueKey":"oneOf.0.provider.max_price.prompt","typeLabel":"number | string"},"completion":{"oneOf":[{"type":"number","uniqueKey":"oneOf.0.provider.max_price.completion.oneOf.0","typeLabel":"number"},{"type":"string","uniqueKey":"oneOf.0.provider.max_price.completion.oneOf.1","typeLabel":"string"}],"uniqueKey":"oneOf.0.provider.max_price.completion","typeLabel":"number | string"},"image":{"oneOf":[{"type":"number","uniqueKey":"oneOf.0.provider.max_price.image.oneOf.0","typeLabel":"number"},{"type":"string","uniqueKey":"oneOf.0.provider.max_price.image.oneOf.1","typeLabel":"string"}],"uniqueKey":"oneOf.0.provider.max_price.image","typeLabel":"number | string"},"audio":{"oneOf":[{"type":"number","uniqueKey":"oneOf.0.provider.max_price.audio.oneOf.0","typeLabel":"number"},{"type":"string","uniqueKey":"oneOf.0.provider.max_price.audio.oneOf.1","typeLabel":"string"}],"uniqueKey":"oneOf.0.provider.max_price.audio","typeLabel":"number | string"},"request":{"oneOf":[{"type":"number","uniqueKey":"oneOf.0.provider.max_price.request.oneOf.0","typeLabel":"number"},{"type":"string","uniqueKey":"oneOf.0.provider.max_price.request.oneOf.1","typeLabel":"string"}],"uniqueKey":"oneOf.0.provider.max_price.request","typeLabel":"number | string"}},"uniqueKey":"oneOf.0.provider.max_price","typeLabel":"object"},"preferred_min_throughput":{"oneOf":[{"type":"number","uniqueKey":"oneOf.0.provider.preferred_min_throughput.oneOf.0","typeLabel":"number"},{"type":"object","additionalProperties":{"type":"number","uniqueKey":"oneOf.0.provider.preferred_min_throughput.oneOf.1.additionalProperties","typeLabel":"number"},"uniqueKey":"oneOf.0.provider.preferred_min_throughput.oneOf.1","typeLabel":"object"}],"uniqueKey":"oneOf.0.provider.preferred_min_throughput","typeLabel":"number | object"},"preferred_max_latency":{"oneOf":[{"type":"number","uniqueKey":"oneOf.0.provider.preferred_max_latency.oneOf.0","typeLabel":"number"},{"type":"object","additionalProperties":{"type":"number","uniqueKey":"oneOf.0.provider.preferred_max_latency.oneOf.1.additionalProperties","typeLabel":"number"},"uniqueKey":"oneOf.0.provider.preferred_max_latency.oneOf.1","typeLabel":"object"}],"uniqueKey":"oneOf.0.provider.preferred_max_latency","typeLabel":"number | object"}},"uniqueKey":"oneOf.0.provider","typeLabel":"object"},"routing":{"type":"object","description":"تفضيلات توجيه المزوّد لاختياره عبر البوابة.","properties":{"order":{"type":"array","items":{"type":"string","uniqueKey":"oneOf.0.routing.order.items.[INDEX]","typeLabel":"string"},"uniqueKey":"oneOf.0.routing.order","typeLabel":"string[]"},"only":{"type":"array","items":{"type":"string","uniqueKey":"oneOf.0.routing.only.items.[INDEX]","typeLabel":"string"},"uniqueKey":"oneOf.0.routing.only","typeLabel":"string[]"},"ignore":{"type":"array","items":{"type":"string","uniqueKey":"oneOf.0.routing.ignore.items.[INDEX]","typeLabel":"string"},"uniqueKey":"oneOf.0.routing.ignore","typeLabel":"string[]"},"include_alpha":{"type":"boolean","description":"تضمين مزوّدي alpha في التوجيه (معطّل افتراضيًا).","uniqueKey":"oneOf.0.routing.include_alpha","typeLabel":"boolean"},"allow_fallbacks":{"oneOf":[{"type":"boolean","description":"السماح بالتحويل إلى مزوّد مؤهل آخر بعد الفشل.","uniqueKey":"oneOf.0.routing.allow_fallbacks.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"السماح بالتحويل إلى مزوّد مؤهل آخر بعد الفشل.","uniqueKey":"oneOf.0.routing.allow_fallbacks.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.routing.allow_fallbacks","typeLabel":"boolean | null"},"require_parameters":{"oneOf":[{"type":"boolean","description":"اشتراط دعم المزوّد للمعلمات المطلوبة قبل التوجيه.","uniqueKey":"oneOf.0.routing.require_parameters.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"اشتراط دعم المزوّد للمعلمات المطلوبة قبل التوجيه.","uniqueKey":"oneOf.0.routing.require_parameters.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.routing.require_parameters","typeLabel":"boolean | null"},"required_execution_region":{"oneOf":[{"type":"string","description":"قصر التوجيه على المزوّدين الذين لديهم منطقة التنفيذ المطلوبة.","uniqueKey":"oneOf.0.routing.required_execution_region.oneOf.0","typeLabel":"string"},{"type":"null","description":"قصر التوجيه على المزوّدين الذين لديهم منطقة التنفيذ المطلوبة.","uniqueKey":"oneOf.0.routing.required_execution_region.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.routing.required_execution_region","typeLabel":"string | null"},"required_data_region":{"oneOf":[{"type":"string","description":"قصر التوجيه على المزوّدين الذين لديهم منطقة البيانات المطلوبة.","uniqueKey":"oneOf.0.routing.required_data_region.oneOf.0","typeLabel":"string"},{"type":"null","description":"قصر التوجيه على المزوّدين الذين لديهم منطقة البيانات المطلوبة.","uniqueKey":"oneOf.0.routing.required_data_region.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.routing.required_data_region","typeLabel":"string | null"},"require_zero_data_retention":{"oneOf":[{"type":"boolean","description":"قصر التوجيه على المزوّدين الذين يدعمون الاحتفاظ بالبيانات لمدة صفرية.","uniqueKey":"oneOf.0.routing.require_zero_data_retention.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"قصر التوجيه على المزوّدين الذين يدعمون الاحتفاظ بالبيانات لمدة صفرية.","uniqueKey":"oneOf.0.routing.require_zero_data_retention.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.routing.require_zero_data_retention","typeLabel":"boolean | null"},"data_collection":{"oneOf":[{"type":"string","description":"القيمة `allow` (الافتراضية) لا تُصفّي شيئًا. القيمة `deny` غير مدعومة بعد وتعيد الخطأ 400 unsupported_routing_filter.","enum":["allow","deny"],"uniqueKey":"oneOf.0.routing.data_collection.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"القيمة `allow` (الافتراضية) لا تُصفّي شيئًا. القيمة `deny` غير مدعومة بعد وتعيد الخطأ 400 unsupported_routing_filter.","enum":["allow","deny"],"uniqueKey":"oneOf.0.routing.data_collection.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.routing.data_collection","typeLabel":"enum\u003cstring> | null"},"zdr":{"oneOf":[{"type":"boolean","uniqueKey":"oneOf.0.routing.zdr.oneOf.0","typeLabel":"boolean"},{"type":"null","uniqueKey":"oneOf.0.routing.zdr.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.routing.zdr","typeLabel":"boolean | null"},"enforce_distillable_text":{"oneOf":[{"type":"boolean","description":"القيمة `false` (الافتراضية) لا تُصفّي شيئًا. القيمة `true` غير مدعومة بعد وتعيد الخطأ 400 unsupported_routing_filter.","uniqueKey":"oneOf.0.routing.enforce_distillable_text.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"القيمة `false` (الافتراضية) لا تُصفّي شيئًا. القيمة `true` غير مدعومة بعد وتعيد الخطأ 400 unsupported_routing_filter.","uniqueKey":"oneOf.0.routing.enforce_distillable_text.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.routing.enforce_distillable_text","typeLabel":"boolean | null"},"quantizations":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"oneOf.0.routing.quantizations.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"oneOf.0.routing.quantizations.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"uniqueKey":"oneOf.0.routing.quantizations.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.routing.quantizations","typeLabel":"string[] | null"},"sort":{"oneOf":[{"type":"string","description":"رتّب المزوّدين لهذا الطلب، مثلاً حسب السعر أو زمن الاستجابة أو الإنتاجية.","uniqueKey":"oneOf.0.routing.sort.oneOf.0","typeLabel":"string"},{"type":"object","description":"رتّب المزوّدين لهذا الطلب، مثلاً حسب السعر أو زمن الاستجابة أو الإنتاجية.","additionalProperties":true,"uniqueKey":"oneOf.0.routing.sort.oneOf.1","typeLabel":"object"}],"uniqueKey":"oneOf.0.routing.sort","typeLabel":"string | object"},"max_price":{"type":"object","properties":{"prompt":{"oneOf":[{"type":"number","uniqueKey":"oneOf.0.routing.max_price.prompt.oneOf.0","typeLabel":"number"},{"type":"string","uniqueKey":"oneOf.0.routing.max_price.prompt.oneOf.1","typeLabel":"string"}],"uniqueKey":"oneOf.0.routing.max_price.prompt","typeLabel":"number | string"},"completion":{"oneOf":[{"type":"number","uniqueKey":"oneOf.0.routing.max_price.completion.oneOf.0","typeLabel":"number"},{"type":"string","uniqueKey":"oneOf.0.routing.max_price.completion.oneOf.1","typeLabel":"string"}],"uniqueKey":"oneOf.0.routing.max_price.completion","typeLabel":"number | string"},"image":{"oneOf":[{"type":"number","uniqueKey":"oneOf.0.routing.max_price.image.oneOf.0","typeLabel":"number"},{"type":"string","uniqueKey":"oneOf.0.routing.max_price.image.oneOf.1","typeLabel":"string"}],"uniqueKey":"oneOf.0.routing.max_price.image","typeLabel":"number | string"},"audio":{"oneOf":[{"type":"number","uniqueKey":"oneOf.0.routing.max_price.audio.oneOf.0","typeLabel":"number"},{"type":"string","uniqueKey":"oneOf.0.routing.max_price.audio.oneOf.1","typeLabel":"string"}],"uniqueKey":"oneOf.0.routing.max_price.audio","typeLabel":"number | string"},"request":{"oneOf":[{"type":"number","uniqueKey":"oneOf.0.routing.max_price.request.oneOf.0","typeLabel":"number"},{"type":"string","uniqueKey":"oneOf.0.routing.max_price.request.oneOf.1","typeLabel":"string"}],"uniqueKey":"oneOf.0.routing.max_price.request","typeLabel":"number | string"}},"uniqueKey":"oneOf.0.routing.max_price","typeLabel":"object"},"preferred_min_throughput":{"oneOf":[{"type":"number","uniqueKey":"oneOf.0.routing.preferred_min_throughput.oneOf.0","typeLabel":"number"},{"type":"object","additionalProperties":{"type":"number","uniqueKey":"oneOf.0.routing.preferred_min_throughput.oneOf.1.additionalProperties","typeLabel":"number"},"uniqueKey":"oneOf.0.routing.preferred_min_throughput.oneOf.1","typeLabel":"object"}],"uniqueKey":"oneOf.0.routing.preferred_min_throughput","typeLabel":"number | object"},"preferred_max_latency":{"oneOf":[{"type":"number","uniqueKey":"oneOf.0.routing.preferred_max_latency.oneOf.0","typeLabel":"number"},{"type":"object","additionalProperties":{"type":"number","uniqueKey":"oneOf.0.routing.preferred_max_latency.oneOf.1.additionalProperties","typeLabel":"number"},"uniqueKey":"oneOf.0.routing.preferred_max_latency.oneOf.1","typeLabel":"object"}],"uniqueKey":"oneOf.0.routing.preferred_max_latency","typeLabel":"number | object"}},"uniqueKey":"oneOf.0.routing","typeLabel":"object"},"metadata":{"type":"object","additionalProperties":true,"uniqueKey":"oneOf.0.metadata","typeLabel":"object"}},"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","description":"يوصى بتنسيق OpenAI. يظل التنسيق القديم مدعومًا. تتبع الإجابة الطلب؛ لا تخلط التنسيقات.","required":["model","state","questions"],"properties":{"model":{"type":"string","description":"معرّف نموذج Phaseo الأساسي أو الاسم المستعار لنموذج المزود.","default":"typesafe/jev-1.13.0","isRequired":true,"uniqueKey":"oneOf.1.model","typeLabel":"string"},"state":{"oneOf":[{"type":"string","description":"حالة منظّمة يقيّمها النموذج.","isRequired":true,"uniqueKey":"oneOf.1.state.oneOf.0","typeLabel":"string"},{"type":"object","description":"حالة منظّمة يقيّمها النموذج.","additionalProperties":true,"isRequired":true,"uniqueKey":"oneOf.1.state.oneOf.1","typeLabel":"object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"oneOf.1.state.oneOf.2.items.[INDEX]","typeLabel":"any"},"description":"حالة منظّمة يقيّمها النموذج.","isRequired":true,"uniqueKey":"oneOf.1.state.oneOf.2","typeLabel":"any[]"}],"isRequired":true,"uniqueKey":"oneOf.1.state","typeLabel":"string | object | any[]"},"questions":{"type":"object","minProperties":1,"maxProperties":128,"additionalProperties":{"oneOf":[{"type":"object","required":["type","instructions"],"properties":{"type":{"type":"string","enum":["noul"],"isRequired":true,"uniqueKey":"oneOf.1.questions.additionalProperties.oneOf.0.type","typeLabel":"enum\u003cstring>"},"instructions":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"oneOf.1.questions.additionalProperties.oneOf.0.instructions.oneOf.0","typeLabel":"string"},{"type":"object","additionalProperties":true,"isRequired":true,"uniqueKey":"oneOf.1.questions.additionalProperties.oneOf.0.instructions.oneOf.1","typeLabel":"object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"oneOf.1.questions.additionalProperties.oneOf.0.instructions.oneOf.2.items.[INDEX]","typeLabel":"any"},"isRequired":true,"uniqueKey":"oneOf.1.questions.additionalProperties.oneOf.0.instructions.oneOf.2","typeLabel":"any[]"}],"isRequired":true,"uniqueKey":"oneOf.1.questions.additionalProperties.oneOf.0.instructions","typeLabel":"string | object | any[]"},"criteria":{"type":"object","properties":{"true":{"type":"string","uniqueKey":"oneOf.1.questions.additionalProperties.oneOf.0.criteria.true","typeLabel":"string"},"false":{"type":"string","uniqueKey":"oneOf.1.questions.additionalProperties.oneOf.0.criteria.false","typeLabel":"string"}},"additionalProperties":true,"uniqueKey":"oneOf.1.questions.additionalProperties.oneOf.0.criteria","typeLabel":"object"}},"uniqueKey":"oneOf.1.questions.additionalProperties.oneOf.0","typeLabel":"object"},{"type":"object","required":["type","instructions","criteria"],"properties":{"type":{"type":"string","enum":["choice"],"isRequired":true,"uniqueKey":"oneOf.1.questions.additionalProperties.oneOf.1.type","typeLabel":"enum\u003cstring>"},"instructions":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"oneOf.1.questions.additionalProperties.oneOf.1.instructions.oneOf.0","typeLabel":"string"},{"type":"object","additionalProperties":true,"isRequired":true,"uniqueKey":"oneOf.1.questions.additionalProperties.oneOf.1.instructions.oneOf.1","typeLabel":"object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"oneOf.1.questions.additionalProperties.oneOf.1.instructions.oneOf.2.items.[INDEX]","typeLabel":"any"},"isRequired":true,"uniqueKey":"oneOf.1.questions.additionalProperties.oneOf.1.instructions.oneOf.2","typeLabel":"any[]"}],"isRequired":true,"uniqueKey":"oneOf.1.questions.additionalProperties.oneOf.1.instructions","typeLabel":"string | object | any[]"},"criteria":{"type":"object","minProperties":1,"additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"oneOf.1.questions.additionalProperties.oneOf.1.criteria.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.1.questions.additionalProperties.oneOf.1.criteria.additionalProperties.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.questions.additionalProperties.oneOf.1.criteria.additionalProperties","typeLabel":"string | null"},"isRequired":true,"uniqueKey":"oneOf.1.questions.additionalProperties.oneOf.1.criteria","typeLabel":"object"}},"uniqueKey":"oneOf.1.questions.additionalProperties.oneOf.1","typeLabel":"object"},{"type":"object","required":["type","instructions","criteria"],"properties":{"type":{"type":"string","enum":["score"],"isRequired":true,"uniqueKey":"oneOf.1.questions.additionalProperties.oneOf.2.type","typeLabel":"enum\u003cstring>"},"instructions":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"oneOf.1.questions.additionalProperties.oneOf.2.instructions.oneOf.0","typeLabel":"string"},{"type":"object","additionalProperties":true,"isRequired":true,"uniqueKey":"oneOf.1.questions.additionalProperties.oneOf.2.instructions.oneOf.1","typeLabel":"object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"oneOf.1.questions.additionalProperties.oneOf.2.instructions.oneOf.2.items.[INDEX]","typeLabel":"any"},"isRequired":true,"uniqueKey":"oneOf.1.questions.additionalProperties.oneOf.2.instructions.oneOf.2","typeLabel":"any[]"}],"isRequired":true,"uniqueKey":"oneOf.1.questions.additionalProperties.oneOf.2.instructions","typeLabel":"string | object | any[]"},"criteria":{"type":"array","minItems":2,"items":{"type":"string","uniqueKey":"oneOf.1.questions.additionalProperties.oneOf.2.criteria.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"oneOf.1.questions.additionalProperties.oneOf.2.criteria","typeLabel":"string[]"}},"uniqueKey":"oneOf.1.questions.additionalProperties.oneOf.2","typeLabel":"object"},{"type":"object","description":"سؤال مربع إحاطة واحد لمسارات Box الداعمة للصور. دون criteria.","required":["type","instructions"],"properties":{"type":{"type":"string","enum":["box"],"isRequired":true,"uniqueKey":"oneOf.1.questions.additionalProperties.oneOf.3.type","typeLabel":"enum\u003cstring>"},"instructions":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"oneOf.1.questions.additionalProperties.oneOf.3.instructions.oneOf.0","typeLabel":"string"},{"type":"object","additionalProperties":true,"isRequired":true,"uniqueKey":"oneOf.1.questions.additionalProperties.oneOf.3.instructions.oneOf.1","typeLabel":"object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"oneOf.1.questions.additionalProperties.oneOf.3.instructions.oneOf.2.items.[INDEX]","typeLabel":"any"},"isRequired":true,"uniqueKey":"oneOf.1.questions.additionalProperties.oneOf.3.instructions.oneOf.2","typeLabel":"any[]"}],"isRequired":true,"uniqueKey":"oneOf.1.questions.additionalProperties.oneOf.3.instructions","typeLabel":"string | object | any[]"}},"additionalProperties":false,"uniqueKey":"oneOf.1.questions.additionalProperties.oneOf.3","typeLabel":"object"}],"uniqueKey":"oneOf.1.questions.additionalProperties","typeLabel":"object"},"isRequired":true,"uniqueKey":"oneOf.1.questions","typeLabel":"object"},"models":{"type":"array","minItems":1,"maxItems":25,"items":{"type":"string","minLength":1,"uniqueKey":"oneOf.1.models.items.[INDEX]","typeLabel":"string"},"description":"نماذج احتياطية اختيارية ومرتبة تُجرَّب بعد `model`. الحقل `model` مطلوب وهو دائمًا النموذج الأساسي. عندما تفشل محاولة بالرمز `429` أو `500` أو `502` أو `503` أو `504`، تُجرَّب الإدخالة التالية؛ وتُعاد الأخطاء الأخرى دون تغيير. يقبل ما يصل إلى 25 معرّف نموذج أو إعدادًا مسبقًا؛ وتُتجاهل الإدخالات المكررة والإدخالات المطابقة لـ `model`. يُتحقق من كل محاولة وتُسجَّل وتُحتسب تكلفتها كطلب مستقل، ويعرض الحقل `model` في الاستجابة وتتبّع التوجيه النموذج الذي خدم الطلب. لا تنتقل طلبات البث إلى نموذج احتياطي إلا قبل إرسال البايت الأول، ولا تنتقل مهام الفيديو والموسيقى إلا عند الإرسال. ترفض طلبات batch وrealtime وcouncil الحقل `models`. تكون الأولوية للنماذج الاحتياطية المحددة في مسار ديناميكي، ولا يمكن الجمع بين `phaseo/auto` و`models`.","example":["anthropic/claude-sonnet-5-5","google/gemini-2.5-flash"],"uniqueKey":"oneOf.1.models","typeLabel":"string[]"},"provider_options":{"type":"object","properties":{"typesafe":{"type":"object","additionalProperties":false,"properties":{"long_context":{"type":"boolean","description":"تفعيل سياق Jev الطويل التجريبي: 262k رمز لكل طلب ولكل سؤال، بدلًا من 64k لكل طلب و32k لكل سؤال. معطّل افتراضيًا. يتطلب مسار TypeSafe داعمًا.","uniqueKey":"oneOf.1.provider_options.typesafe.long_context","typeLabel":"boolean"}},"uniqueKey":"oneOf.1.provider_options.typesafe","typeLabel":"object"}},"uniqueKey":"oneOf.1.provider_options","typeLabel":"object"},"images":{"type":"array","maxItems":4,"description":"صور مضمّنة لنماذج القرار التي تدعم الرؤية. يقبل Clef صيغ PNG أو JPEG أو WebP؛ الروابط البعيدة غير مدعومة. الحد الأقصى 4 MiB و16 ميغابكسل لكل صورة، و8 MiB لإجمالي البيانات بعد فك الترميز، و13 MiB لكل جسم طلب.","items":{"oneOf":[{"type":"string","pattern":"^[Dd][Aa][Tt][Aa]:image/(png|jpeg|webp);base64,[A-Za-z0-9+/]+={0,2}$","uniqueKey":"oneOf.1.images.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"object","required":["content_type","base64"],"properties":{"content_type":{"type":"string","enum":["image/png","image/jpeg","image/webp"],"isRequired":true,"uniqueKey":"oneOf.1.images.items.[INDEX].oneOf.1.content_type","typeLabel":"enum\u003cstring>"},"base64":{"type":"string","pattern":"^[A-Za-z0-9+/]+={0,2}$","isRequired":true,"uniqueKey":"oneOf.1.images.items.[INDEX].oneOf.1.base64","typeLabel":"string"}},"uniqueKey":"oneOf.1.images.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"oneOf.1.images.items.[INDEX]","typeLabel":"string | object"},"uniqueKey":"oneOf.1.images","typeLabel":"(string | object)[]"},"meta":{"type":"boolean","default":false,"uniqueKey":"oneOf.1.meta","typeLabel":"boolean"},"echo_upstream_request":{"type":"boolean","uniqueKey":"oneOf.1.echo_upstream_request","typeLabel":"boolean"},"debug":{"type":"object","description":"عناصر تحكم تصحيح أخطاء البوابة. لا تُمرر هذه العلامات إلى المزوّد مطلقًا.","properties":{"enabled":{"type":"boolean","uniqueKey":"oneOf.1.debug.enabled","typeLabel":"boolean"},"return_upstream_request":{"type":"boolean","uniqueKey":"oneOf.1.debug.return_upstream_request","typeLabel":"boolean"},"return_upstream_response":{"type":"boolean","uniqueKey":"oneOf.1.debug.return_upstream_response","typeLabel":"boolean"},"trace":{"type":"boolean","uniqueKey":"oneOf.1.debug.trace","typeLabel":"boolean"},"trace_level":{"type":"string","enum":["summary","full"],"uniqueKey":"oneOf.1.debug.trace_level","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.1.debug","typeLabel":"object"},"provider":{"type":"object","description":"تفضيلات توجيه المزوّد لاختياره عبر البوابة.","properties":{"order":{"type":"array","items":{"type":"string","uniqueKey":"oneOf.1.provider.order.items.[INDEX]","typeLabel":"string"},"uniqueKey":"oneOf.1.provider.order","typeLabel":"string[]"},"only":{"type":"array","items":{"type":"string","uniqueKey":"oneOf.1.provider.only.items.[INDEX]","typeLabel":"string"},"uniqueKey":"oneOf.1.provider.only","typeLabel":"string[]"},"ignore":{"type":"array","items":{"type":"string","uniqueKey":"oneOf.1.provider.ignore.items.[INDEX]","typeLabel":"string"},"uniqueKey":"oneOf.1.provider.ignore","typeLabel":"string[]"},"include_alpha":{"type":"boolean","description":"تضمين مزوّدي alpha في التوجيه (معطّل افتراضيًا).","uniqueKey":"oneOf.1.provider.include_alpha","typeLabel":"boolean"},"allow_fallbacks":{"oneOf":[{"type":"boolean","description":"السماح بالتحويل إلى مزوّد مؤهل آخر بعد الفشل.","uniqueKey":"oneOf.1.provider.allow_fallbacks.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"السماح بالتحويل إلى مزوّد مؤهل آخر بعد الفشل.","uniqueKey":"oneOf.1.provider.allow_fallbacks.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.provider.allow_fallbacks","typeLabel":"boolean | null"},"require_parameters":{"oneOf":[{"type":"boolean","description":"اشتراط دعم المزوّد للمعلمات المطلوبة قبل التوجيه.","uniqueKey":"oneOf.1.provider.require_parameters.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"اشتراط دعم المزوّد للمعلمات المطلوبة قبل التوجيه.","uniqueKey":"oneOf.1.provider.require_parameters.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.provider.require_parameters","typeLabel":"boolean | null"},"required_execution_region":{"oneOf":[{"type":"string","description":"قصر التوجيه على المزوّدين الذين لديهم منطقة التنفيذ المطلوبة.","uniqueKey":"oneOf.1.provider.required_execution_region.oneOf.0","typeLabel":"string"},{"type":"null","description":"قصر التوجيه على المزوّدين الذين لديهم منطقة التنفيذ المطلوبة.","uniqueKey":"oneOf.1.provider.required_execution_region.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.provider.required_execution_region","typeLabel":"string | null"},"required_data_region":{"oneOf":[{"type":"string","description":"قصر التوجيه على المزوّدين الذين لديهم منطقة البيانات المطلوبة.","uniqueKey":"oneOf.1.provider.required_data_region.oneOf.0","typeLabel":"string"},{"type":"null","description":"قصر التوجيه على المزوّدين الذين لديهم منطقة البيانات المطلوبة.","uniqueKey":"oneOf.1.provider.required_data_region.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.provider.required_data_region","typeLabel":"string | null"},"require_zero_data_retention":{"oneOf":[{"type":"boolean","description":"قصر التوجيه على المزوّدين الذين يدعمون الاحتفاظ بالبيانات لمدة صفرية.","uniqueKey":"oneOf.1.provider.require_zero_data_retention.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"قصر التوجيه على المزوّدين الذين يدعمون الاحتفاظ بالبيانات لمدة صفرية.","uniqueKey":"oneOf.1.provider.require_zero_data_retention.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.provider.require_zero_data_retention","typeLabel":"boolean | null"},"data_collection":{"oneOf":[{"type":"string","description":"القيمة `allow` (الافتراضية) لا تُصفّي شيئًا. القيمة `deny` غير مدعومة بعد وتعيد الخطأ 400 unsupported_routing_filter.","enum":["allow","deny"],"uniqueKey":"oneOf.1.provider.data_collection.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"القيمة `allow` (الافتراضية) لا تُصفّي شيئًا. القيمة `deny` غير مدعومة بعد وتعيد الخطأ 400 unsupported_routing_filter.","enum":["allow","deny"],"uniqueKey":"oneOf.1.provider.data_collection.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.provider.data_collection","typeLabel":"enum\u003cstring> | null"},"zdr":{"oneOf":[{"type":"boolean","uniqueKey":"oneOf.1.provider.zdr.oneOf.0","typeLabel":"boolean"},{"type":"null","uniqueKey":"oneOf.1.provider.zdr.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.provider.zdr","typeLabel":"boolean | null"},"enforce_distillable_text":{"oneOf":[{"type":"boolean","description":"القيمة `false` (الافتراضية) لا تُصفّي شيئًا. القيمة `true` غير مدعومة بعد وتعيد الخطأ 400 unsupported_routing_filter.","uniqueKey":"oneOf.1.provider.enforce_distillable_text.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"القيمة `false` (الافتراضية) لا تُصفّي شيئًا. القيمة `true` غير مدعومة بعد وتعيد الخطأ 400 unsupported_routing_filter.","uniqueKey":"oneOf.1.provider.enforce_distillable_text.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.provider.enforce_distillable_text","typeLabel":"boolean | null"},"quantizations":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"oneOf.1.provider.quantizations.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"oneOf.1.provider.quantizations.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"uniqueKey":"oneOf.1.provider.quantizations.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.provider.quantizations","typeLabel":"string[] | null"},"sort":{"oneOf":[{"type":"string","description":"رتّب المزوّدين لهذا الطلب، مثلاً حسب السعر أو زمن الاستجابة أو الإنتاجية.","uniqueKey":"oneOf.1.provider.sort.oneOf.0","typeLabel":"string"},{"type":"object","description":"رتّب المزوّدين لهذا الطلب، مثلاً حسب السعر أو زمن الاستجابة أو الإنتاجية.","additionalProperties":true,"uniqueKey":"oneOf.1.provider.sort.oneOf.1","typeLabel":"object"}],"uniqueKey":"oneOf.1.provider.sort","typeLabel":"string | object"},"max_price":{"type":"object","properties":{"prompt":{"oneOf":[{"type":"number","uniqueKey":"oneOf.1.provider.max_price.prompt.oneOf.0","typeLabel":"number"},{"type":"string","uniqueKey":"oneOf.1.provider.max_price.prompt.oneOf.1","typeLabel":"string"}],"uniqueKey":"oneOf.1.provider.max_price.prompt","typeLabel":"number | string"},"completion":{"oneOf":[{"type":"number","uniqueKey":"oneOf.1.provider.max_price.completion.oneOf.0","typeLabel":"number"},{"type":"string","uniqueKey":"oneOf.1.provider.max_price.completion.oneOf.1","typeLabel":"string"}],"uniqueKey":"oneOf.1.provider.max_price.completion","typeLabel":"number | string"},"image":{"oneOf":[{"type":"number","uniqueKey":"oneOf.1.provider.max_price.image.oneOf.0","typeLabel":"number"},{"type":"string","uniqueKey":"oneOf.1.provider.max_price.image.oneOf.1","typeLabel":"string"}],"uniqueKey":"oneOf.1.provider.max_price.image","typeLabel":"number | string"},"audio":{"oneOf":[{"type":"number","uniqueKey":"oneOf.1.provider.max_price.audio.oneOf.0","typeLabel":"number"},{"type":"string","uniqueKey":"oneOf.1.provider.max_price.audio.oneOf.1","typeLabel":"string"}],"uniqueKey":"oneOf.1.provider.max_price.audio","typeLabel":"number | string"},"request":{"oneOf":[{"type":"number","uniqueKey":"oneOf.1.provider.max_price.request.oneOf.0","typeLabel":"number"},{"type":"string","uniqueKey":"oneOf.1.provider.max_price.request.oneOf.1","typeLabel":"string"}],"uniqueKey":"oneOf.1.provider.max_price.request","typeLabel":"number | string"}},"uniqueKey":"oneOf.1.provider.max_price","typeLabel":"object"},"preferred_min_throughput":{"oneOf":[{"type":"number","uniqueKey":"oneOf.1.provider.preferred_min_throughput.oneOf.0","typeLabel":"number"},{"type":"object","additionalProperties":{"type":"number","uniqueKey":"oneOf.1.provider.preferred_min_throughput.oneOf.1.additionalProperties","typeLabel":"number"},"uniqueKey":"oneOf.1.provider.preferred_min_throughput.oneOf.1","typeLabel":"object"}],"uniqueKey":"oneOf.1.provider.preferred_min_throughput","typeLabel":"number | object"},"preferred_max_latency":{"oneOf":[{"type":"number","uniqueKey":"oneOf.1.provider.preferred_max_latency.oneOf.0","typeLabel":"number"},{"type":"object","additionalProperties":{"type":"number","uniqueKey":"oneOf.1.provider.preferred_max_latency.oneOf.1.additionalProperties","typeLabel":"number"},"uniqueKey":"oneOf.1.provider.preferred_max_latency.oneOf.1","typeLabel":"object"}],"uniqueKey":"oneOf.1.provider.preferred_max_latency","typeLabel":"number | object"}},"uniqueKey":"oneOf.1.provider","typeLabel":"object"},"routing":{"type":"object","description":"تفضيلات توجيه المزوّد لاختياره عبر البوابة.","properties":{"order":{"type":"array","items":{"type":"string","uniqueKey":"oneOf.1.routing.order.items.[INDEX]","typeLabel":"string"},"uniqueKey":"oneOf.1.routing.order","typeLabel":"string[]"},"only":{"type":"array","items":{"type":"string","uniqueKey":"oneOf.1.routing.only.items.[INDEX]","typeLabel":"string"},"uniqueKey":"oneOf.1.routing.only","typeLabel":"string[]"},"ignore":{"type":"array","items":{"type":"string","uniqueKey":"oneOf.1.routing.ignore.items.[INDEX]","typeLabel":"string"},"uniqueKey":"oneOf.1.routing.ignore","typeLabel":"string[]"},"include_alpha":{"type":"boolean","description":"تضمين مزوّدي alpha في التوجيه (معطّل افتراضيًا).","uniqueKey":"oneOf.1.routing.include_alpha","typeLabel":"boolean"},"allow_fallbacks":{"oneOf":[{"type":"boolean","description":"السماح بالتحويل إلى مزوّد مؤهل آخر بعد الفشل.","uniqueKey":"oneOf.1.routing.allow_fallbacks.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"السماح بالتحويل إلى مزوّد مؤهل آخر بعد الفشل.","uniqueKey":"oneOf.1.routing.allow_fallbacks.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.routing.allow_fallbacks","typeLabel":"boolean | null"},"require_parameters":{"oneOf":[{"type":"boolean","description":"اشتراط دعم المزوّد للمعلمات المطلوبة قبل التوجيه.","uniqueKey":"oneOf.1.routing.require_parameters.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"اشتراط دعم المزوّد للمعلمات المطلوبة قبل التوجيه.","uniqueKey":"oneOf.1.routing.require_parameters.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.routing.require_parameters","typeLabel":"boolean | null"},"required_execution_region":{"oneOf":[{"type":"string","description":"قصر التوجيه على المزوّدين الذين لديهم منطقة التنفيذ المطلوبة.","uniqueKey":"oneOf.1.routing.required_execution_region.oneOf.0","typeLabel":"string"},{"type":"null","description":"قصر التوجيه على المزوّدين الذين لديهم منطقة التنفيذ المطلوبة.","uniqueKey":"oneOf.1.routing.required_execution_region.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.routing.required_execution_region","typeLabel":"string | null"},"required_data_region":{"oneOf":[{"type":"string","description":"قصر التوجيه على المزوّدين الذين لديهم منطقة البيانات المطلوبة.","uniqueKey":"oneOf.1.routing.required_data_region.oneOf.0","typeLabel":"string"},{"type":"null","description":"قصر التوجيه على المزوّدين الذين لديهم منطقة البيانات المطلوبة.","uniqueKey":"oneOf.1.routing.required_data_region.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.routing.required_data_region","typeLabel":"string | null"},"require_zero_data_retention":{"oneOf":[{"type":"boolean","description":"قصر التوجيه على المزوّدين الذين يدعمون الاحتفاظ بالبيانات لمدة صفرية.","uniqueKey":"oneOf.1.routing.require_zero_data_retention.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"قصر التوجيه على المزوّدين الذين يدعمون الاحتفاظ بالبيانات لمدة صفرية.","uniqueKey":"oneOf.1.routing.require_zero_data_retention.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.routing.require_zero_data_retention","typeLabel":"boolean | null"},"data_collection":{"oneOf":[{"type":"string","description":"القيمة `allow` (الافتراضية) لا تُصفّي شيئًا. القيمة `deny` غير مدعومة بعد وتعيد الخطأ 400 unsupported_routing_filter.","enum":["allow","deny"],"uniqueKey":"oneOf.1.routing.data_collection.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"القيمة `allow` (الافتراضية) لا تُصفّي شيئًا. القيمة `deny` غير مدعومة بعد وتعيد الخطأ 400 unsupported_routing_filter.","enum":["allow","deny"],"uniqueKey":"oneOf.1.routing.data_collection.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.routing.data_collection","typeLabel":"enum\u003cstring> | null"},"zdr":{"oneOf":[{"type":"boolean","uniqueKey":"oneOf.1.routing.zdr.oneOf.0","typeLabel":"boolean"},{"type":"null","uniqueKey":"oneOf.1.routing.zdr.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.routing.zdr","typeLabel":"boolean | null"},"enforce_distillable_text":{"oneOf":[{"type":"boolean","description":"القيمة `false` (الافتراضية) لا تُصفّي شيئًا. القيمة `true` غير مدعومة بعد وتعيد الخطأ 400 unsupported_routing_filter.","uniqueKey":"oneOf.1.routing.enforce_distillable_text.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"القيمة `false` (الافتراضية) لا تُصفّي شيئًا. القيمة `true` غير مدعومة بعد وتعيد الخطأ 400 unsupported_routing_filter.","uniqueKey":"oneOf.1.routing.enforce_distillable_text.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.routing.enforce_distillable_text","typeLabel":"boolean | null"},"quantizations":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"oneOf.1.routing.quantizations.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"oneOf.1.routing.quantizations.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"uniqueKey":"oneOf.1.routing.quantizations.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.routing.quantizations","typeLabel":"string[] | null"},"sort":{"oneOf":[{"type":"string","description":"رتّب المزوّدين لهذا الطلب، مثلاً حسب السعر أو زمن الاستجابة أو الإنتاجية.","uniqueKey":"oneOf.1.routing.sort.oneOf.0","typeLabel":"string"},{"type":"object","description":"رتّب المزوّدين لهذا الطلب، مثلاً حسب السعر أو زمن الاستجابة أو الإنتاجية.","additionalProperties":true,"uniqueKey":"oneOf.1.routing.sort.oneOf.1","typeLabel":"object"}],"uniqueKey":"oneOf.1.routing.sort","typeLabel":"string | object"},"max_price":{"type":"object","properties":{"prompt":{"oneOf":[{"type":"number","uniqueKey":"oneOf.1.routing.max_price.prompt.oneOf.0","typeLabel":"number"},{"type":"string","uniqueKey":"oneOf.1.routing.max_price.prompt.oneOf.1","typeLabel":"string"}],"uniqueKey":"oneOf.1.routing.max_price.prompt","typeLabel":"number | string"},"completion":{"oneOf":[{"type":"number","uniqueKey":"oneOf.1.routing.max_price.completion.oneOf.0","typeLabel":"number"},{"type":"string","uniqueKey":"oneOf.1.routing.max_price.completion.oneOf.1","typeLabel":"string"}],"uniqueKey":"oneOf.1.routing.max_price.completion","typeLabel":"number | string"},"image":{"oneOf":[{"type":"number","uniqueKey":"oneOf.1.routing.max_price.image.oneOf.0","typeLabel":"number"},{"type":"string","uniqueKey":"oneOf.1.routing.max_price.image.oneOf.1","typeLabel":"string"}],"uniqueKey":"oneOf.1.routing.max_price.image","typeLabel":"number | string"},"audio":{"oneOf":[{"type":"number","uniqueKey":"oneOf.1.routing.max_price.audio.oneOf.0","typeLabel":"number"},{"type":"string","uniqueKey":"oneOf.1.routing.max_price.audio.oneOf.1","typeLabel":"string"}],"uniqueKey":"oneOf.1.routing.max_price.audio","typeLabel":"number | string"},"request":{"oneOf":[{"type":"number","uniqueKey":"oneOf.1.routing.max_price.request.oneOf.0","typeLabel":"number"},{"type":"string","uniqueKey":"oneOf.1.routing.max_price.request.oneOf.1","typeLabel":"string"}],"uniqueKey":"oneOf.1.routing.max_price.request","typeLabel":"number | string"}},"uniqueKey":"oneOf.1.routing.max_price","typeLabel":"object"},"preferred_min_throughput":{"oneOf":[{"type":"number","uniqueKey":"oneOf.1.routing.preferred_min_throughput.oneOf.0","typeLabel":"number"},{"type":"object","additionalProperties":{"type":"number","uniqueKey":"oneOf.1.routing.preferred_min_throughput.oneOf.1.additionalProperties","typeLabel":"number"},"uniqueKey":"oneOf.1.routing.preferred_min_throughput.oneOf.1","typeLabel":"object"}],"uniqueKey":"oneOf.1.routing.preferred_min_throughput","typeLabel":"number | object"},"preferred_max_latency":{"oneOf":[{"type":"number","uniqueKey":"oneOf.1.routing.preferred_max_latency.oneOf.0","typeLabel":"number"},{"type":"object","additionalProperties":{"type":"number","uniqueKey":"oneOf.1.routing.preferred_max_latency.oneOf.1.additionalProperties","typeLabel":"number"},"uniqueKey":"oneOf.1.routing.preferred_max_latency.oneOf.1","typeLabel":"object"}],"uniqueKey":"oneOf.1.routing.preferred_max_latency","typeLabel":"number | object"}},"uniqueKey":"oneOf.1.routing","typeLabel":"object"},"metadata":{"type":"object","additionalProperties":true,"uniqueKey":"oneOf.1.metadata","typeLabel":"object"}},"uniqueKey":"oneOf.1","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"model":"\u003cstring>","input":"\u003cstring>","questions":[{"type":"predicate","instructions":"\u003cstring>","name":"\u003cstring>"}],"models":["anthropic/claude-sonnet-5-5","google/gemini-2.5-flash"],"provider_options":{"typesafe":{"long_context":true}},"safety_identifier":"\u003cstring>","meta":false,"echo_upstream_request":true,"debug":{"enabled":true,"return_upstream_request":true,"return_upstream_response":true,"trace":true},"provider":{"order":["\u003cstring>"],"only":["\u003cstring>"],"ignore":["\u003cstring>"],"include_alpha":true,"allow_fallbacks":true,"require_parameters":true,"required_execution_region":"\u003cstring>","required_data_region":"\u003cstring>","require_zero_data_retention":true,"zdr":true,"enforce_distillable_text":true,"quantizations":["\u003cstring>"],"sort":"\u003cstring>","max_price":{"prompt":123,"completion":123,"image":123,"audio":123,"request":123},"preferred_min_throughput":123,"preferred_max_latency":123},"routing":{"order":["\u003cstring>"],"only":["\u003cstring>"],"ignore":["\u003cstring>"],"include_alpha":true,"allow_fallbacks":true,"require_parameters":true,"required_execution_region":"\u003cstring>","required_data_region":"\u003cstring>","require_zero_data_retention":true,"zdr":true,"enforce_distillable_text":true,"quantizations":["\u003cstring>"],"sort":"\u003cstring>","max_price":{"prompt":123,"completion":123,"image":123,"audio":123,"request":123},"preferred_min_throughput":123,"preferred_max_latency":123},"metadata":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"f1d0ddb6-913b-4514-81d0-95b9ed65c831":{"description":"استجابة القرارات المنظّمة","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"إجابات مرتبة لـ input/المصفوفة؛ خريطة مسماة لـ state/الخريطة القديمة.","required":["model","answers","usage"],"properties":{"model":{"type":"string","isRequired":true,"uniqueKey":"oneOf.0.model","typeLabel":"string"},"answers":{"type":"array","description":"إجابة لكل سؤال بالترتيب، حتى دون أسماء أو بأسماء متكررة.","items":{"oneOf":[{"type":"object","required":["type","name","probability"],"properties":{"type":{"type":"string","enum":["predicate"],"isRequired":true,"uniqueKey":"oneOf.0.answers.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"name":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"oneOf.0.answers.items.[INDEX].oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.0.answers.items.[INDEX].oneOf.0.name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.answers.items.[INDEX].oneOf.0.name","typeLabel":"string | null"},"probability":{"type":"number","minimum":0,"maximum":1,"isRequired":true,"uniqueKey":"oneOf.0.answers.items.[INDEX].oneOf.0.probability","typeLabel":"number"}},"uniqueKey":"oneOf.0.answers.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","required":["type","name","choice","probabilities","confidence"],"properties":{"type":{"type":"string","enum":["choice"],"isRequired":true,"uniqueKey":"oneOf.0.answers.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"name":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"oneOf.0.answers.items.[INDEX].oneOf.1.name.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.0.answers.items.[INDEX].oneOf.1.name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.answers.items.[INDEX].oneOf.1.name","typeLabel":"string | null"},"choice":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"oneOf.0.answers.items.[INDEX].oneOf.1.choice.oneOf.0","typeLabel":"string"},{"type":"boolean","isRequired":true,"uniqueKey":"oneOf.0.answers.items.[INDEX].oneOf.1.choice.oneOf.1","typeLabel":"boolean"}],"isRequired":true,"uniqueKey":"oneOf.0.answers.items.[INDEX].oneOf.1.choice","typeLabel":"string | boolean"},"confidence":{"type":"number","minimum":0,"maximum":1,"isRequired":true,"uniqueKey":"oneOf.0.answers.items.[INDEX].oneOf.1.confidence","typeLabel":"number"},"probabilities":{"type":"array","items":{"type":"object","required":["value","probability"],"properties":{"value":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"oneOf.0.answers.items.[INDEX].oneOf.1.probabilities.items.[INDEX].value.oneOf.0","typeLabel":"string"},{"type":"boolean","isRequired":true,"uniqueKey":"oneOf.0.answers.items.[INDEX].oneOf.1.probabilities.items.[INDEX].value.oneOf.1","typeLabel":"boolean"}],"isRequired":true,"uniqueKey":"oneOf.0.answers.items.[INDEX].oneOf.1.probabilities.items.[INDEX].value","typeLabel":"string | boolean"},"probability":{"type":"number","minimum":0,"maximum":1,"isRequired":true,"uniqueKey":"oneOf.0.answers.items.[INDEX].oneOf.1.probabilities.items.[INDEX].probability","typeLabel":"number"}},"uniqueKey":"oneOf.0.answers.items.[INDEX].oneOf.1.probabilities.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"oneOf.0.answers.items.[INDEX].oneOf.1.probabilities","typeLabel":"object[]"}},"uniqueKey":"oneOf.0.answers.items.[INDEX].oneOf.1","typeLabel":"object"},{"type":"object","required":["type","name","score","probabilities","confidence"],"properties":{"type":{"type":"string","enum":["score"],"isRequired":true,"uniqueKey":"oneOf.0.answers.items.[INDEX].oneOf.2.type","typeLabel":"enum\u003cstring>"},"name":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"oneOf.0.answers.items.[INDEX].oneOf.2.name.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.0.answers.items.[INDEX].oneOf.2.name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.answers.items.[INDEX].oneOf.2.name","typeLabel":"string | null"},"score":{"type":"number","minimum":0,"isRequired":true,"uniqueKey":"oneOf.0.answers.items.[INDEX].oneOf.2.score","typeLabel":"number"},"confidence":{"type":"number","minimum":0,"maximum":1,"isRequired":true,"uniqueKey":"oneOf.0.answers.items.[INDEX].oneOf.2.confidence","typeLabel":"number"},"probabilities":{"type":"array","items":{"type":"object","required":["value","label","probability"],"properties":{"value":{"type":"integer","minimum":0,"isRequired":true,"uniqueKey":"oneOf.0.answers.items.[INDEX].oneOf.2.probabilities.items.[INDEX].value","typeLabel":"integer"},"label":{"type":"string","isRequired":true,"uniqueKey":"oneOf.0.answers.items.[INDEX].oneOf.2.probabilities.items.[INDEX].label","typeLabel":"string"},"probability":{"type":"number","minimum":0,"maximum":1,"isRequired":true,"uniqueKey":"oneOf.0.answers.items.[INDEX].oneOf.2.probabilities.items.[INDEX].probability","typeLabel":"number"}},"uniqueKey":"oneOf.0.answers.items.[INDEX].oneOf.2.probabilities.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"oneOf.0.answers.items.[INDEX].oneOf.2.probabilities","typeLabel":"object[]"}},"uniqueKey":"oneOf.0.answers.items.[INDEX].oneOf.2","typeLabel":"object"},{"type":"object","required":["type","name"],"properties":{"type":{"type":"string","enum":["refusal"],"isRequired":true,"uniqueKey":"oneOf.0.answers.items.[INDEX].oneOf.3.type","typeLabel":"enum\u003cstring>"},"name":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"oneOf.0.answers.items.[INDEX].oneOf.3.name.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.0.answers.items.[INDEX].oneOf.3.name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.answers.items.[INDEX].oneOf.3.name","typeLabel":"string | null"}},"uniqueKey":"oneOf.0.answers.items.[INDEX].oneOf.3","typeLabel":"object"},{"type":"object","required":["type","name","box","confidence"],"properties":{"type":{"type":"string","enum":["box"],"isRequired":true,"uniqueKey":"oneOf.0.answers.items.[INDEX].oneOf.4.type","typeLabel":"enum\u003cstring>"},"name":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"oneOf.0.answers.items.[INDEX].oneOf.4.name.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.0.answers.items.[INDEX].oneOf.4.name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.answers.items.[INDEX].oneOf.4.name","typeLabel":"string | null"},"box":{"type":"object","required":["top","bottom","left","right"],"description":"الحواف كنسب من أبعاد الصورة بدءًا من الزاوية العلوية اليسرى. يجب أن تكون top أقل من bottom وleft أقل من right.","properties":{"top":{"type":"number","minimum":0,"maximum":1,"isRequired":true,"uniqueKey":"oneOf.0.answers.items.[INDEX].oneOf.4.box.top","typeLabel":"number"},"bottom":{"type":"number","minimum":0,"maximum":1,"isRequired":true,"uniqueKey":"oneOf.0.answers.items.[INDEX].oneOf.4.box.bottom","typeLabel":"number"},"left":{"type":"number","minimum":0,"maximum":1,"isRequired":true,"uniqueKey":"oneOf.0.answers.items.[INDEX].oneOf.4.box.left","typeLabel":"number"},"right":{"type":"number","minimum":0,"maximum":1,"isRequired":true,"uniqueKey":"oneOf.0.answers.items.[INDEX].oneOf.4.box.right","typeLabel":"number"}},"isRequired":true,"uniqueKey":"oneOf.0.answers.items.[INDEX].oneOf.4.box","typeLabel":"object"},"confidence":{"oneOf":[{"type":"number","minimum":0,"maximum":1,"description":"الثقة في المربع، من 0 إلى 1، أو null عندما لا يقدّمها النموذج.","isRequired":true,"uniqueKey":"oneOf.0.answers.items.[INDEX].oneOf.4.confidence.oneOf.0","typeLabel":"number"},{"type":"null","minimum":0,"maximum":1,"description":"الثقة في المربع، من 0 إلى 1، أو null عندما لا يقدّمها النموذج.","isRequired":true,"uniqueKey":"oneOf.0.answers.items.[INDEX].oneOf.4.confidence.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.answers.items.[INDEX].oneOf.4.confidence","typeLabel":"number | null"}},"uniqueKey":"oneOf.0.answers.items.[INDEX].oneOf.4","typeLabel":"object"}],"uniqueKey":"oneOf.0.answers.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"oneOf.0.answers","typeLabel":"object[]"},"usage":{"type":"object","properties":{"input_tokens":{"type":"integer","minimum":0,"uniqueKey":"oneOf.0.usage.input_tokens","typeLabel":"integer"},"output_tokens":{"type":"integer","minimum":0,"uniqueKey":"oneOf.0.usage.output_tokens","typeLabel":"integer"},"total_tokens":{"type":"integer","minimum":0,"uniqueKey":"oneOf.0.usage.total_tokens","typeLabel":"integer"},"input_tokens_details":{"type":"object","properties":{"cached_tokens":{"type":"integer","minimum":0,"uniqueKey":"oneOf.0.usage.input_tokens_details.cached_tokens","typeLabel":"integer"},"cache_write_tokens":{"type":"integer","minimum":0,"uniqueKey":"oneOf.0.usage.input_tokens_details.cache_write_tokens","typeLabel":"integer"}},"uniqueKey":"oneOf.0.usage.input_tokens_details","typeLabel":"object"},"output_tokens_details":{"type":"object","properties":{"reasoning_tokens":{"type":"integer","minimum":0,"uniqueKey":"oneOf.0.usage.output_tokens_details.reasoning_tokens","typeLabel":"integer"}},"uniqueKey":"oneOf.0.usage.output_tokens_details","typeLabel":"object"}},"isRequired":true,"uniqueKey":"oneOf.0.usage","typeLabel":"object"},"request_id":{"oneOf":[{"type":"string","uniqueKey":"oneOf.0.request_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.0.request_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.request_id","typeLabel":"string | null"},"meta":{"type":"object","additionalProperties":true,"uniqueKey":"oneOf.0.meta","typeLabel":"object"}},"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","description":"إجابات مرتبة لـ input/المصفوفة؛ خريطة مسماة لـ state/الخريطة القديمة.","properties":{"model":{"type":"string","uniqueKey":"oneOf.1.model","typeLabel":"string"},"answers":{"type":"object","additionalProperties":true,"uniqueKey":"oneOf.1.answers","typeLabel":"object"},"usage":{"type":"object","properties":{"input_tokens":{"type":"integer","minimum":0,"uniqueKey":"oneOf.1.usage.input_tokens","typeLabel":"integer"},"output_tokens":{"type":"integer","minimum":0,"uniqueKey":"oneOf.1.usage.output_tokens","typeLabel":"integer"},"total_tokens":{"type":"integer","minimum":0,"uniqueKey":"oneOf.1.usage.total_tokens","typeLabel":"integer"},"input_tokens_details":{"type":"object","properties":{"cached_tokens":{"type":"integer","minimum":0,"uniqueKey":"oneOf.1.usage.input_tokens_details.cached_tokens","typeLabel":"integer"},"cache_write_tokens":{"type":"integer","minimum":0,"uniqueKey":"oneOf.1.usage.input_tokens_details.cache_write_tokens","typeLabel":"integer"}},"uniqueKey":"oneOf.1.usage.input_tokens_details","typeLabel":"object"},"output_tokens_details":{"type":"object","properties":{"reasoning_tokens":{"type":"integer","minimum":0,"uniqueKey":"oneOf.1.usage.output_tokens_details.reasoning_tokens","typeLabel":"integer"}},"uniqueKey":"oneOf.1.usage.output_tokens_details","typeLabel":"object"}},"uniqueKey":"oneOf.1.usage","typeLabel":"object"},"request_id":{"oneOf":[{"type":"string","uniqueKey":"oneOf.1.request_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.1.request_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.request_id","typeLabel":"string | null"},"meta":{"type":"object","additionalProperties":true,"uniqueKey":"oneOf.1.meta","typeLabel":"object"}},"uniqueKey":"oneOf.1","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"model":"\u003cstring>","answers":[{"type":"predicate","name":"\u003cstring>","probability":0.5}],"usage":{"input_tokens":1,"output_tokens":1,"total_tokens":1,"input_tokens_details":{"cached_tokens":1,"cache_write_tokens":1},"output_tokens_details":{"reasoning_tokens":1}},"request_id":"\u003cstring>","meta":{}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"d5b064ae-2a68-4456-8d74-f2f08ed2fa3c":{"BearerAuth":{"type":"http","scheme":"bearer","description":"المصادقة باستخدام رمز Bearer","scopes":[],"schemeName":"BearerAuth"}}},"servers":{"57ecfb22-c7f5-40da-b72b-95ac48de55ad":{"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/decisions","matchLevel":1},"es":{"href":"/es/v1/api-reference/endpoint/decisions","matchLevel":1},"fr":{"href":"/fr/v1/api-reference/endpoint/decisions","matchLevel":1},"de":{"href":"/de/v1/api-reference/endpoint/decisions","matchLevel":1},"pt-BR":{"href":"/pt-BR/v1/api-reference/endpoint/decisions","matchLevel":1},"ja":{"href":"/ja/v1/api-reference/endpoint/decisions","matchLevel":1},"zh-Hans":{"href":"/zh-Hans/v1/api-reference/endpoint/decisions","matchLevel":1},"hi":{"href":"/hi/v1/api-reference/endpoint/decisions","matchLevel":1},"ar":{"href":"/ar/v1/api-reference/endpoint/decisions","matchLevel":0}}},"lastModified":"2026-11-05T13:40:01.073Z","gitLastModified":"2026-11-05T13:38:10.000Z","originalFileLocation":"ar/v1/api-reference/endpoint/decisions.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/decisions\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://aistats.mintlify.site/docs/_mintlify/api/og/v2?division=%D8%A7%D9%84%D9%82%D8%B1%D8%A7%D8%B1%D8%A7%D8%AA\u0026amp;title=%D8%A7%D8%AA%D8%AE%D8%A7%D8%B0+%D9%82%D8%B1%D8%A7%D8%B1\u0026amp;description=%D9%82%D9%8A%D9%91%D9%85+%D8%A3%D8%B3%D8%A6%D9%84%D8%A9+%D8%B0%D8%A7%D8%AA+%D8%A3%D9%86%D9%88%D8%A7%D8%B9+%D9%85%D8%AD%D8%AF%D8%AF%D8%A9+%D9%85%D9%82%D8%A7%D8%A8%D9%84+%D8%AD%D8%A7%D9%84%D8%A9+%D8%A7%D9%84%D8%AA%D8%B7%D8%A8%D9%8A%D9%82+%D8%A8%D8%A7%D8%B3%D8%AA%D8%AE%D8%AF%D8%A7%D9%85+%D9%86%D9%85%D8%A7%D8%B0%D8%AC+%D8%A7%D9%84%D9%82%D8%B1%D8%A7%D8%B1+%D8%A7%D9%84%D9%85%D8%AF%D8%B9%D9%88%D9%85%D8%A9.\u0026amp;theme=8f1a8a6f41ec087882173e2f\u0026amp;signature=887e898709e7ef79b3ce4c094c07f06835147b24a33db16bf5f32ff62e61ebee\">\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.site/docs/_mintlify/api/og/v2?division=%D8%A7%D9%84%D9%82%D8%B1%D8%A7%D8%B1%D8%A7%D8%AA\u0026amp;title=%D8%A7%D8%AA%D8%AE%D8%A7%D8%B0+%D9%82%D8%B1%D8%A7%D8%B1\u0026amp;description=%D9%82%D9%8A%D9%91%D9%85+%D8%A3%D8%B3%D8%A6%D9%84%D8%A9+%D8%B0%D8%A7%D8%AA+%D8%A3%D9%86%D9%88%D8%A7%D8%B9+%D9%85%D8%AD%D8%AF%D8%AF%D8%A9+%D9%85%D9%82%D8%A7%D8%A8%D9%84+%D8%AD%D8%A7%D9%84%D8%A9+%D8%A7%D9%84%D8%AA%D8%B7%D8%A8%D9%8A%D9%82+%D8%A8%D8%A7%D8%B3%D8%AA%D8%AE%D8%AF%D8%A7%D9%85+%D9%86%D9%85%D8%A7%D8%B0%D8%AC+%D8%A7%D9%84%D9%82%D8%B1%D8%A7%D8%B1+%D8%A7%D9%84%D9%85%D8%AF%D8%B9%D9%88%D9%85%D8%A9.\u0026amp;theme=8f1a8a6f41ec087882173e2f\u0026amp;signature=887e898709e7ef79b3ce4c094c07f06835147b24a33db16bf5f32ff62e61ebee\">\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/decisions\">\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/decisions.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ar\" href=\"https://phaseo.app/docs/ar/v1/api-reference/endpoint/decisions\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://phaseo.app/docs/v1/api-reference/endpoint/decisions\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"es\" href=\"https://phaseo.app/docs/es/v1/api-reference/endpoint/decisions\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"fr\" href=\"https://phaseo.app/docs/fr/v1/api-reference/endpoint/decisions\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"de\" href=\"https://phaseo.app/docs/de/v1/api-reference/endpoint/decisions\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"pt-BR\" href=\"https://phaseo.app/docs/pt-BR/v1/api-reference/endpoint/decisions\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ja\" href=\"https://phaseo.app/docs/ja/v1/api-reference/endpoint/decisions\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh-Hans\" href=\"https://phaseo.app/docs/zh-Hans/v1/api-reference/endpoint/decisions\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"hi\" href=\"https://phaseo.app/docs/hi/v1/api-reference/endpoint/decisions\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://phaseo.app/docs/v1/api-reference/endpoint/decisions\">\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/decisions#webpage\",\"url\":\"https://phaseo.app/docs/ar/v1/api-reference/endpoint/decisions\",\"name\":\"اتخاذ قرار\",\"description\":\"قيّم أسئلة ذات أنواع محددة مقابل حالة التطبيق باستخدام نماذج القرار المدعومة.\",\"dateModified\":\"2026-11-05T13:38:10.000Z\",\"isPartOf\":{\"@id\":\"https://phaseo.app/docs#website\"},\"breadcrumb\":{\"@id\":\"https://phaseo.app/docs/ar/v1/api-reference/endpoint/decisions#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://phaseo.app/docs/ar/v1/api-reference/endpoint/decisions#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Phaseo Docs\",\"item\":\"https://phaseo.app/docs\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"اتخاذ قرار\",\"item\":\"https://phaseo.app/docs/ar/v1/api-reference/endpoint/decisions\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://phaseo.app/docs/ar/v1/api-reference/endpoint/decisions#apireference\",\"headline\":\"اتخاذ قرار\",\"name\":\"اتخاذ قرار\",\"description\":\"قيّم أسئلة ذات أنواع محددة مقابل حالة التطبيق باستخدام نماذج القرار المدعومة.\",\"url\":\"https://phaseo.app/docs/ar/v1/api-reference/endpoint/decisions\",\"mainEntityOfPage\":{\"@id\":\"https://phaseo.app/docs/ar/v1/api-reference/endpoint/decisions#webpage\"},\"dateModified\":\"2026-11-05T13:38:10.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\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Phaseo Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/ar/v1/api-reference/endpoint/decisions.md","siteName":"Phaseo Docs","nav":{"global":null,"languages":[{"language":"en","pages":[{"title":"en","href":"/v1/api-reference/endpoint/decisions"}]},{"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/decisions"}]},{"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/decisions"}]},{"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/decisions"}]},{"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/decisions"}]},{"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/decisions"}]},{"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/decisions"}]},{"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/decisions"}]},{"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","description":"ينشئ التضمينات باستخدام نقطة نهاية التضمينات في Phaseo.","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":"تجريبي","description":"استخرج قيمًا ذات أنواع محددة من النصوص والصور.","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}","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}","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":"حزم Phaseo SDK","icon":"code","pages":[{"title":"حزم Phaseo SDK","href":"/ar/v1/sdk-reference/client/overview"}]}],"pages":[{"title":"SDK العميل","href":"/ar/v1/sdk-reference/sdk/ai-sdk"}]},{"tab":"حزمة SDK للوكلاء","icon":"bot","pages":[{"title":"حزمة SDK للوكلاء","href":"/ar/v1/sdk-reference/agent/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_2AK98Hxhwu4fUXpx9atbv41cC328","deploymentId":"dpl_2AK98Hxhwu4fUXpx9atbv41cC328","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-EBSrFTg1.js","utils-Y_7TcRh4.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-D1wvvkPH.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-aT0ty6oN.js","snippetPresets-DoNRuyJc.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","Page-DCFaZE46.js","ApiExamples-CXRajFpn.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BAyOsINj.js","shallow-CIcHqV1v.js","getApiPlaygroundDisplay-C5igZwEf.js","CodeSnippet-BFWnQLNh.js","CodeSnippets-Cx2mFgZW.js","getPastedJson-BOy09PZp.js","icon-BwmYtB6R.js","MethodPill-DAIhq-iu.js","DuplicateIcon-DFM8Q3ph.js","createIcon-0UdvzB4Z.js","DynamicMarkdown-DYYZTGpa.js","SectionHeading-BFCDRUuH.js","axios-vUo_bRtp.js","Markdown-C6TcKjiR.js","clsx-Y_UC780V.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-PCbBHBTv.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-D4q_oRML.js"]}