Envoyez une charge utile de l’API Anthropic Messages à /v1/messages et recevez une réponse au format Anthropic, pour n’importe quel modèle routé par Phaseo. Les champs d’utilisation d’outils d’Anthropic sont pris en charge, et l’en-tête X-Phaseo-Strictness détermine le traitement des paramètres non pris en charge.Définissez stream: true pour recevoir des server-sent events au format Anthropic (message_start, content_block_*, message_delta, message_stop). Le streaming fonctionne aussi dans les boucles d’outils.
Messages système en cours de conversation
Ajoutez un message role: "system" dans messages pour une instruction qui s’applique à partir de ce point de la conversation. Le champ system de niveau supérieur ne change pas, donc un préfixe mis en cache est toujours réutilisé.
curl https://api.phaseo.app/v1/messages \ -H "Authorization: Bearer $PHASEO_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "anthropic/claude-opus-5.5", "max_tokens": 512, "system": "You are a code review assistant.", "messages": [ { "role": "user", "content": "Review process() in utils.py." }, { "role": "assistant", "content": "The loop is fine; the regex is compiled on every call." }, { "role": "user", "content": "Now review the code that calls it." }, { "role": "system", "content": "From now on, include type annotations in every suggestion." } ] }'
Un message système accepte une chaîne ou des blocs de texte. Il doit suivre directement un tour utilisateur (ou un tour assistant qui se termine par un résultat d’outil serveur) et être le dernier message ou être suivi d’un tour assistant. Toute autre position renvoie un 400. clear_at, output_config et les blocs tool_addition ou tool_removal ne sont pas pris en charge.
Modèle
Comment il reçoit le message système
Claude Fable 5 et 5.1, Mythos 5 et 5.1, Opus 4.8, Opus 5 et 5.5, Sonnet 5.5, Haiku 5.5
À sa place dans la conversation
Les autres modèles Claude, dont Sonnet 5, et tous les modèles Claude sur Microsoft Foundry
Fusionné dans le prompt système de niveau supérieur
Les modèles des autres fournisseurs
Comme message système, de la même façon qu’un message envoyé à Chat Completions
Utiliser les outils serveur
Ajoutez un outil phaseo: dans tools : Phaseo l’exécute lorsque le modèle l’appelle, le réécrit au format d’outil d’Anthropic pour le fournisseur et poursuit la boucle d’outils côté serveur. /v1/messages accepte tous les outils serveur sauf phaseo:apply_patch ; le guide Outils serveur les liste.
Les appels d’outils serveur sont comptés dans usage.server_tool_use. L’ancien type gateway:datetime fonctionne toujours. Avec stream: true, Phaseo exécute lui-même les tours d’outils, puis vous transmet la suite de la réponse en un seul flux.
Utiliser la recherche web native d’Anthropic
Lorsque le modèle et le fournisseur Anthropic routés prennent en charge la recherche web native, transmettez directement la définition d’outil d’Anthropic, par exemple type: "web_search_20250305". Le routage des fournisseurs filtre toujours sur la prise en charge de web_search_options avant l’exécution.
Un champ facultatif de premier niveau envoyé avec la valeur null est traité comme non défini, comme s’il était omis.
model
string
requis
messages
object[]
requis
Minimum array length: 1
Option 1
Option 2
Show child attributes
max_tokens
integer
requis
Plage requise: x >= 1
models
string[]
Modèles de repli facultatifs et ordonnés, essayés après model. model est obligatoire et reste toujours le modèle principal. Lorsqu'une tentative échoue avec 429, 500, 502, 503 ou 504, l'entrée suivante est essayée ; les autres erreurs sont renvoyées telles quelles. Accepte jusqu'à 25 identifiants de modèle ou préréglages ; les doublons et les entrées identiques à model sont ignorés. Chaque tentative est validée, journalisée et facturée comme une requête distincte, et le champ model de la réponse ainsi que la trace de routage indiquent le modèle qui a servi la requête. Les requêtes en streaming ne basculent qu'avant le premier octet, et les tâches vidéo et musique uniquement lors de leur soumission. Les requêtes batch, realtime et council rejettent models. Les replis définis sur une route dynamique sont prioritaires, et phaseo/auto ne peut pas être combiné avec models.
Remplit le modèle de prompt enregistré sur un preset. Omettez model ou indiquez la même référence, et envoyez une conversation vide ou les tours à ajouter après le modèle.
Show child attributes
system
stringobject[]
service_tier
enum<string>
Sélectionne un niveau de routage ou de tarification pris en charge sur les API de texte compatibles.
Options disponibles:
standard,
default,
fast,
ultrafast,
priority,
flex,
batch,
auto,
standard_only
temperature
number
Plage requise: 0 <= x <= 1
top_p
number
Plage requise: 0 <= x <= 1
top_k
integer
Plage requise: x >= 1
tools
object[]
Outils compatibles avec Anthropic, ainsi que des outils serveur gérés par la passerelle.
Option 1
Option 2
Option 3
Option 4
Option 5
Option 6
Option 7
Show child attributes
tool_choice
objectstring
Objet ou chaîne de choix d’outil Anthropic. Les noms des outils serveur gérés par la passerelle sont également acceptés et réécrits par celle-ci.
plugins
object[]
Plugins de la passerelle pour cette requête. web ajoute la recherche web et web-fetch la lecture de pages à n'importe quel modèle ; response-healing répare le JSON mal formé des réponses structurées non diffusées en streaming. Les valeurs par défaut de l'espace de travail et du préréglage sont fusionnées avec cette liste. Un identifiant de plugin inconnu renvoie 400 unknown_gateway_plugin.
Ajoute l'outil serveur phaseo:web_search à la requête, pour que n'importe quel modèle puisse chercher sur le web. La requête s'exécute, et les recherches sont comptées et facturées, exactement comme avec un outil phaseo:web_search. Si la requête contient déjà un outil de recherche web, le plugin n'ajoute rien. Les autres options sont ignorées.
Option 1
Option 2
Option 3
Show child attributes
stream
boolean
metadata
object
session_id
string
Identifiant unique permettant de regrouper des requêtes liées (par exemple, une conversation ou un flux de travail d’agent) à des fins d’observabilité.
Maximum string length: 256
reasoning
object
Show child attributes
context_management
object
Édition du contexte d’Anthropic. edits accepte les stratégies clear_tool_uses_* et clear_thinking_* et est envoyé à Anthropic avec son en-tête bêta. Les autres fournisseurs exécutent la requête sans ce champ et indiquent context_management dans X-Phaseo-Dropped-Params. Les modifications de compactage (compact_*) renvoient 400.
Show child attributes
user
string
Identifiant de l’utilisateur final, comme dans Chat Completions. Les modèles Claude le reçoivent sous la forme metadata.user_id, sauf si metadata.user_id est défini.
prompt_cache_key
string | null
Regroupe les requêtes liées afin qu’elles restent chez le fournisseur qui détient leur cache de prompts. Phaseo envoie au fournisseur un hachage de votre espace de travail et de cette clé, jamais la clé brute.
stop_sequences
string[]
cache_control
object
Contrôle du cache de prompts. Utilisez type ephemeral avec un ttl facultatif de 5m ou 1h. scope ne s’applique qu’à une politique de cache Claude de premier niveau. Amazon Bedrock et Google Vertex AI ne mettent en cache Claude 3.7 Sonnet, 3.5 Sonnet et 3 Opus que pendant 5 minutes ; le ttl y est retiré, et un 1h retiré est signalé dans X-Phaseo-Dropped-Params sous la forme cache_control.ttl.
Show child attributes
provider_options
object
Options propres au fournisseur, facultatives.
Show child attributes
usage
boolean
meta
boolean
echo_upstream_request
boolean
debug
object
Options de débogage de la passerelle. Ces indicateurs ne sont jamais transmis au fournisseur.
Show child attributes
provider
object
Préférences de routage des fournisseurs pour la sélection par la passerelle.
Show child attributes
Réponse
Réponse du message
id
string
type
string
role
enum<string>
Options disponibles:
assistant
model
string
content
object[]
Show child attributes
stop_reason
string
stop_sequence
string
usage
object
Show child attributes
context_management
object
Présent lorsque la requête utilisait context_management et qu’Anthropic a appliqué une modification. applied_edits liste chaque modification avec ce qu’elle a effacé. En streaming, il figure dans l’événement message_delta final.
{"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":"6afba12700b864e4c945ccb7","clientVersion":"0.0.4160","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":144},{"language":"ja","tag":"ドキュメント","count":144},{"language":"zh-Hans","tag":"文档","count":144},{"language":"ar","tag":"الوثائق","count":142},{"language":"de","tag":"Docs","count":142},{"language":"es","tag":"Docs","count":142},{"language":"fr","tag":"Docs","count":142},{"language":"pt-BR","tag":"Docs","count":142},{"language":"en","tag":"Docs","count":142},{"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":37},{"language":"de","tag":"Funktionen","count":37},{"language":"es","tag":"Funciones","count":37},{"language":"fr","tag":"Fonctionnalités","count":37},{"language":"hi","tag":"सुविधाएँ","count":37},{"language":"ja","tag":"機能","count":37},{"language":"pt-BR","tag":"Recursos","count":37},{"language":"en","tag":"Features","count":37},{"language":"zh-Hans","tag":"功能","count":37},{"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":"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},{"name":"llms-txt-v2","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,.ph-ec){--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,.ph-ec){--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,.ph-ec) button,:is(.ph-se,.ph-pm,.ph-fc,.ph-sap,.ph-ec) 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,.ph-ec) button:hover:not(:disabled){color:var(--x-ink);background:var(--x-raised)}:is(.ph-se,.ph-pm,.ph-fc,.ph-sap,.ph-ec) button:disabled,.ph-fc select:disabled{opacity:0.45;cursor:default}:is(.ph-se,.ph-pm,.ph-fc,.ph-sap,.ph-ec) 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}}.ph-ec-caption{color:var(--x-ink-2);margin:0 0 0.6rem}.ph-ec-turns{display:grid;grid-template-columns:repeat(5, minmax(0, 1fr));gap:0.4rem}.ph-ec-turn{display:flex;flex-direction:column;gap:0.3rem;padding:0.4rem;border:1px solid var(--x-ring);border-radius:0.375rem;background:var(--x-surface)}.ph-ec-turn.ph-ec-on{border-color:var(--x-accent);background:var(--x-accent-soft)}.ph-ec .ph-ec-turn button{border:0;padding:0.15rem 0.2rem;text-align:start;font-weight:600;color:var(--x-ink)}.ph-ec .ph-ec-turn select{width:100%;padding:0.2rem 0.4rem;direction:ltr}.ph-ec-keep{display:inline-flex;align-items:center;gap:0.45rem;margin:0.7rem 0;color:var(--x-ink-2);cursor:pointer}.ph-ec-keep input{accent-color:var(--x-accent)}.ph-ec-panel{border:1px solid var(--x-ring);border-radius:0.375rem;background:var(--x-surface);overflow:hidden}.ph-ec-head{display:flex;flex-wrap:wrap;justify-content:space-between;gap:0.3rem 1rem;padding:0.45rem 0.75rem;color:var(--x-muted);font-size:0.75rem;border-bottom:1px solid var(--x-grid)}.ph-ec-head code{direction:ltr;unicode-bidi:isolate;color:var(--x-ink)}.ph-ec-items{list-style:none;margin:0;padding:0.4rem 0}.ph-ec-item{display:flex;align-items:center;justify-content:space-between;gap:0.75rem;margin:0;padding:0.3rem 0.75rem;border-inline-start:3px solid transparent}.ph-ec-label{display:flex;flex-wrap:wrap;align-items:center;gap:0.2rem 0.6rem;min-width:0}.ph-ec-label code{direction:ltr;unicode-bidi:isolate;overflow-wrap:anywhere}.ph-ec-status{flex:none;font-size:0.72rem;color:var(--x-ink-2)}.ph-ec-cached{background:var(--x-ok-soft);border-inline-start-color:var(--x-ok)}.ph-ec-again{background:var(--x-warn-soft);border-inline-start-color:var(--x-warn)}.ph-ec-fresh{border-inline-start-color:var(--x-muted)}.ph-ec-marker .ph-ec-label{color:var(--x-accent);font-weight:600}.ph-ec-verdict{margin:0 0.75rem 0.75rem;padding:0.5rem 0.65rem;border-radius:0.375rem;line-height:1.45;background:var(--x-ok-soft)}.ph-ec-verdict-first{background:var(--x-raised)}.ph-ec-verdict-topLevel{background:var(--x-warn-soft)}.ph-ec-note{margin:0.5rem 0 0;color:var(--x-muted);font-size:0.75rem}@media (max-width: 720px){.ph-ec-turns{grid-template-columns:repeat(3, minmax(0, 1fr))}}"}],"page":{"pagePath":"fr/v1/api-reference/endpoint/anthropic-messages","slug":"/fr/v1/api-reference/endpoint/anthropic-messages","pageMetadata":{"title":"Créer un message","sidebarTitle":"Créer un message (Anthropic)","openapi":"fr/openapi/v1/openapi.localized.yaml POST /messages","description":"Endpoint Messages compatible Anthropic, à l’adresse /v1/messages.","href":"/fr/v1/api-reference/endpoint/anthropic-messages"},"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: \"Endpoint Messages compatible Anthropic, à l’adresse /v1/messages.\"\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`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Envoyez une charge utile de l’API Anthropic Messages à `,_jsx(_components.code,{children:`/v1/messages`}),` et recevez une réponse au format Anthropic, pour n’importe quel modèle routé par Phaseo. Les champs d’utilisation d’outils d’Anthropic sont pris en charge, et l’en-tête `,_jsx(_components.code,{children:`X-Phaseo-Strictness`}),` détermine le traitement des paramètres non pris en charge.`]}),`\n`,_jsxs(_components.p,{children:[`Définissez `,_jsx(_components.code,{children:`stream: true`}),` pour recevoir des server-sent events au format Anthropic (`,_jsx(_components.code,{children:`message_start`}),`, `,_jsx(_components.code,{children:`content_block_*`}),`, `,_jsx(_components.code,{children:`message_delta`}),`, `,_jsx(_components.code,{children:`message_stop`}),`). Le streaming fonctionne aussi dans les boucles d’outils.`]}),`\n`,_jsx(Heading,{level:`2`,id:`messages-système-en-cours-de-conversation`,children:`Messages système en cours de conversation`}),`\n`,_jsxs(_components.p,{children:[`Ajoutez un message `,_jsx(_components.code,{children:`role: \"system\"`}),` dans `,_jsx(_components.code,{children:`messages`}),` pour une instruction qui s’applique à partir de ce point de la conversation. Le champ `,_jsx(_components.code,{children:`system`}),` de niveau supérieur ne change pas, donc un préfixe mis en cache est toujours réutilisé.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`14`,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:`14`,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/messages`}),_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\": \"anthropic/claude-opus-5.5\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"max_tokens\": 512,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"system\": \"You are a code review assistant.\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"messages\": [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` { \"role\": \"user\", \"content\": \"Review process() in utils.py.\" },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` { \"role\": \"assistant\", \"content\": \"The loop is fine; the regex is compiled on every call.\" },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` { \"role\": \"user\", \"content\": \"Now review the code that calls it.\" },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` { \"role\": \"system\", \"content\": \"From now on, include type annotations in every suggestion.\" }`})}),`\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`]})})}),`\n`,_jsxs(_components.p,{children:[`Un message système accepte une chaîne ou des blocs de texte. Il doit suivre directement un tour utilisateur (ou un tour assistant qui se termine par un résultat d’outil serveur) et être le dernier message ou être suivi d’un tour assistant. Toute autre position renvoie un `,_jsx(_components.code,{children:`400`}),`. `,_jsx(_components.code,{children:`clear_at`}),`, `,_jsx(_components.code,{children:`output_config`}),` et les blocs `,_jsx(_components.code,{children:`tool_addition`}),` ou `,_jsx(_components.code,{children:`tool_removal`}),` ne sont pas pris en charge.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Modèle`}),_jsx(_components.th,{children:`Comment il reçoit le message système`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Claude Fable 5 et 5.1, Mythos 5 et 5.1, Opus 4.8, Opus 5 et 5.5, Sonnet 5.5, Haiku 5.5`}),_jsx(_components.td,{children:`À sa place dans la conversation`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Les autres modèles Claude, dont Sonnet 5, et tous les modèles Claude sur Microsoft Foundry`}),_jsx(_components.td,{children:`Fusionné dans le prompt système de niveau supérieur`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Les modèles des autres fournisseurs`}),_jsx(_components.td,{children:`Comme message système, de la même façon qu’un message envoyé à Chat Completions`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`utiliser-les-outils-serveur`,children:`Utiliser les outils serveur`}),`\n`,_jsxs(_components.p,{children:[`Ajoutez un outil `,_jsx(_components.code,{children:`phaseo:`}),` dans `,_jsx(_components.code,{children:`tools`}),` : Phaseo l’exécute lorsque le modèle l’appelle, le réécrit au format d’outil d’Anthropic pour le fournisseur et poursuit la boucle d’outils côté serveur. `,_jsx(_components.code,{children:`/v1/messages`}),` accepte tous les outils serveur sauf `,_jsx(_components.code,{children:`phaseo:apply_patch`}),` ; le guide `,_jsx(_components.a,{href:`/fr/v1/guides/server-tools`,children:`Outils serveur`}),` les liste.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`14`,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:`14`,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/messages`}),_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\": \"anthropic/claude-sonnet-5.5\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"max_tokens\": 512,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"messages\": [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` { \"role\": \"user\", \"content\": \"What time is it in America/New_York right now?\" }`})}),`\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:` \"tools\": [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` { \"type\": \"phaseo:datetime\", \"parameters\": { \"timezones\": [\"America/New_York\"] } }`})}),`\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:` \"tool_choice\": { \"type\": \"auto\" }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Les appels d’outils serveur sont comptés dans `,_jsx(_components.code,{children:`usage.server_tool_use`}),`. L’ancien type `,_jsx(_components.code,{children:`gateway:datetime`}),` fonctionne toujours. Avec `,_jsx(_components.code,{children:`stream: true`}),`, Phaseo exécute lui-même les tours d’outils, puis vous transmet la suite de la réponse en un seul flux.`]}),`\n`,_jsx(Heading,{level:`2`,id:`utiliser-la-recherche-web-native-d’anthropic`,children:`Utiliser la recherche web native d’Anthropic`}),`\n`,_jsxs(_components.p,{children:[`Lorsque le modèle et le fournisseur Anthropic routés prennent en charge la recherche web native, transmettez directement la définition d’outil d’Anthropic, par exemple `,_jsx(_components.code,{children:`type: \"web_search_20250305\"`}),`. Le routage des fournisseurs filtre toujours sur la prise en charge de `,_jsx(_components.code,{children:`web_search_options`}),` avant l’exécution.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`19`,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:`19`,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/messages`}),_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\": \"anthropic/claude-sonnet-5.5\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"max_tokens\": 512,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"messages\": [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` { \"role\": \"user\", \"content\": \"Find the latest Anthropic web search guidance.\" }`})}),`\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:` \"tools\": [`})}),`\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\": \"web_search_20250305\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"name\": \"web_search\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"max_uses\": 3,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"allowed_domains\": [\"docs.anthropic.com\"]`})}),`\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:` \"tool_choice\": { \"type\": \"auto\" }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})})]})}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":"Créer un message","sidebarTitle":"Créer un message (Anthropic)","openapi":"fr/openapi/v1/openapi.localized.yaml POST /messages","description":"Endpoint Messages compatible Anthropic, à l’adresse /v1/messages.","href":"/fr/v1/api-reference/endpoint/anthropic-messages"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Messages système en cours de conversation","slug":"messages-système-en-cours-de-conversation","depth":2,"children":[]},{"title":"Utiliser les outils serveur","slug":"utiliser-les-outils-serveur","depth":2,"children":[]},{"title":"Utiliser la recherche web native d’Anthropic","slug":"utiliser-la-recherche-web-native-d’anthropic","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"servers":["d91d620a-489c-444e-a73f-e95d69298a96","cb0052fd-6a7c-4c4c-956e-324ff64b45a7","3da49998-2a59-4d4a-aed6-7a531279275a"],"tags":["Gateway"],"operationId":"createAnthropicMessage","summary":"Créer un message","description":"Endpoint Messages compatible Anthropic, à l’adresse /v1/messages.","requestBody":"560e450b-3fbf-4f2d-a342-63e536afc929","responses":{"200":"d20b99c8-74a6-4fc2-85fc-b2b0b0b0ef44"},"method":"post","type":"path","security":["3af70b6f-61f1-4835-8f51-4fabf4ff0de0"],"path":"/messages","baseUrlOptions":["https://api.phaseo.app/v1","https://eu.api.phaseo.app/v1","https://us.api.phaseo.app/v1"],"title":"Créer un message","codeSamples":[],"requestExampleLanguages":["javascript","python","bash","go","java","php","ruby"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated","prefillPlaygroundWithExample":true,"prefillPlaygroundExamples":[{"body.model":"anthropic/claude-sonnet-4","body.messages.items.0.oneOf.0.role":"user","body.messages.items.0.oneOf.0.content.oneOf.0":"What time is it in America/New_York right now?","body.max_tokens":512,"body.tools.items.0.oneOf.1.type":"gateway:datetime","body.tools.items.0.oneOf.1.parameters.timezone":"America/New_York","body.tool_choice.oneOf.0":{"type":"auto"},"body.stream":false}]},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Un champ facultatif de premier niveau envoyé avec la valeur `null` est traité comme non défini, comme s’il était omis.","required":["model","messages","max_tokens"],"properties":{"model":{"type":"string","isRequired":true,"uniqueKey":"model","typeLabel":"string"},"messages":{"type":"array","minItems":1,"items":{"oneOf":[{"type":"object","required":["role","content"],"properties":{"role":{"type":"string","enum":["user","assistant"],"isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.0.role","typeLabel":"enum\u003cstring>"},"content":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.0.content.oneOf.0","typeLabel":"string"},{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["text","image","tool_use","tool_result"],"uniqueKey":"messages.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","uniqueKey":"messages.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].text","typeLabel":"string"},"cache_control":{"type":"object","description":"Contrôle du cache de prompts. Utilisez type ephemeral avec un ttl facultatif de 5m ou 1h. scope ne s’applique qu’à une politique de cache Claude de premier niveau. Amazon Bedrock et Google Vertex AI ne mettent en cache Claude 3.7 Sonnet, 3.5 Sonnet et 3 Opus que pendant 5 minutes ; le ttl y est retiré, et un 1h retiré est signalé dans X-Phaseo-Dropped-Params sous la forme cache_control.ttl.","properties":{"type":{"type":"string","uniqueKey":"messages.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].cache_control.type","typeLabel":"string"},"ttl":{"type":"string","uniqueKey":"messages.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].cache_control.ttl","typeLabel":"string"},"scope":{"type":"string","uniqueKey":"messages.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].cache_control.scope","typeLabel":"string"}},"additionalProperties":true,"uniqueKey":"messages.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].cache_control","typeLabel":"object"},"source":{"type":"object","properties":{"type":{"type":"string","uniqueKey":"messages.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].source.type","typeLabel":"string"},"media_type":{"type":"string","uniqueKey":"messages.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].source.media_type","typeLabel":"string"},"data":{"type":"string","uniqueKey":"messages.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].source.data","typeLabel":"string"},"url":{"type":"string","uniqueKey":"messages.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].source.url","typeLabel":"string"}},"uniqueKey":"messages.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].source","typeLabel":"object"},"id":{"type":"string","uniqueKey":"messages.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].id","typeLabel":"string"},"name":{"type":"string","uniqueKey":"messages.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].name","typeLabel":"string"},"input":{"type":"object","uniqueKey":"messages.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].input","typeLabel":"object"},"tool_use_id":{"type":"string","uniqueKey":"messages.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].tool_use_id","typeLabel":"string"},"content":{"type":"string","uniqueKey":"messages.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].content","typeLabel":"string"}},"uniqueKey":"messages.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.0.content.oneOf.1","typeLabel":"object[]"}],"isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.0.content","typeLabel":"string | object[]"}},"uniqueKey":"messages.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","required":["role","content"],"properties":{"role":{"type":"string","description":"Utilisez `system` pour une instruction qui s’applique à partir de ce point de la conversation. Un message système accepte une chaîne ou des blocs de texte, doit suivre directement un tour utilisateur (ou un tour de l’assistant qui se termine par un résultat d’outil serveur) et doit être le dernier message ou être suivi d’un tour de l’assistant. Un message système qui ne contient qu’un effort, avec un `content` vide et `output_config`, peut se trouver n’importe où.","enum":["system"],"isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.1.role","typeLabel":"enum\u003cstring>"},"content":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.1.content.oneOf.0","typeLabel":"string"},{"type":"array","items":{"type":"object","required":["type","text"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.1.content.oneOf.1.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.1.content.oneOf.1.items.[INDEX].text","typeLabel":"string"},"cache_control":{"type":"object","description":"Contrôle du cache de prompts. Utilisez type ephemeral avec un ttl facultatif de 5m ou 1h. scope ne s’applique qu’à une politique de cache Claude de premier niveau. Amazon Bedrock et Google Vertex AI ne mettent en cache Claude 3.7 Sonnet, 3.5 Sonnet et 3 Opus que pendant 5 minutes ; le ttl y est retiré, et un 1h retiré est signalé dans X-Phaseo-Dropped-Params sous la forme cache_control.ttl.","properties":{"type":{"type":"string","uniqueKey":"messages.items.[INDEX].oneOf.1.content.oneOf.1.items.[INDEX].cache_control.type","typeLabel":"string"},"ttl":{"type":"string","uniqueKey":"messages.items.[INDEX].oneOf.1.content.oneOf.1.items.[INDEX].cache_control.ttl","typeLabel":"string"},"scope":{"type":"string","uniqueKey":"messages.items.[INDEX].oneOf.1.content.oneOf.1.items.[INDEX].cache_control.scope","typeLabel":"string"}},"additionalProperties":true,"uniqueKey":"messages.items.[INDEX].oneOf.1.content.oneOf.1.items.[INDEX].cache_control","typeLabel":"object"}},"uniqueKey":"messages.items.[INDEX].oneOf.1.content.oneOf.1.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.1.content.oneOf.1","typeLabel":"object[]"}],"isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.1.content","typeLabel":"string | object[]"},"output_config":{"type":"object","description":"Change le niveau d’effort de Claude pour les tours suivants sans redémarrer le cache de prompts. Envoyez-le avec un `content` vide après les messages déjà envoyés, et laissez-le en place dans les requêtes suivantes ; l’insérer plus tôt modifie le préfixe mis en cache. Les routes sans effort par message reçoivent à la place le niveau en vigueur comme effort de premier niveau, ce qui ne conserve pas le cache.","required":["effort"],"properties":{"effort":{"type":"string","enum":["low","medium","high","xhigh","max"],"isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.1.output_config.effort","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"messages.items.[INDEX].oneOf.1.output_config","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"messages.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"messages.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"messages","typeLabel":"object[]"},"max_tokens":{"type":"integer","minimum":1,"isRequired":true,"uniqueKey":"max_tokens","typeLabel":"integer"},"models":{"type":"array","minItems":1,"maxItems":25,"items":{"type":"string","minLength":1,"uniqueKey":"models.items.[INDEX]","typeLabel":"string"},"description":"Modèles de repli facultatifs et ordonnés, essayés après `model`. `model` est obligatoire et reste toujours le modèle principal. Lorsqu'une tentative échoue avec `429`, `500`, `502`, `503` ou `504`, l'entrée suivante est essayée ; les autres erreurs sont renvoyées telles quelles. Accepte jusqu'à 25 identifiants de modèle ou préréglages ; les doublons et les entrées identiques à `model` sont ignorés. Chaque tentative est validée, journalisée et facturée comme une requête distincte, et le champ `model` de la réponse ainsi que la trace de routage indiquent le modèle qui a servi la requête. Les requêtes en streaming ne basculent qu'avant le premier octet, et les tâches vidéo et musique uniquement lors de leur soumission. Les requêtes batch, realtime et council rejettent `models`. Les replis définis sur une route dynamique sont prioritaires, et `phaseo/auto` ne peut pas être combiné avec `models`.","example":["anthropic/claude-sonnet-5-5","google/gemini-2.5-flash"],"uniqueKey":"models","typeLabel":"string[]"},"prompt":{"type":"object","description":"Remplit le modèle de prompt enregistré sur un preset. Omettez model ou indiquez la même référence, et envoyez une conversation vide ou les tours à ajouter après le modèle.","required":["id"],"properties":{"id":{"type":"string","description":"Référence du preset commençant par @, comme @support-triage ou @publisher/support-triage.","isRequired":true,"uniqueKey":"prompt.id","typeLabel":"string"},"variables":{"type":"object","additionalProperties":true,"description":"Valeurs des variables du modèle. Les variables d’image acceptent une URL https, une URL de données ou une partie image.","uniqueKey":"prompt.variables","typeLabel":"object"},"version":{"type":"string","maxLength":64,"description":"Exécute cette version publiée du préréglage au lieu de la version actuelle : ses modèles, ses paramètres et son modèle de prompt. Utilisez un libellé de version comme v3, 1.2.0 ou 2026.10.27, ou une étiquette comme production. Équivaut à définir model sur @support-triage@production.","uniqueKey":"prompt.version","typeLabel":"string"}},"uniqueKey":"prompt","typeLabel":"object"},"system":{"oneOf":[{"type":"string","uniqueKey":"system.oneOf.0","typeLabel":"string"},{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["text"],"uniqueKey":"system.oneOf.1.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","uniqueKey":"system.oneOf.1.items.[INDEX].text","typeLabel":"string"},"cache_control":{"type":"object","description":"Contrôle du cache de prompts. Utilisez type ephemeral avec un ttl facultatif de 5m ou 1h. scope ne s’applique qu’à une politique de cache Claude de premier niveau. Amazon Bedrock et Google Vertex AI ne mettent en cache Claude 3.7 Sonnet, 3.5 Sonnet et 3 Opus que pendant 5 minutes ; le ttl y est retiré, et un 1h retiré est signalé dans X-Phaseo-Dropped-Params sous la forme cache_control.ttl.","properties":{"type":{"type":"string","uniqueKey":"system.oneOf.1.items.[INDEX].cache_control.type","typeLabel":"string"},"ttl":{"type":"string","uniqueKey":"system.oneOf.1.items.[INDEX].cache_control.ttl","typeLabel":"string"},"scope":{"type":"string","uniqueKey":"system.oneOf.1.items.[INDEX].cache_control.scope","typeLabel":"string"}},"additionalProperties":true,"uniqueKey":"system.oneOf.1.items.[INDEX].cache_control","typeLabel":"object"}},"uniqueKey":"system.oneOf.1.items.[INDEX]","typeLabel":"object"},"uniqueKey":"system.oneOf.1","typeLabel":"object[]"}],"uniqueKey":"system","typeLabel":"string | object[]"},"service_tier":{"type":"string","description":"Sélectionne un niveau de routage ou de tarification pris en charge sur les API de texte compatibles.","enum":["standard","default","fast","ultrafast","priority","flex","batch","auto","standard_only"],"uniqueKey":"service_tier","typeLabel":"enum\u003cstring>"},"temperature":{"type":"number","minimum":0,"maximum":1,"uniqueKey":"temperature","typeLabel":"number"},"top_p":{"type":"number","minimum":0,"maximum":1,"uniqueKey":"top_p","typeLabel":"number"},"top_k":{"type":"integer","minimum":1,"uniqueKey":"top_k","typeLabel":"integer"},"tools":{"type":"array","description":"Outils compatibles avec Anthropic, ainsi que des outils serveur gérés par la passerelle.","items":{"oneOf":[{"type":"object","required":["name"],"properties":{"name":{"type":"string","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.0.name","typeLabel":"string"},"async":{"type":"boolean","description":"Permet aux modèles OpenAI pris en charge de continuer pendant que l’appelant exécute cet outil. Ignoré lors du routage vers d’autres fournisseurs.","uniqueKey":"tools.items.[INDEX].oneOf.0.async","typeLabel":"boolean"},"description":{"type":"string","uniqueKey":"tools.items.[INDEX].oneOf.0.description","typeLabel":"string"},"input_schema":{"type":"object","uniqueKey":"tools.items.[INDEX].oneOf.0.input_schema","typeLabel":"object"}},"uniqueKey":"tools.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","description":"Outil serveur géré par la passerelle. Celle-ci effectue la recherche de date et d’heure, puis injecte le résultat dans la boucle d’outils du modèle.","required":["type"],"properties":{"type":{"type":"string","enum":["phaseo:datetime","gateway:datetime"],"isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"parameters":{"type":"object","properties":{"timezone":{"type":"string","description":"Nom de fuseau horaire IANA (par exemple, Europe/London).","uniqueKey":"tools.items.[INDEX].oneOf.1.parameters.timezone","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"tools.items.[INDEX].oneOf.1.parameters","typeLabel":"object"},"timezone":{"type":"string","description":"Raccourci historique pour le fuseau horaire par défaut (IANA).","uniqueKey":"tools.items.[INDEX].oneOf.1.timezone","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"tools.items.[INDEX].oneOf.1","typeLabel":"object"},{"type":"object","description":"Outil serveur géré par la passerelle. Celle-ci effectue une recherche Web et injecte les résultats normalisés dans la boucle d’outils du modèle.","required":["type"],"properties":{"type":{"type":"string","enum":["phaseo:web_search","gateway:web_search"],"isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.2.type","typeLabel":"enum\u003cstring>"},"parameters":{"type":"object","properties":{"engine":{"type":"string","enum":["auto","native","exa","firecrawl","parallel","perplexity","tinyfish","deepseek"],"uniqueKey":"tools.items.[INDEX].oneOf.2.parameters.engine","typeLabel":"enum\u003cstring>"},"max_results":{"type":"integer","minimum":1,"maximum":25,"uniqueKey":"tools.items.[INDEX].oneOf.2.parameters.max_results","typeLabel":"integer"},"language":{"type":"string","uniqueKey":"tools.items.[INDEX].oneOf.2.parameters.language","typeLabel":"string"},"page":{"type":"integer","minimum":0,"maximum":10,"uniqueKey":"tools.items.[INDEX].oneOf.2.parameters.page","typeLabel":"integer"},"include_text":{"type":"boolean","uniqueKey":"tools.items.[INDEX].oneOf.2.parameters.include_text","typeLabel":"boolean"},"include_highlights":{"type":"boolean","uniqueKey":"tools.items.[INDEX].oneOf.2.parameters.include_highlights","typeLabel":"boolean"}},"additionalProperties":false,"uniqueKey":"tools.items.[INDEX].oneOf.2.parameters","typeLabel":"object"},"max_results":{"type":"integer","minimum":1,"maximum":25,"uniqueKey":"tools.items.[INDEX].oneOf.2.max_results","typeLabel":"integer"},"engine":{"type":"string","enum":["auto","native","exa","firecrawl","parallel","perplexity","tinyfish","deepseek"],"uniqueKey":"tools.items.[INDEX].oneOf.2.engine","typeLabel":"enum\u003cstring>"},"language":{"type":"string","uniqueKey":"tools.items.[INDEX].oneOf.2.language","typeLabel":"string"},"page":{"type":"integer","minimum":0,"maximum":10,"uniqueKey":"tools.items.[INDEX].oneOf.2.page","typeLabel":"integer"},"include_text":{"type":"boolean","uniqueKey":"tools.items.[INDEX].oneOf.2.include_text","typeLabel":"boolean"},"include_highlights":{"type":"boolean","uniqueKey":"tools.items.[INDEX].oneOf.2.include_highlights","typeLabel":"boolean"}},"additionalProperties":false,"uniqueKey":"tools.items.[INDEX].oneOf.2","typeLabel":"object"},{"type":"object","description":"Outil serveur géré par la passerelle. Celle-ci récupère une page HTTP(S), la réduit à un texte de taille limitée, puis injecte le résultat dans la boucle d’outils du modèle.","required":["type"],"properties":{"type":{"type":"string","enum":["phaseo:web_fetch","gateway:web_fetch"],"isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.3.type","typeLabel":"enum\u003cstring>"},"parameters":{"type":"object","properties":{"max_chars":{"type":"integer","minimum":1,"maximum":100000,"uniqueKey":"tools.items.[INDEX].oneOf.3.parameters.max_chars","typeLabel":"integer"}},"additionalProperties":false,"uniqueKey":"tools.items.[INDEX].oneOf.3.parameters","typeLabel":"object"},"max_chars":{"type":"integer","minimum":1,"maximum":100000,"uniqueKey":"tools.items.[INDEX].oneOf.3.max_chars","typeLabel":"integer"}},"additionalProperties":false,"uniqueKey":"tools.items.[INDEX].oneOf.3","typeLabel":"object"},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["phaseo:subagent"],"isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.4.type","typeLabel":"enum\u003cstring>"},"parameters":{"type":"object","additionalProperties":true,"uniqueKey":"tools.items.[INDEX].oneOf.4.parameters","typeLabel":"object"}},"uniqueKey":"tools.items.[INDEX].oneOf.4","typeLabel":"object"},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["phaseo:fusion"],"isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.5.type","typeLabel":"enum\u003cstring>"},"parameters":{"type":"object","required":["analysis_models"],"properties":{"analysis_models":{"type":"array","minItems":2,"maxItems":8,"items":{"type":"string","uniqueKey":"tools.items.[INDEX].oneOf.5.parameters.analysis_models.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.5.parameters.analysis_models","typeLabel":"string[]"},"model":{"type":"string","uniqueKey":"tools.items.[INDEX].oneOf.5.parameters.model","typeLabel":"string"}},"additionalProperties":true,"uniqueKey":"tools.items.[INDEX].oneOf.5.parameters","typeLabel":"object"}},"uniqueKey":"tools.items.[INDEX].oneOf.5","typeLabel":"object"},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["phaseo:search_models"],"isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.6.type","typeLabel":"enum\u003cstring>"},"parameters":{"type":"object","properties":{"max_results":{"type":"integer","minimum":1,"maximum":20,"uniqueKey":"tools.items.[INDEX].oneOf.6.parameters.max_results","typeLabel":"integer"}},"uniqueKey":"tools.items.[INDEX].oneOf.6.parameters","typeLabel":"object"}},"uniqueKey":"tools.items.[INDEX].oneOf.6","typeLabel":"object"}],"uniqueKey":"tools.items.[INDEX]","typeLabel":"object"},"uniqueKey":"tools","typeLabel":"object[]"},"tool_choice":{"oneOf":[{"type":"object","description":"Objet ou chaîne de choix d’outil Anthropic. Les noms des outils serveur gérés par la passerelle sont également acceptés et réécrits par celle-ci.","uniqueKey":"tool_choice.oneOf.0","typeLabel":"object"},{"type":"string","description":"Objet ou chaîne de choix d’outil Anthropic. Les noms des outils serveur gérés par la passerelle sont également acceptés et réécrits par celle-ci.","uniqueKey":"tool_choice.oneOf.1","typeLabel":"string"}],"uniqueKey":"tool_choice","typeLabel":"object | string"},"plugins":{"type":"array","description":"Plugins de la passerelle pour cette requête. `web` ajoute la recherche web et `web-fetch` la lecture de pages à n'importe quel modèle ; `response-healing` répare le JSON mal formé des réponses structurées non diffusées en streaming. Les valeurs par défaut de l'espace de travail et du préréglage sont fusionnées avec cette liste. Un identifiant de plugin inconnu renvoie 400 `unknown_gateway_plugin`.","items":{"oneOf":[{"type":"object","description":"Ajoute l'outil serveur `phaseo:web_search` à la requête, pour que n'importe quel modèle puisse chercher sur le web. La requête s'exécute, et les recherches sont comptées et facturées, exactement comme avec un outil `phaseo:web_search`. Si la requête contient déjà un outil de recherche web, le plugin n'ajoute rien. Les autres options sont ignorées.","required":["id"],"properties":{"id":{"type":"string","enum":["web"],"isRequired":true,"uniqueKey":"plugins.items.[INDEX].oneOf.0.id","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","default":true,"uniqueKey":"plugins.items.[INDEX].oneOf.0.enabled","typeLabel":"boolean"},"engine":{"type":"string","enum":["auto","native","exa","firecrawl","parallel","perplexity","tinyfish","deepseek"],"uniqueKey":"plugins.items.[INDEX].oneOf.0.engine","typeLabel":"enum\u003cstring>"},"max_results":{"type":"integer","minimum":1,"maximum":25,"uniqueKey":"plugins.items.[INDEX].oneOf.0.max_results","typeLabel":"integer"},"max_uses":{"type":"integer","minimum":1,"uniqueKey":"plugins.items.[INDEX].oneOf.0.max_uses","typeLabel":"integer"},"search_context_size":{"type":"string","enum":["low","medium","high"],"uniqueKey":"plugins.items.[INDEX].oneOf.0.search_context_size","typeLabel":"enum\u003cstring>"},"include_domains":{"type":"array","items":{"type":"string","uniqueKey":"plugins.items.[INDEX].oneOf.0.include_domains.items.[INDEX]","typeLabel":"string"},"uniqueKey":"plugins.items.[INDEX].oneOf.0.include_domains","typeLabel":"string[]"},"exclude_domains":{"type":"array","items":{"type":"string","uniqueKey":"plugins.items.[INDEX].oneOf.0.exclude_domains.items.[INDEX]","typeLabel":"string"},"uniqueKey":"plugins.items.[INDEX].oneOf.0.exclude_domains","typeLabel":"string[]"}},"uniqueKey":"plugins.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","description":"Ajoute l'outil serveur `phaseo:web_fetch` à la requête, pour que n'importe quel modèle puisse lire des pages web. La requête s'exécute, et les lectures sont comptées et facturées, exactement comme avec un outil `phaseo:web_fetch`. Si la requête contient déjà un outil de lecture web, le plugin n'ajoute rien.","required":["id"],"properties":{"id":{"type":"string","enum":["web-fetch"],"isRequired":true,"uniqueKey":"plugins.items.[INDEX].oneOf.1.id","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","default":true,"uniqueKey":"plugins.items.[INDEX].oneOf.1.enabled","typeLabel":"boolean"},"engine":{"type":"string","enum":["auto","native","direct","exa","firecrawl","parallel","deepseek"],"uniqueKey":"plugins.items.[INDEX].oneOf.1.engine","typeLabel":"enum\u003cstring>"},"max_uses":{"type":"integer","minimum":1,"uniqueKey":"plugins.items.[INDEX].oneOf.1.max_uses","typeLabel":"integer"},"max_content_tokens":{"type":"integer","minimum":1,"maximum":100000,"uniqueKey":"plugins.items.[INDEX].oneOf.1.max_content_tokens","typeLabel":"integer"},"allowed_domains":{"type":"array","items":{"type":"string","uniqueKey":"plugins.items.[INDEX].oneOf.1.allowed_domains.items.[INDEX]","typeLabel":"string"},"uniqueKey":"plugins.items.[INDEX].oneOf.1.allowed_domains","typeLabel":"string[]"},"blocked_domains":{"type":"array","items":{"type":"string","uniqueKey":"plugins.items.[INDEX].oneOf.1.blocked_domains.items.[INDEX]","typeLabel":"string"},"uniqueKey":"plugins.items.[INDEX].oneOf.1.blocked_domains","typeLabel":"string[]"}},"uniqueKey":"plugins.items.[INDEX].oneOf.1","typeLabel":"object"},{"type":"object","description":"Répare le JSON mal formé des réponses non diffusées en streaming qui demandaient une sortie `json_object` ou `json_schema`. Ignoré en streaming.","required":["id"],"properties":{"id":{"type":"string","enum":["response-healing"],"isRequired":true,"uniqueKey":"plugins.items.[INDEX].oneOf.2.id","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","default":true,"uniqueKey":"plugins.items.[INDEX].oneOf.2.enabled","typeLabel":"boolean"},"mode":{"type":"string","enum":["safe","strict"],"default":"safe","uniqueKey":"plugins.items.[INDEX].oneOf.2.mode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"plugins.items.[INDEX].oneOf.2","typeLabel":"object"}],"uniqueKey":"plugins.items.[INDEX]","typeLabel":"object"},"uniqueKey":"plugins","typeLabel":"object[]"},"stream":{"type":"boolean","uniqueKey":"stream","typeLabel":"boolean"},"metadata":{"type":"object","additionalProperties":true,"uniqueKey":"metadata","typeLabel":"object"},"session_id":{"type":"string","maxLength":256,"description":"Identifiant unique permettant de regrouper des requêtes liées (par exemple, une conversation ou un flux de travail d’agent) à des fins d’observabilité.","uniqueKey":"session_id","typeLabel":"string"},"reasoning":{"type":"object","properties":{"effort":{"oneOf":[{"type":"string","enum":["none","minimal","low","medium","high","xhigh","max"],"description":"Effort de raisonnement. S’il est omis ou null, `max_tokens`, `enabled` ou la valeur par défaut du modèle détermine dans quelle mesure le modèle raisonne.","uniqueKey":"reasoning.effort.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["none","minimal","low","medium","high","xhigh","max"],"description":"Effort de raisonnement. S’il est omis ou null, `max_tokens`, `enabled` ou la valeur par défaut du modèle détermine dans quelle mesure le modèle raisonne.","uniqueKey":"reasoning.effort.oneOf.1","typeLabel":"null"}],"uniqueKey":"reasoning.effort","typeLabel":"enum\u003cstring> | null"},"mode":{"type":"string","enum":["standard","pro"],"uniqueKey":"reasoning.mode","typeLabel":"enum\u003cstring>"},"summary":{"type":"string","enum":["auto","concise","detailed"],"default":"auto","uniqueKey":"reasoning.summary","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","uniqueKey":"reasoning.enabled","typeLabel":"boolean"},"max_tokens":{"type":"integer","minimum":0,"uniqueKey":"reasoning.max_tokens","typeLabel":"integer"}},"uniqueKey":"reasoning","typeLabel":"object"},"context_management":{"type":"object","description":"Édition du contexte d’Anthropic. `edits` accepte les stratégies `clear_tool_uses_*` et `clear_thinking_*` et est envoyé à Anthropic avec son en-tête bêta. Les autres fournisseurs exécutent la requête sans ce champ et indiquent `context_management` dans `X-Phaseo-Dropped-Params`. Les modifications de compactage (`compact_*`) renvoient 400.","properties":{"edits":{"type":"array","items":{"type":"object","required":["type"],"properties":{"type":{"type":"string","isRequired":true,"uniqueKey":"context_management.edits.items.[INDEX].type","typeLabel":"string"}},"additionalProperties":true,"uniqueKey":"context_management.edits.items.[INDEX]","typeLabel":"object"},"uniqueKey":"context_management.edits","typeLabel":"object[]"}},"additionalProperties":true,"uniqueKey":"context_management","typeLabel":"object"},"user":{"type":"string","description":"Identifiant de l’utilisateur final, comme dans Chat Completions. Les modèles Claude le reçoivent sous la forme `metadata.user_id`, sauf si `metadata.user_id` est défini.","uniqueKey":"user","typeLabel":"string"},"prompt_cache_key":{"oneOf":[{"type":"string","description":"Regroupe les requêtes liées afin qu’elles restent chez le fournisseur qui détient leur cache de prompts. Phaseo envoie au fournisseur un hachage de votre espace de travail et de cette clé, jamais la clé brute.","uniqueKey":"prompt_cache_key.oneOf.0","typeLabel":"string"},{"type":"null","description":"Regroupe les requêtes liées afin qu’elles restent chez le fournisseur qui détient leur cache de prompts. Phaseo envoie au fournisseur un hachage de votre espace de travail et de cette clé, jamais la clé brute.","uniqueKey":"prompt_cache_key.oneOf.1","typeLabel":"null"}],"uniqueKey":"prompt_cache_key","typeLabel":"string | null"},"stop_sequences":{"type":"array","items":{"type":"string","uniqueKey":"stop_sequences.items.[INDEX]","typeLabel":"string"},"uniqueKey":"stop_sequences","typeLabel":"string[]"},"cache_control":{"type":"object","description":"Contrôle du cache de prompts. Utilisez type ephemeral avec un ttl facultatif de 5m ou 1h. scope ne s’applique qu’à une politique de cache Claude de premier niveau. Amazon Bedrock et Google Vertex AI ne mettent en cache Claude 3.7 Sonnet, 3.5 Sonnet et 3 Opus que pendant 5 minutes ; le ttl y est retiré, et un 1h retiré est signalé dans X-Phaseo-Dropped-Params sous la forme cache_control.ttl.","properties":{"type":{"type":"string","uniqueKey":"cache_control.type","typeLabel":"string"},"ttl":{"type":"string","uniqueKey":"cache_control.ttl","typeLabel":"string"},"scope":{"type":"string","uniqueKey":"cache_control.scope","typeLabel":"string"}},"additionalProperties":true,"uniqueKey":"cache_control","typeLabel":"object"},"provider_options":{"type":"object","description":"Options propres au fournisseur, facultatives.","properties":{"openai":{"type":"object","properties":{"context_management":{"type":"object","description":"Configuration facultative de la gestion du contexte OpenAI.","properties":{"type":{"type":"string","enum":["compaction"],"isRequired":true,"uniqueKey":"provider_options.openai.context_management.type","typeLabel":"enum\u003cstring>"},"compact_threshold":{"type":"number","uniqueKey":"provider_options.openai.context_management.compact_threshold","typeLabel":"number"}},"required":["type"],"uniqueKey":"provider_options.openai.context_management","typeLabel":"object"},"prompt_cache_retention":{"type":"string","uniqueKey":"provider_options.openai.prompt_cache_retention","typeLabel":"string"},"prompt_cache_options":{"type":"object","description":"Mode et TTL du cache de prompts pour OpenAI et Azure OpenAI à partir de GPT-5.6 (ttl 30m, ou 12h chez OpenAI) et pour DeepInfra (ttl 5m ou 1h). Retiré pour les autres fournisseurs.","properties":{"mode":{"type":"string","enum":["implicit","explicit"],"uniqueKey":"provider_options.openai.prompt_cache_options.mode","typeLabel":"enum\u003cstring>"},"ttl":{"type":"string","description":"Durée minimale du cache. OpenAI GPT-5.6 et versions ultérieures : 30m (par défaut) ou 12h ; une requête qui demande 12h passe par l’API Responses d’OpenAI. Azure OpenAI : 30m. DeepInfra : 5m ou 1h. Une route qui n’accepte pas 12h reçoit la requête sans cette durée, et le retrait est signalé dans X-Phaseo-Dropped-Params.","uniqueKey":"provider_options.openai.prompt_cache_options.ttl","typeLabel":"string"}},"additionalProperties":true,"uniqueKey":"provider_options.openai.prompt_cache_options","typeLabel":"object"}},"uniqueKey":"provider_options.openai","typeLabel":"object"},"anthropic":{"type":"object","properties":{"cache_control":{"type":"object","description":"Contrôle du cache de prompts. Utilisez type ephemeral avec un ttl facultatif de 5m ou 1h. scope ne s’applique qu’à une politique de cache Claude de premier niveau. Amazon Bedrock et Google Vertex AI ne mettent en cache Claude 3.7 Sonnet, 3.5 Sonnet et 3 Opus que pendant 5 minutes ; le ttl y est retiré, et un 1h retiré est signalé dans X-Phaseo-Dropped-Params sous la forme cache_control.ttl.","properties":{"type":{"type":"string","uniqueKey":"provider_options.anthropic.cache_control.type","typeLabel":"string"},"ttl":{"type":"string","uniqueKey":"provider_options.anthropic.cache_control.ttl","typeLabel":"string"},"scope":{"type":"string","uniqueKey":"provider_options.anthropic.cache_control.scope","typeLabel":"string"}},"additionalProperties":true,"uniqueKey":"provider_options.anthropic.cache_control","typeLabel":"object"}},"uniqueKey":"provider_options.anthropic","typeLabel":"object"},"xai":{"type":"object","properties":{"conversation_id":{"type":"string","description":"Identifiant de conversation xAI, envoyé dans l’en-tête x-grok-conv-id.","uniqueKey":"provider_options.xai.conversation_id","typeLabel":"string"}},"uniqueKey":"provider_options.xai","typeLabel":"object"},"google":{"type":"object","properties":{"cache_control":{"type":"object","description":"Contrôle du cache de prompts. Utilisez type ephemeral avec un ttl facultatif de 5m ou 1h. scope ne s’applique qu’à une politique de cache Claude de premier niveau. Amazon Bedrock et Google Vertex AI ne mettent en cache Claude 3.7 Sonnet, 3.5 Sonnet et 3 Opus que pendant 5 minutes ; le ttl y est retiré, et un 1h retiré est signalé dans X-Phaseo-Dropped-Params sous la forme cache_control.ttl.","properties":{"type":{"type":"string","uniqueKey":"provider_options.google.cache_control.type","typeLabel":"string"},"ttl":{"type":"string","uniqueKey":"provider_options.google.cache_control.ttl","typeLabel":"string"},"scope":{"type":"string","uniqueKey":"provider_options.google.cache_control.scope","typeLabel":"string"}},"additionalProperties":true,"uniqueKey":"provider_options.google.cache_control","typeLabel":"object"},"cached_content":{"type":"string","uniqueKey":"provider_options.google.cached_content","typeLabel":"string"},"cache_ttl":{"type":"string","uniqueKey":"provider_options.google.cache_ttl","typeLabel":"string"}},"uniqueKey":"provider_options.google","typeLabel":"object"}},"uniqueKey":"provider_options","typeLabel":"object"},"usage":{"type":"boolean","uniqueKey":"usage","typeLabel":"boolean"},"meta":{"type":"boolean","uniqueKey":"meta","typeLabel":"boolean"},"echo_upstream_request":{"type":"boolean","uniqueKey":"echo_upstream_request","typeLabel":"boolean"},"debug":{"type":"object","description":"Options de débogage de la passerelle. Ces indicateurs ne sont jamais transmis au fournisseur.","properties":{"enabled":{"type":"boolean","uniqueKey":"debug.enabled","typeLabel":"boolean"},"return_upstream_request":{"type":"boolean","uniqueKey":"debug.return_upstream_request","typeLabel":"boolean"},"return_upstream_response":{"type":"boolean","uniqueKey":"debug.return_upstream_response","typeLabel":"boolean"},"trace":{"type":"boolean","uniqueKey":"debug.trace","typeLabel":"boolean"},"trace_level":{"type":"string","enum":["summary","full"],"uniqueKey":"debug.trace_level","typeLabel":"enum\u003cstring>"}},"uniqueKey":"debug","typeLabel":"object"},"provider":{"type":"object","description":"Préférences de routage des fournisseurs pour la sélection par la passerelle.","properties":{"order":{"type":"array","items":{"type":"string","uniqueKey":"provider.order.items.[INDEX]","typeLabel":"string"},"uniqueKey":"provider.order","typeLabel":"string[]"},"only":{"type":"array","items":{"type":"string","uniqueKey":"provider.only.items.[INDEX]","typeLabel":"string"},"uniqueKey":"provider.only","typeLabel":"string[]"},"ignore":{"type":"array","items":{"type":"string","uniqueKey":"provider.ignore.items.[INDEX]","typeLabel":"string"},"uniqueKey":"provider.ignore","typeLabel":"string[]"},"include_alpha":{"type":"boolean","description":"Inclure les fournisseurs alpha dans le routage (désactivé par défaut).","uniqueKey":"provider.include_alpha","typeLabel":"boolean"},"allow_fallbacks":{"oneOf":[{"type":"boolean","description":"Autoriser le repli vers un autre fournisseur éligible après un échec.","uniqueKey":"provider.allow_fallbacks.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Autoriser le repli vers un autre fournisseur éligible après un échec.","uniqueKey":"provider.allow_fallbacks.oneOf.1","typeLabel":"null"}],"uniqueKey":"provider.allow_fallbacks","typeLabel":"boolean | null"},"require_parameters":{"oneOf":[{"type":"boolean","description":"Exiger la prise en charge des paramètres demandés par le fournisseur avant le routage.","uniqueKey":"provider.require_parameters.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Exiger la prise en charge des paramètres demandés par le fournisseur avant le routage.","uniqueKey":"provider.require_parameters.oneOf.1","typeLabel":"null"}],"uniqueKey":"provider.require_parameters","typeLabel":"boolean | null"},"required_execution_region":{"oneOf":[{"type":"string","description":"Limiter le routage aux fournisseurs disposant de la région d’exécution demandée.","uniqueKey":"provider.required_execution_region.oneOf.0","typeLabel":"string"},{"type":"null","description":"Limiter le routage aux fournisseurs disposant de la région d’exécution demandée.","uniqueKey":"provider.required_execution_region.oneOf.1","typeLabel":"null"}],"uniqueKey":"provider.required_execution_region","typeLabel":"string | null"},"required_data_region":{"oneOf":[{"type":"string","description":"Limiter le routage aux fournisseurs disposant de la région de données demandée.","uniqueKey":"provider.required_data_region.oneOf.0","typeLabel":"string"},{"type":"null","description":"Limiter le routage aux fournisseurs disposant de la région de données demandée.","uniqueKey":"provider.required_data_region.oneOf.1","typeLabel":"null"}],"uniqueKey":"provider.required_data_region","typeLabel":"string | null"},"require_zero_data_retention":{"oneOf":[{"type":"boolean","description":"Limiter le routage aux fournisseurs qui prennent en charge la conservation nulle des données.","uniqueKey":"provider.require_zero_data_retention.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Limiter le routage aux fournisseurs qui prennent en charge la conservation nulle des données.","uniqueKey":"provider.require_zero_data_retention.oneOf.1","typeLabel":"null"}],"uniqueKey":"provider.require_zero_data_retention","typeLabel":"boolean | null"},"data_collection":{"oneOf":[{"type":"string","description":"`allow` (la valeur par défaut) ne filtre rien. `deny` n’est pas encore pris en charge et renvoie 400 unsupported_routing_filter.","enum":["allow","deny"],"uniqueKey":"provider.data_collection.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"`allow` (la valeur par défaut) ne filtre rien. `deny` n’est pas encore pris en charge et renvoie 400 unsupported_routing_filter.","enum":["allow","deny"],"uniqueKey":"provider.data_collection.oneOf.1","typeLabel":"null"}],"uniqueKey":"provider.data_collection","typeLabel":"enum\u003cstring> | null"},"zdr":{"oneOf":[{"type":"boolean","uniqueKey":"provider.zdr.oneOf.0","typeLabel":"boolean"},{"type":"null","uniqueKey":"provider.zdr.oneOf.1","typeLabel":"null"}],"uniqueKey":"provider.zdr","typeLabel":"boolean | null"},"enforce_distillable_text":{"oneOf":[{"type":"boolean","description":"`false` (la valeur par défaut) ne filtre rien. `true` n’est pas encore pris en charge et renvoie 400 unsupported_routing_filter.","uniqueKey":"provider.enforce_distillable_text.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"`false` (la valeur par défaut) ne filtre rien. `true` n’est pas encore pris en charge et renvoie 400 unsupported_routing_filter.","uniqueKey":"provider.enforce_distillable_text.oneOf.1","typeLabel":"null"}],"uniqueKey":"provider.enforce_distillable_text","typeLabel":"boolean | null"},"quantizations":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"provider.quantizations.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"provider.quantizations.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"uniqueKey":"provider.quantizations.oneOf.1","typeLabel":"null"}],"uniqueKey":"provider.quantizations","typeLabel":"string[] | null"},"sort":{"oneOf":[{"type":"string","description":"Classer les fournisseurs pour cette requête, par exemple selon le prix, la latence ou le débit.","uniqueKey":"provider.sort.oneOf.0","typeLabel":"string"},{"type":"object","description":"Classer les fournisseurs pour cette requête, par exemple selon le prix, la latence ou le débit.","additionalProperties":true,"uniqueKey":"provider.sort.oneOf.1","typeLabel":"object"}],"uniqueKey":"provider.sort","typeLabel":"string | object"},"max_price":{"type":"object","properties":{"prompt":{"oneOf":[{"type":"number","uniqueKey":"provider.max_price.prompt.oneOf.0","typeLabel":"number"},{"type":"string","uniqueKey":"provider.max_price.prompt.oneOf.1","typeLabel":"string"}],"uniqueKey":"provider.max_price.prompt","typeLabel":"number | string"},"completion":{"oneOf":[{"type":"number","uniqueKey":"provider.max_price.completion.oneOf.0","typeLabel":"number"},{"type":"string","uniqueKey":"provider.max_price.completion.oneOf.1","typeLabel":"string"}],"uniqueKey":"provider.max_price.completion","typeLabel":"number | string"},"image":{"oneOf":[{"type":"number","uniqueKey":"provider.max_price.image.oneOf.0","typeLabel":"number"},{"type":"string","uniqueKey":"provider.max_price.image.oneOf.1","typeLabel":"string"}],"uniqueKey":"provider.max_price.image","typeLabel":"number | string"},"audio":{"oneOf":[{"type":"number","uniqueKey":"provider.max_price.audio.oneOf.0","typeLabel":"number"},{"type":"string","uniqueKey":"provider.max_price.audio.oneOf.1","typeLabel":"string"}],"uniqueKey":"provider.max_price.audio","typeLabel":"number | string"},"request":{"oneOf":[{"type":"number","uniqueKey":"provider.max_price.request.oneOf.0","typeLabel":"number"},{"type":"string","uniqueKey":"provider.max_price.request.oneOf.1","typeLabel":"string"}],"uniqueKey":"provider.max_price.request","typeLabel":"number | string"}},"uniqueKey":"provider.max_price","typeLabel":"object"},"preferred_min_throughput":{"oneOf":[{"type":"number","uniqueKey":"provider.preferred_min_throughput.oneOf.0","typeLabel":"number"},{"type":"object","additionalProperties":{"type":"number","uniqueKey":"provider.preferred_min_throughput.oneOf.1.additionalProperties","typeLabel":"number"},"uniqueKey":"provider.preferred_min_throughput.oneOf.1","typeLabel":"object"}],"uniqueKey":"provider.preferred_min_throughput","typeLabel":"number | object"},"preferred_max_latency":{"oneOf":[{"type":"number","uniqueKey":"provider.preferred_max_latency.oneOf.0","typeLabel":"number"},{"type":"object","additionalProperties":{"type":"number","uniqueKey":"provider.preferred_max_latency.oneOf.1.additionalProperties","typeLabel":"number"},"uniqueKey":"provider.preferred_max_latency.oneOf.1","typeLabel":"object"}],"uniqueKey":"provider.preferred_max_latency","typeLabel":"number | object"}},"uniqueKey":"provider","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"datetimeServerTool":{"title":"datetimeServerTool","summary":"Built-in datetime server tool","value":{"model":"anthropic/claude-sonnet-4","max_tokens":512,"stream":false,"messages":[{"role":"user","content":"What time is it in America/New_York right now?"}],"tools":[{"type":"gateway:datetime","parameters":{"timezone":"America/New_York"}}],"tool_choice":{"type":"auto"}}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"d20b99c8-74a6-4fc2-85fc-b2b0b0b0ef44":{"description":"Réponse du message","headers":{"x-request-id":{"description":"Identifiant public de requête généré par le serveur. Pour les requêtes d’inférence, il identifie la génération dans les réponses et les journaux. Les valeurs x-request-id du client ne le remplacent pas.","schema":{"type":"string","pattern":"^G-[0-9A-HJKMNP-TV-Z]{26}$"}},"X-Phaseo-Requested-Model":{"description":"Le modèle demandé par la requête. Envoyé uniquement lorsque le routage des modèles retirés a répondu à la requête avec un modèle remplaçant.","schema":{"type":"string"}},"X-Phaseo-Model-Substitution":{"description":"Pourquoi et comment le modèle demandé a été remplacé, par exemple `reason=unserved; from=lab/old-model; to=lab/new-model`. Envoyé uniquement lorsque le routage des modèles retirés a répondu à la requête avec un modèle remplaçant.","schema":{"type":"string"}},"X-Phaseo-Dropped-Params":{"description":"Paramètres envoyés par le client que le fournisseur qui traite la requête ne prend pas en charge et que la passerelle a retirés au lieu de les envoyer au fournisseur ou de rejeter la requête, par exemple `top_k, min_p`. Envoyé uniquement dans les réponses réussies, et seulement lorsqu'au moins un paramètre du corps de la requête a été retiré. Les paramètres qui proviennent d'un préréglage ou d'une valeur par défaut ne sont pas listés.","schema":{"type":"string"}},"X-Phaseo-Spend-Warning":{"description":"Envoyé lorsqu'une règle de dépenses bloquante couvre la requête et que les dépenses ont dépassé son dernier seuil d'alerte sans atteindre encore son seuil de blocage. Indique jusqu'à trois règles sous la forme rule_id, scope et resets_at, par exemple `rule_id=...; scope=workspace; resets_at=2026-11-01T00:00:00.000Z`. Dès que les dépenses atteignent le seuil de blocage, les requêtes concernées reçoivent une erreur 429 avec le code spend_rule_blocked.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","uniqueKey":"id","typeLabel":"string"},"type":{"type":"string","uniqueKey":"type","typeLabel":"string"},"role":{"type":"string","enum":["assistant"],"uniqueKey":"role","typeLabel":"enum\u003cstring>"},"model":{"type":"string","uniqueKey":"model","typeLabel":"string"},"content":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["text","image","tool_use","tool_result"],"uniqueKey":"content.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","uniqueKey":"content.items.[INDEX].text","typeLabel":"string"},"cache_control":{"type":"object","description":"Contrôle du cache de prompts. Utilisez type ephemeral avec un ttl facultatif de 5m ou 1h. scope ne s’applique qu’à une politique de cache Claude de premier niveau. Amazon Bedrock et Google Vertex AI ne mettent en cache Claude 3.7 Sonnet, 3.5 Sonnet et 3 Opus que pendant 5 minutes ; le ttl y est retiré, et un 1h retiré est signalé dans X-Phaseo-Dropped-Params sous la forme cache_control.ttl.","properties":{"type":{"type":"string","uniqueKey":"content.items.[INDEX].cache_control.type","typeLabel":"string"},"ttl":{"type":"string","uniqueKey":"content.items.[INDEX].cache_control.ttl","typeLabel":"string"},"scope":{"type":"string","uniqueKey":"content.items.[INDEX].cache_control.scope","typeLabel":"string"}},"additionalProperties":true,"uniqueKey":"content.items.[INDEX].cache_control","typeLabel":"object"},"source":{"type":"object","properties":{"type":{"type":"string","uniqueKey":"content.items.[INDEX].source.type","typeLabel":"string"},"media_type":{"type":"string","uniqueKey":"content.items.[INDEX].source.media_type","typeLabel":"string"},"data":{"type":"string","uniqueKey":"content.items.[INDEX].source.data","typeLabel":"string"},"url":{"type":"string","uniqueKey":"content.items.[INDEX].source.url","typeLabel":"string"}},"uniqueKey":"content.items.[INDEX].source","typeLabel":"object"},"id":{"type":"string","uniqueKey":"content.items.[INDEX].id","typeLabel":"string"},"name":{"type":"string","uniqueKey":"content.items.[INDEX].name","typeLabel":"string"},"input":{"type":"object","uniqueKey":"content.items.[INDEX].input","typeLabel":"object"},"tool_use_id":{"type":"string","uniqueKey":"content.items.[INDEX].tool_use_id","typeLabel":"string"},"content":{"type":"string","uniqueKey":"content.items.[INDEX].content","typeLabel":"string"}},"uniqueKey":"content.items.[INDEX]","typeLabel":"object"},"uniqueKey":"content","typeLabel":"object[]"},"stop_reason":{"type":"string","uniqueKey":"stop_reason","typeLabel":"string"},"stop_sequence":{"type":"string","uniqueKey":"stop_sequence","typeLabel":"string"},"usage":{"type":"object","properties":{"input_tokens":{"type":"integer","description":"Jetons d’entrée non mis en cache. Comme chez Anthropic, cette valeur exclut les lectures et écritures du cache.","uniqueKey":"usage.input_tokens","typeLabel":"integer"},"cache_read_input_tokens":{"type":"integer","description":"Jetons d’entrée lus depuis le cache de prompts du fournisseur.","uniqueKey":"usage.cache_read_input_tokens","typeLabel":"integer"},"cache_creation_input_tokens":{"type":"integer","description":"Jetons d’entrée écrits dans le cache de prompts du fournisseur.","uniqueKey":"usage.cache_creation_input_tokens","typeLabel":"integer"},"cache_creation":{"type":"object","description":"Écritures dans le cache réparties par durée de vie du cache.","properties":{"ephemeral_5m_input_tokens":{"type":"integer","description":"Jetons d’entrée écrits avec une durée de vie du cache de 5 minutes.","uniqueKey":"usage.cache_creation.ephemeral_5m_input_tokens","typeLabel":"integer"},"ephemeral_1h_input_tokens":{"type":"integer","description":"Jetons d’entrée écrits avec une durée de vie du cache d’une heure.","uniqueKey":"usage.cache_creation.ephemeral_1h_input_tokens","typeLabel":"integer"}},"uniqueKey":"usage.cache_creation","typeLabel":"object"},"output_tokens":{"type":"integer","uniqueKey":"usage.output_tokens","typeLabel":"integer"},"cost":{"type":"number","format":"double","description":"Ce que la requête vous coûte, en dollars américains : le montant débité de vos crédits, la même valeur que `cost_nanos`, après toute remise pour contribution de données ou exonération en l’absence de sortie. Renvoyé dans les réponses Chat Completions, Responses, Messages et embeddings dès que la requête est tarifée. En streaming, il figure dans le dernier événement d’usage (pour Messages, le dernier `message_delta`) et couvre tout le flux. Un flux l’omet lorsque le montant n’est pas encore connu à l’envoi de cet événement : sur un flux BYOK, dont les frais de service sont calculés à la fin du flux (`cost_details.upstream_inference_cost` donne alors le prix du modèle), et sur un flux déjà en échec, qui n’est pas facturé.","example":0.001234567,"uniqueKey":"usage.cost","typeLabel":"number\u003cdouble>"},"cost_details":{"type":"object","description":"Détail du coût de la requête.","properties":{"upstream_inference_cost":{"oneOf":[{"type":"number","format":"double","description":"Pour une requête BYOK, ce que le fournisseur facture à votre propre clé pour l’inférence, en dollars américains, aux prix affichés du modèle. Null lorsque la requête utilise des crédits Phaseo, auquel cas `cost` représente la totalité du montant.","example":null,"uniqueKey":"usage.cost_details.upstream_inference_cost.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"Pour une requête BYOK, ce que le fournisseur facture à votre propre clé pour l’inférence, en dollars américains, aux prix affichés du modèle. Null lorsque la requête utilise des crédits Phaseo, auquel cas `cost` représente la totalité du montant.","example":null,"uniqueKey":"usage.cost_details.upstream_inference_cost.oneOf.1","typeLabel":"null"}],"uniqueKey":"usage.cost_details.upstream_inference_cost","typeLabel":"number\u003cdouble> | null"}},"uniqueKey":"usage.cost_details","typeLabel":"object"}},"uniqueKey":"usage","typeLabel":"object"},"context_management":{"type":"object","description":"Présent lorsque la requête utilisait `context_management` et qu’Anthropic a appliqué une modification. `applied_edits` liste chaque modification avec ce qu’elle a effacé. En streaming, il figure dans l’événement `message_delta` final.","properties":{"applied_edits":{"type":"array","items":{"type":"object","additionalProperties":true,"uniqueKey":"context_management.applied_edits.items.[INDEX]","typeLabel":"object"},"uniqueKey":"context_management.applied_edits","typeLabel":"object[]"}},"uniqueKey":"context_management","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":"\u003cstring>","type":"\u003cstring>","role":"assistant","model":"\u003cstring>","content":[{"type":"text","text":"\u003cstring>","cache_control":{"type":"\u003cstring>","ttl":"\u003cstring>","scope":"\u003cstring>"},"source":{"type":"\u003cstring>","media_type":"\u003cstring>","data":"\u003cstring>","url":"\u003cstring>"},"id":"\u003cstring>","name":"\u003cstring>","input":{},"tool_use_id":"\u003cstring>","content":"\u003cstring>"}],"stop_reason":"\u003cstring>","stop_sequence":"\u003cstring>","usage":{"input_tokens":123,"cache_read_input_tokens":123,"cache_creation_input_tokens":123,"cache_creation":{"ephemeral_5m_input_tokens":123,"ephemeral_1h_input_tokens":123},"output_tokens":123,"cost":0.001234567,"cost_details":{"upstream_inference_cost":null}},"context_management":{"applied_edits":[{}]}}}},"exampleType":"generated"},"text/event-stream":{"schema":{"type":"string","uniqueKey":"","typeLabel":"string"},"examples":{"Example":{"title":"Example","value":"\u003cstring>"}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"3af70b6f-61f1-4835-8f51-4fabf4ff0de0":{"BearerAuth":{"type":"http","scheme":"bearer","description":"Authentification par jeton Bearer","scopes":[],"schemeName":"BearerAuth"}}},"servers":{"d91d620a-489c-444e-a73f-e95d69298a96":{"url":"https://api.phaseo.app/v1","description":"Routage mondial"},"cb0052fd-6a7c-4c4c-956e-324ff64b45a7":{"url":"https://eu.api.phaseo.app/v1","description":"Routage régional vers les fournisseurs de l’UE (texte uniquement)"},"3da49998-2a59-4d4a-aed6-7a531279275a":{"url":"https://us.api.phaseo.app/v1","description":"Routage régional vers les fournisseurs des États-Unis (texte uniquement)"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"Authentification par jeton Bearer","scopes":[],"schemeName":"BearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Authentification par jeton Bearer","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"BearerAuth","name":"Authorization"}],"title":"BearerAuth"}]},"originalFileLocation":"fr/openapi/v1/openapi.localized.yaml"},"subdomain":"aistats","siteName":"Phaseo Docs","title":"Créer un message - Phaseo Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/v1/api-reference/endpoint/anthropic-messages","matchLevel":1},"es":{"href":"/es/v1/api-reference/endpoint/anthropic-messages","matchLevel":1},"fr":{"href":"/fr/v1/api-reference/endpoint/anthropic-messages","matchLevel":0},"de":{"href":"/de/v1/api-reference/endpoint/anthropic-messages","matchLevel":1},"pt-BR":{"href":"/pt-BR/v1/api-reference/endpoint/anthropic-messages","matchLevel":1},"ja":{"href":"/ja/v1/api-reference/endpoint/anthropic-messages","matchLevel":1},"zh-Hans":{"href":"/zh-Hans/v1/api-reference/endpoint/anthropic-messages","matchLevel":1},"hi":{"href":"/hi/v1/api-reference/endpoint/anthropic-messages","matchLevel":1},"ar":{"href":"/ar/v1/api-reference/endpoint/anthropic-messages","matchLevel":1}}},"lastModified":"2026-11-11T23:37:34.770Z","gitLastModified":"2026-11-05T13:38:10.000Z","originalFileLocation":"fr/v1/api-reference/endpoint/anthropic-messages.mdx","locale":"fr"},"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=\"Endpoint Messages compatible Anthropic, à l’adresse /v1/messages.\">\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=\"Créer un message - Phaseo Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Endpoint Messages compatible Anthropic, à l’adresse /v1/messages.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Phaseo Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://phaseo.app/docs/fr/v1/api-reference/endpoint/anthropic-messages\">\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=Texte\u0026amp;title=Cr%C3%A9er+un+message\u0026amp;description=Endpoint+Messages+compatible+Anthropic%2C+%C3%A0+l%E2%80%99adresse+%2Fv1%2Fmessages.\u0026amp;theme=8f1a8a6f41ec087882173e2f\u0026amp;signature=9d5066c64e995fb0dff00b180398d66bca0d22133b11903ba7b064ca63e188da\">\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=\"Créer un message - Phaseo Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Endpoint Messages compatible Anthropic, à l’adresse /v1/messages.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://aistats.mintlify.site/docs/_mintlify/api/og/v2?division=Texte\u0026amp;title=Cr%C3%A9er+un+message\u0026amp;description=Endpoint+Messages+compatible+Anthropic%2C+%C3%A0+l%E2%80%99adresse+%2Fv1%2Fmessages.\u0026amp;theme=8f1a8a6f41ec087882173e2f\u0026amp;signature=9d5066c64e995fb0dff00b180398d66bca0d22133b11903ba7b064ca63e188da\">\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/fr/v1/api-reference/endpoint/anthropic-messages\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/fr/v1/api-reference/endpoint/anthropic-messages.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"fr\" href=\"https://phaseo.app/docs/fr/v1/api-reference/endpoint/anthropic-messages\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://phaseo.app/docs/v1/api-reference/endpoint/anthropic-messages\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"es\" href=\"https://phaseo.app/docs/es/v1/api-reference/endpoint/anthropic-messages\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"de\" href=\"https://phaseo.app/docs/de/v1/api-reference/endpoint/anthropic-messages\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"pt-BR\" href=\"https://phaseo.app/docs/pt-BR/v1/api-reference/endpoint/anthropic-messages\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ja\" href=\"https://phaseo.app/docs/ja/v1/api-reference/endpoint/anthropic-messages\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh-Hans\" href=\"https://phaseo.app/docs/zh-Hans/v1/api-reference/endpoint/anthropic-messages\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"hi\" href=\"https://phaseo.app/docs/hi/v1/api-reference/endpoint/anthropic-messages\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ar\" href=\"https://phaseo.app/docs/ar/v1/api-reference/endpoint/anthropic-messages\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://phaseo.app/docs/v1/api-reference/endpoint/anthropic-messages\">\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/fr/v1/api-reference/endpoint/anthropic-messages#webpage\",\"url\":\"https://phaseo.app/docs/fr/v1/api-reference/endpoint/anthropic-messages\",\"name\":\"Créer un message\",\"description\":\"Endpoint Messages compatible Anthropic, à l’adresse /v1/messages.\",\"dateModified\":\"2026-11-05T13:38:10.000Z\",\"isPartOf\":{\"@id\":\"https://phaseo.app/docs#website\"},\"breadcrumb\":{\"@id\":\"https://phaseo.app/docs/fr/v1/api-reference/endpoint/anthropic-messages#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://phaseo.app/docs/fr/v1/api-reference/endpoint/anthropic-messages#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Texte\",\"item\":\"https://phaseo.app/docs/fr/v1/api-reference/endpoint/responses\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Créer un message\",\"item\":\"https://phaseo.app/docs/fr/v1/api-reference/endpoint/anthropic-messages\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://phaseo.app/docs/fr/v1/api-reference/endpoint/anthropic-messages#apireference\",\"headline\":\"Créer un message\",\"name\":\"Créer un message\",\"description\":\"Endpoint Messages compatible Anthropic, à l’adresse /v1/messages.\",\"url\":\"https://phaseo.app/docs/fr/v1/api-reference/endpoint/anthropic-messages\",\"mainEntityOfPage\":{\"@id\":\"https://phaseo.app/docs/fr/v1/api-reference/endpoint/anthropic-messages#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/fr/v1/api-reference/endpoint/anthropic-messages.md","siteName":"Phaseo Docs","nav":{"global":null,"languages":[{"language":"en","pages":[{"title":"en","href":"/v1/api-reference/endpoint/anthropic-messages"}]},{"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/anthropic-messages"}]},{"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"}},"tabs":[{"tab":"Docs","icon":"book","pages":[{"title":"Docs","href":"/fr/v1"}]},{"tab":"Référence API","icon":"server","groups":[{"group":"Guides API","icon":"book-open","expanded":true,"pages":[{"title":"Présentation de l’API Gateway","sidebarTitle":"Présentation","icon":"map","href":"/fr/v1/api-reference/introduction"},{"title":"Authentification","icon":"key-round","href":"/fr/v1/developers/authentication"},{"title":"Paramètres","icon":"sliders-horizontal","href":"/fr/v1/api-reference/parameters"},{"title":"Diffusion en continu","icon":"radio","href":"/fr/v1/guides/streaming"},{"title":"Limites de débit","icon":"gauge","href":"/fr/v1/api-reference/limits"},{"title":"Erreurs et débogage","icon":"bug","href":"/fr/v1/api-reference/errors"}]},{"group":"Texte","icon":"message-square-text","pages":[{"title":"Créer une réponse","sidebarTitle":"Créer une réponse","openapi":"fr/openapi/v1/openapi.localized.yaml POST /responses","href":"/fr/v1/api-reference/endpoint/responses"},{"title":"Créer une complétion de chat","sidebarTitle":"Créer une complétion de chat","openapi":"fr/openapi/v1/openapi.localized.yaml POST /chat/completions","description":"Générez des complétions de chat avec l’endpoint de chat compatible OpenAI.","href":"/fr/v1/api-reference/endpoint/chat-completions"},{"title":"Créer un message","sidebarTitle":"Créer un message (Anthropic)","openapi":"fr/openapi/v1/openapi.localized.yaml POST /messages","href":"/fr/v1/api-reference/endpoint/anthropic-messages"}]},{"group":"Image","icon":"image","pages":[{"title":"Générer une image","sidebarTitle":"Générer une image","openapi":"fr/openapi/v1/openapi.localized.yaml POST /images/generations","description":"Génère une image à partir d’une invite.","href":"/fr/v1/api-reference/endpoint/images-generations"},{"title":"Modifier une image","sidebarTitle":"Modifier une image","openapi":"fr/openapi/v1/openapi.localized.yaml POST /images/edits","href":"/fr/v1/api-reference/endpoint/images-edits"}]},{"group":"Vidéo","icon":"video","tag":"Alpha","pages":[{"title":"Créer une vidéo","openapi":"fr/openapi/v1/openapi.localized.yaml POST /videos","href":"/fr/v1/api-reference/endpoint/video-create"},{"title":"Obtenir l’état d’une vidéo","openapi":"fr/openapi/v1/openapi.localized.yaml GET /videos/{video_id}","href":"/fr/v1/api-reference/endpoint/video-status"},{"title":"Télécharger le contenu vidéo","openapi":"fr/openapi/v1/openapi.localized.yaml GET /videos/{video_id}/content","href":"/fr/v1/api-reference/endpoint/video-content"},{"title":"Créer une URL de téléchargement signée","sidebarTitle":"Créer une URL signée","openapi":"fr/openapi/v1/openapi.localized.yaml POST /videos/{video_id}/download_url","href":"/fr/v1/api-reference/endpoint/video-download-url"},{"title":"Annuler une vidéo","openapi":"fr/openapi/v1/openapi.localized.yaml POST /videos/{video_id}/cancel","href":"/fr/v1/api-reference/endpoint/video-cancel"},{"title":"Supprimer une vidéo","openapi":"fr/openapi/v1/openapi.localized.yaml DELETE /videos/{video_id}","href":"/fr/v1/api-reference/endpoint/video-delete"},{"title":"Lister les vidéos","openapi":"fr/openapi/v1/openapi.localized.yaml GET /videos","href":"/fr/v1/api-reference/endpoint/video-list"},{"title":"Lister les modèles vidéo","openapi":"fr/openapi/v1/openapi.localized.yaml GET /videos/models","href":"/fr/v1/api-reference/endpoint/video-models"}]},{"group":"Embeddings","icon":"braces","pages":[{"title":"Créer des embeddings","sidebarTitle":"Créer des embeddings","openapi":"fr/openapi/v1/openapi.localized.yaml POST /embeddings","href":"/fr/v1/api-reference/endpoint/embeddings"}]},{"group":"Décisions","icon":"signpost","pages":[{"title":"Prendre une décision","openapi":"fr/openapi/v1/openapi.localized.yaml POST /decisions","href":"/fr/v1/api-reference/endpoint/decisions"},{"title":"Extraire des valeurs","icon":"list-filter","openapi":"fr/openapi/v1/openapi.localized.yaml POST /extractions","href":"/fr/v1/api-reference/endpoint/extractions"}]},{"group":"Modération","icon":"shield-check","pages":[{"title":"Créer une modération","sidebarTitle":"Créer une modération","openapi":"fr/openapi/v1/openapi.localized.yaml POST /moderations","href":"/fr/v1/api-reference/endpoint/moderations"}]},{"group":"Réordonnancement","icon":"arrow-down-wide-narrow","pages":[{"title":"Réordonner des documents","sidebarTitle":"Réordonner des documents","openapi":"fr/openapi/v1/openapi.localized.yaml POST /rerank","href":"/fr/v1/api-reference/endpoint/rerank"}]},{"group":"Documents","icon":"file-text","pages":[{"title":"Extraire du texte avec l’OCR","sidebarTitle":"Extraire le texte","openapi":"fr/openapi/v1/openapi.localized.yaml POST /ocr","href":"/fr/v1/api-reference/endpoint/ocr"},{"title":"Analyser une image de document","sidebarTitle":"Analyser un document","openapi":"fr/openapi/v1/openapi.localized.yaml POST /parse","href":"/fr/v1/api-reference/endpoint/parse"}]},{"group":"Parole","icon":"audio-lines","pages":[{"title":"Générer une voix","sidebarTitle":"Générer une voix","openapi":"fr/openapi/v1/openapi.localized.yaml POST /audio/speech","href":"/fr/v1/api-reference/endpoint/audio-speech"}]},{"group":"Transcription","icon":"captions","pages":[{"title":"Créer une transcription","sidebarTitle":"Créer une transcription","openapi":"fr/openapi/v1/openapi.localized.yaml POST /audio/transcriptions","href":"/fr/v1/api-reference/endpoint/audio-transcriptions"}]},{"group":"Traduction","icon":"languages","pages":[{"title":"Créer une traduction","sidebarTitle":"Créer une traduction","openapi":"fr/openapi/v1/openapi.localized.yaml POST /audio/translations","href":"/fr/v1/api-reference/endpoint/audio-translations"}]},{"group":"Musique","icon":"music","pages":[{"title":"Générer de la musique","sidebarTitle":"Générer de la musique","openapi":"fr/openapi/v1/openapi.localized.yaml POST /music/generate","href":"/fr/v1/api-reference/endpoint/music-generate"},{"title":"Récupérer une génération musicale","sidebarTitle":"Récupérer une génération musicale","openapi":"fr/openapi/v1/openapi.localized.yaml GET /music/generate/{music_id}","href":"/fr/v1/api-reference/endpoint/music-status"}]},{"group":"Tâches, fichiers et webhooks","icon":"layers","pages":[{"group":"Traitement par lots","tag":"Beta","expanded":true,"pages":[{"title":"Créer un lot","openapi":"fr/openapi/v1/openapi.localized.yaml POST /batches","href":"/fr/v1/api-reference/endpoint/batches-create"},{"title":"Obtenir l’état d’un lot","openapi":"fr/openapi/v1/openapi.localized.yaml GET /batches/{batch_id}","href":"/fr/v1/api-reference/endpoint/batches-retrieve"},{"title":"Télécharger les résultats d’un lot","openapi":"fr/openapi/v1/openapi.localized.yaml GET /batches/{batch_id}/results","href":"/fr/v1/api-reference/endpoint/batches-results"},{"title":"Lister les requêtes d’un lot","openapi":"fr/openapi/v1/openapi.localized.yaml GET /batches/{batch_id}/requests","href":"/fr/v1/api-reference/endpoint/batches-requests"},{"title":"Annuler un lot","openapi":"fr/openapi/v1/openapi.localized.yaml POST /batches/{batch_id}/cancel","href":"/fr/v1/api-reference/endpoint/batches-cancel"},{"title":"Lister les lots","openapi":"fr/openapi/v1/openapi.localized.yaml GET /batches","href":"/fr/v1/api-reference/endpoint/batches-list"},{"title":"Téléverser un fichier de lot","openapi":"fr/openapi/v1/openapi.localized.yaml POST /batches/files","href":"/fr/v1/api-reference/endpoint/batches-files-upload"},{"title":"Récupérer un fichier de lot","openapi":"fr/openapi/v1/openapi.localized.yaml GET /batches/files/{file_id}","href":"/fr/v1/api-reference/endpoint/batches-files-retrieve"},{"title":"Télécharger le contenu d’un fichier de lot","sidebarTitle":"Télécharger un fichier de lot","openapi":"fr/openapi/v1/openapi.localized.yaml GET /batches/files/{file_id}/content","href":"/fr/v1/api-reference/endpoint/batches-files-content"},{"title":"Lister les fichiers de lots","openapi":"fr/openapi/v1/openapi.localized.yaml GET /batches/files","href":"/fr/v1/api-reference/endpoint/batches-files-list"},{"title":"Lister les modèles de traitement par lots","sidebarTitle":"Lister les modèles de lots","openapi":"fr/openapi/v1/openapi.localized.yaml GET /batches/models","href":"/fr/v1/api-reference/endpoint/batches-models"},{"title":"Lister les capacités des fournisseurs de traitement par lots","sidebarTitle":"Lister les capacités de lots","openapi":"fr/openapi/v1/openapi.localized.yaml GET /batches/capabilities","href":"/fr/v1/api-reference/endpoint/batches-capabilities"}]},{"group":"Fichiers","expanded":true,"pages":[{"title":"Téléverser un fichier","sidebarTitle":"Téléverser un fichier","openapi":"fr/openapi/v1/openapi.localized.yaml POST /files","href":"/fr/v1/api-reference/endpoint/files"},{"title":"Récupérer un fichier","sidebarTitle":"Récupérer le fichier","openapi":"fr/openapi/v1/openapi.localized.yaml GET /files/{file_id}","href":"/fr/v1/api-reference/endpoint/files-retrieve"},{"title":"Télécharger le contenu du fichier","sidebarTitle":"Télécharger le contenu","openapi":"fr/openapi/v1/openapi.localized.yaml GET /files/{file_id}/content","href":"/fr/v1/api-reference/endpoint/files-content"},{"title":"Lister les fichiers","sidebarTitle":"Lister les fichiers","openapi":"fr/openapi/v1/openapi.localized.yaml GET /files","href":"/fr/v1/api-reference/endpoint/files-list"}]},{"group":"Endpoints de webhook","tag":"Beta","expanded":true,"pages":[{"title":"Créer un endpoint webhook","openapi":"fr/openapi/v1/openapi.localized.yaml POST /webhook-endpoints","href":"/fr/v1/api-reference/endpoint/webhook-endpoints-create"},{"title":"Consulter un endpoint webhook","openapi":"fr/openapi/v1/openapi.localized.yaml GET /webhook-endpoints/{id}","href":"/fr/v1/api-reference/endpoint/webhook-endpoints-get"},{"title":"Mettre à jour un endpoint webhook","openapi":"fr/openapi/v1/openapi.localized.yaml PATCH /webhook-endpoints/{id}","href":"/fr/v1/api-reference/endpoint/webhook-endpoints-update"},{"title":"Faire tourner le secret webhook","openapi":"fr/openapi/v1/openapi.localized.yaml POST /webhook-endpoints/{id}/rotate-secret","href":"/fr/v1/api-reference/endpoint/webhook-endpoints-rotate-secret"},{"title":"Supprimer un endpoint webhook","openapi":"fr/openapi/v1/openapi.localized.yaml DELETE /webhook-endpoints/{id}","href":"/fr/v1/api-reference/endpoint/webhook-endpoints-delete"},{"title":"Lister les endpoints webhook","openapi":"fr/openapi/v1/openapi.localized.yaml GET /webhook-endpoints","href":"/fr/v1/api-reference/endpoint/webhook-endpoints-list"}]}]},{"group":"Modèles et tarifs","icon":"boxes","pages":[{"title":"Lister les modèles","sidebarTitle":"Lister les modèles","openapi":"fr/openapi/v1/openapi.localized.yaml GET /models","href":"/fr/v1/api-reference/endpoint/models"},{"title":"Lister les capacités des endpoints d’un modèle","openapi":"fr/openapi/v1/openapi.localized.yaml GET /models/{author}/{slug}/endpoints","href":"/fr/v1/api-reference/endpoint/model-endpoints"},{"title":"Lister les fournisseurs","sidebarTitle":"Lister les fournisseurs","openapi":"fr/openapi/v1/openapi.localized.yaml GET /providers","href":"/fr/v1/api-reference/endpoint/providers"},{"title":"Lister les endpoints","sidebarTitle":"Lister les endpoints","openapi":"fr/openapi/v1/openapi.localized.yaml GET /endpoints","href":"/fr/v1/api-reference/endpoint/endpoints"},{"title":"Lister les tarifs des modèles","sidebarTitle":"Lister les tarifs des modèles","openapi":"fr/openapi/v1/openapi.localized.yaml GET /pricing/models","href":"/fr/v1/api-reference/endpoint/pricing-models"},{"title":"Calculer les tarifs","sidebarTitle":"Calculer les tarifs","openapi":"fr/openapi/v1/openapi.localized.yaml POST /pricing/calculate","href":"/fr/v1/api-reference/endpoint/pricing-calculate"},{"title":"Lister les organisations","sidebarTitle":"Lister les organisations","openapi":"fr/openapi/v1/openapi.localized.yaml GET /organisations","href":"/fr/v1/api-reference/endpoint/organisations"}]},{"group":"Routage et politiques","icon":"route","pages":[{"group":"Routage","expanded":false,"pages":[{"title":"Obtenir les paramètres de l’espace de travail","sidebarTitle":"Obtenir les paramètres","openapi":"fr/openapi/v1/openapi.localized.yaml GET /settings","href":"/fr/v1/api-reference/endpoint/workspace-settings-get"},{"title":"Mettre à jour les paramètres de l’espace de travail","sidebarTitle":"Mettre à jour les paramètres","openapi":"fr/openapi/v1/openapi.localized.yaml PATCH /settings","href":"/fr/v1/api-reference/endpoint/workspace-settings-update"},{"title":"Créer une route dynamique","sidebarTitle":"Créer la route","openapi":"fr/openapi/v1/openapi.localized.yaml POST /routing/dynamic-routes","href":"/fr/v1/api-reference/endpoint/dynamic-routes-create"},{"title":"Obtenir une route dynamique","sidebarTitle":"Obtenir la route","openapi":"fr/openapi/v1/openapi.localized.yaml GET /routing/dynamic-routes/{id}","href":"/fr/v1/api-reference/endpoint/dynamic-routes-get"},{"title":"Mettre à jour une route dynamique","sidebarTitle":"Mettre à jour la route","openapi":"fr/openapi/v1/openapi.localized.yaml PATCH /routing/dynamic-routes/{id}","href":"/fr/v1/api-reference/endpoint/dynamic-routes-update"},{"title":"Remplacer les clés d’une route dynamique","sidebarTitle":"Associer des clés","openapi":"fr/openapi/v1/openapi.localized.yaml PUT /routing/dynamic-routes/{id}/keys","href":"/fr/v1/api-reference/endpoint/dynamic-routes-keys-update"},{"title":"Déployer une version de route dynamique","sidebarTitle":"Déployer la version","openapi":"fr/openapi/v1/openapi.localized.yaml POST /routing/dynamic-routes/{id}/versions/{version}/deploy","href":"/fr/v1/api-reference/endpoint/dynamic-routes-deploy"},{"title":"Supprimer une route dynamique","sidebarTitle":"Supprimer la route","openapi":"fr/openapi/v1/openapi.localized.yaml DELETE /routing/dynamic-routes/{id}","href":"/fr/v1/api-reference/endpoint/dynamic-routes-delete"},{"title":"Lister les routes dynamiques","sidebarTitle":"Lister les routes","openapi":"fr/openapi/v1/openapi.localized.yaml GET /routing/dynamic-routes","href":"/fr/v1/api-reference/endpoint/dynamic-routes-list"},{"title":"Obtenir les paramètres du routage automatique","sidebarTitle":"Obtenir le routage automatique","openapi":"fr/openapi/v1/openapi.localized.yaml GET /routing/auto","href":"/fr/v1/api-reference/endpoint/routing-auto-get"},{"title":"Mettre à jour les paramètres du routage automatique","sidebarTitle":"Mettre à jour le routage automatique","openapi":"fr/openapi/v1/openapi.localized.yaml PATCH /routing/auto","href":"/fr/v1/api-reference/endpoint/routing-auto-update"},{"title":"Lister les remplacements de successeur","sidebarTitle":"Lister les remplacements","openapi":"fr/openapi/v1/openapi.localized.yaml GET /routing/successor/replacements","href":"/fr/v1/api-reference/endpoint/successor-replacements-list"},{"title":"Enregistrer un remplacement de successeur","sidebarTitle":"Enregistrer le remplacement","openapi":"fr/openapi/v1/openapi.localized.yaml PUT /routing/successor/replacements","href":"/fr/v1/api-reference/endpoint/successor-replacements-save"},{"title":"Supprimer un remplacement de successeur","sidebarTitle":"Supprimer le remplacement","openapi":"fr/openapi/v1/openapi.localized.yaml DELETE /routing/successor/replacements","href":"/fr/v1/api-reference/endpoint/successor-replacements-remove"}]},{"group":"Préréglages","expanded":false,"pages":[{"title":"Créer un préréglage","sidebarTitle":"Créer le préréglage","openapi":"fr/openapi/v1/openapi.localized.yaml POST /presets","href":"/fr/v1/api-reference/endpoint/presets-create"},{"title":"Obtenir un préréglage","sidebarTitle":"Obtenir le préréglage","openapi":"fr/openapi/v1/openapi.localized.yaml GET /presets/{id}","href":"/fr/v1/api-reference/endpoint/presets-get"},{"title":"Mettre à jour le brouillon du préréglage","sidebarTitle":"Mettre à jour le préréglage","openapi":"fr/openapi/v1/openapi.localized.yaml PATCH /presets/{id}","href":"/fr/v1/api-reference/endpoint/presets-update"},{"title":"Publier une version du préréglage","sidebarTitle":"Publier la version","openapi":"fr/openapi/v1/openapi.localized.yaml POST /presets/{id}/versions","href":"/fr/v1/api-reference/endpoint/presets-version-publish"},{"title":"Lister les versions du préréglage","sidebarTitle":"Lister les versions","openapi":"fr/openapi/v1/openapi.localized.yaml GET /presets/{id}/versions","href":"/fr/v1/api-reference/endpoint/presets-versions-list"},{"title":"Lister les libellés du préréglage","sidebarTitle":"Lister les libellés","openapi":"fr/openapi/v1/openapi.localized.yaml GET /presets/{id}/labels","href":"/fr/v1/api-reference/endpoint/presets-labels-list"},{"title":"Définir un libellé du préréglage","sidebarTitle":"Définir le libellé","openapi":"fr/openapi/v1/openapi.localized.yaml PUT /presets/{id}/labels/{label}","href":"/fr/v1/api-reference/endpoint/presets-label-set"},{"title":"Supprimer un libellé du préréglage","sidebarTitle":"Supprimer le libellé","openapi":"fr/openapi/v1/openapi.localized.yaml DELETE /presets/{id}/labels/{label}","href":"/fr/v1/api-reference/endpoint/presets-label-delete"},{"title":"Dériver un préréglage public","sidebarTitle":"Dériver le préréglage","openapi":"fr/openapi/v1/openapi.localized.yaml POST /presets/{id}/fork","href":"/fr/v1/api-reference/endpoint/presets-fork"},{"title":"Appliquer la version amont du préréglage","sidebarTitle":"Appliquer la version amont","openapi":"fr/openapi/v1/openapi.localized.yaml POST /presets/{id}/upstream","href":"/fr/v1/api-reference/endpoint/presets-upstream-apply"},{"title":"Archiver un préréglage","sidebarTitle":"Archiver le préréglage","openapi":"fr/openapi/v1/openapi.localized.yaml DELETE /presets/{id}","href":"/fr/v1/api-reference/endpoint/presets-delete"},{"title":"Lister les préréglages","sidebarTitle":"Lister les préréglages","openapi":"fr/openapi/v1/openapi.localized.yaml GET /presets","href":"/fr/v1/api-reference/endpoint/presets-list"},{"title":"Obtenir l’éditeur du préréglage","sidebarTitle":"Obtenir l’éditeur","openapi":"fr/openapi/v1/openapi.localized.yaml GET /presets/publisher","href":"/fr/v1/api-reference/endpoint/presets-publisher-get"},{"title":"Mettre à jour l’éditeur du préréglage","sidebarTitle":"Mettre à jour l’éditeur","openapi":"fr/openapi/v1/openapi.localized.yaml PUT /presets/publisher","href":"/fr/v1/api-reference/endpoint/presets-publisher-update"}]},{"group":"Modèles privés","expanded":false,"pages":[{"title":"Créer un modèle privé","sidebarTitle":"Créer un modèle privé","openapi":"fr/openapi/v1/openapi.localized.yaml POST /private-models","href":"/fr/v1/api-reference/endpoint/private-models-create"},{"title":"Obtenir un modèle privé","sidebarTitle":"Obtenir un modèle privé","openapi":"fr/openapi/v1/openapi.localized.yaml GET /private-models/{id}","href":"/fr/v1/api-reference/endpoint/private-models-get"},{"title":"Mettre à jour un modèle privé","sidebarTitle":"Mettre à jour un modèle privé","openapi":"fr/openapi/v1/openapi.localized.yaml PATCH /private-models/{id}","href":"/fr/v1/api-reference/endpoint/private-models-update"},{"title":"Supprimer un modèle privé","sidebarTitle":"Supprimer un modèle privé","openapi":"fr/openapi/v1/openapi.localized.yaml DELETE /private-models/{id}","href":"/fr/v1/api-reference/endpoint/private-models-delete"},{"title":"Lister les modèles privés","sidebarTitle":"Lister les modèles privés","openapi":"fr/openapi/v1/openapi.localized.yaml GET /private-models","href":"/fr/v1/api-reference/endpoint/private-models-list"}]},{"group":"Identifiants des fournisseurs","expanded":false,"pages":[{"title":"Créer un identifiant fournisseur","sidebarTitle":"Créer un identifiant","openapi":"fr/openapi/v1/openapi.localized.yaml POST /byok","href":"/fr/v1/api-reference/endpoint/provider-credentials-create"},{"title":"Obtenir les identifiants du fournisseur","sidebarTitle":"Obtenir l’identifiant","openapi":"fr/openapi/v1/openapi.localized.yaml GET /byok/{id}","href":"/fr/v1/api-reference/endpoint/provider-credentials-get"},{"title":"Mettre à jour les identifiants du fournisseur","sidebarTitle":"Mettre à jour l’identifiant","openapi":"fr/openapi/v1/openapi.localized.yaml PATCH /byok/{id}","href":"/fr/v1/api-reference/endpoint/provider-credentials-update"},{"title":"Réorganiser les identifiants du fournisseur","sidebarTitle":"Réorganiser les identifiants","openapi":"fr/openapi/v1/openapi.localized.yaml POST /byok/reorder","href":"/fr/v1/api-reference/endpoint/provider-credentials-reorder"},{"title":"Supprimer les identifiants du fournisseur","sidebarTitle":"Supprimer l’identifiant","openapi":"fr/openapi/v1/openapi.localized.yaml DELETE /byok/{id}","href":"/fr/v1/api-reference/endpoint/provider-credentials-delete"},{"title":"Lister les identifiants du fournisseur","sidebarTitle":"Lister les identifiants","openapi":"fr/openapi/v1/openapi.localized.yaml GET /byok","href":"/fr/v1/api-reference/endpoint/provider-credentials-list"}]},{"group":"Garde-fous","expanded":false,"pages":[{"icon":"shield-check","title":"API des garde-fous","sidebarTitle":"Présentation","href":"/fr/v1/api-reference/endpoint/guardrails"},{"title":"Créer un garde-fou","sidebarTitle":"Créer un garde-fou","openapi":"fr/openapi/v1/openapi.localized.yaml POST /guardrails","href":"/fr/v1/api-reference/endpoint/guardrails-create"},{"title":"Obtenir un garde-fou","sidebarTitle":"Obtenir le garde-fou","openapi":"fr/openapi/v1/openapi.localized.yaml GET /guardrails/{id}","href":"/fr/v1/api-reference/endpoint/guardrails-get"},{"title":"Mettre à jour le garde-fou","sidebarTitle":"Mettre à jour le garde-fou","openapi":"fr/openapi/v1/openapi.localized.yaml PATCH /guardrails/{id}","href":"/fr/v1/api-reference/endpoint/guardrails-update"},{"title":"Supprimer un garde-fou","sidebarTitle":"Supprimer le garde-fou","openapi":"fr/openapi/v1/openapi.localized.yaml DELETE /guardrails/{id}","href":"/fr/v1/api-reference/endpoint/guardrails-delete"},{"title":"Lister les garde-fous","sidebarTitle":"Lister les garde-fous","openapi":"fr/openapi/v1/openapi.localized.yaml GET /guardrails","href":"/fr/v1/api-reference/endpoint/guardrails-list"},{"title":"Ajouter des clés au garde-fou","sidebarTitle":"Ajouter les clés attribuées","openapi":"fr/openapi/v1/openapi.localized.yaml POST /guardrails/{id}/keys/add","href":"/fr/v1/api-reference/endpoint/guardrail-keys-add"},{"title":"Remplacer les clés du garde-fou","sidebarTitle":"Remplacer les clés attribuées","openapi":"fr/openapi/v1/openapi.localized.yaml PUT /guardrails/{id}/keys","href":"/fr/v1/api-reference/endpoint/guardrail-keys-replace"},{"title":"Supprimer les clés du garde-fou","sidebarTitle":"Supprimer les clés attribuées","openapi":"fr/openapi/v1/openapi.localized.yaml POST /guardrails/{id}/keys/remove","href":"/fr/v1/api-reference/endpoint/guardrail-keys-remove"},{"title":"Lister les clés du garde-fou","sidebarTitle":"Lister les clés attribuées","openapi":"fr/openapi/v1/openapi.localized.yaml GET /guardrails/{id}/keys","href":"/fr/v1/api-reference/endpoint/guardrail-keys-list"},{"title":"Ajouter des membres au garde-fou","sidebarTitle":"Ajouter les membres attribués","openapi":"fr/openapi/v1/openapi.localized.yaml POST /guardrails/{id}/members/add","href":"/fr/v1/api-reference/endpoint/guardrail-members-add"},{"title":"Supprimer des membres du garde-fou","sidebarTitle":"Supprimer les membres attribués","openapi":"fr/openapi/v1/openapi.localized.yaml POST /guardrails/{id}/members/remove","href":"/fr/v1/api-reference/endpoint/guardrail-members-remove"},{"title":"Lister les membres du garde-fou","sidebarTitle":"Lister les membres attribués","openapi":"fr/openapi/v1/openapi.localized.yaml GET /guardrails/{id}/members","href":"/fr/v1/api-reference/endpoint/guardrail-members-list"}]}]},{"group":"Utilisation et surveillance","icon":"chart-no-axes-combined","pages":[{"group":"Utilisation et analytique","expanded":true,"pages":[{"title":"Récupérer une génération","sidebarTitle":"Récupérer une génération","openapi":"fr/openapi/v1/openapi.localized.yaml GET /generations","href":"/fr/v1/api-reference/endpoint/generation"},{"title":"Lister l’activité","sidebarTitle":"Lister l’activité","openapi":"fr/openapi/v1/openapi.localized.yaml GET /activity","href":"/fr/v1/api-reference/endpoint/activity"},{"title":"Lister les événements d’audit de l’espace de travail","sidebarTitle":"Événements d’audit","openapi":"fr/openapi/v1/openapi.localized.yaml GET /audit-events","href":"/fr/v1/api-reference/endpoint/audit-events"},{"title":"Obtenir les analyses de l’espace de travail","sidebarTitle":"Obtenir les analyses","openapi":"fr/openapi/v1/openapi.localized.yaml GET /analytics","href":"/fr/v1/api-reference/endpoint/analytics-get"},{"title":"Exporter les analyses de l’espace de travail","sidebarTitle":"Exporter les analyses","openapi":"fr/openapi/v1/openapi.localized.yaml GET /analytics/export","href":"/fr/v1/api-reference/endpoint/analytics-export"},{"title":"Vérifier l’état de la passerelle","sidebarTitle":"Vérification de l’état","openapi":"fr/openapi/v1/openapi.localized.yaml GET /health","href":"/fr/v1/api-reference/endpoint/health"}]},{"group":"Journaux","expanded":true,"pages":[{"title":"Lister les journaux des requêtes du Gateway","sidebarTitle":"Lister les journaux","openapi":"fr/openapi/v1/openapi.localized.yaml GET /logs","href":"/fr/v1/api-reference/endpoint/logs-list"},{"title":"Consulter le journal des requêtes du Gateway","sidebarTitle":"Consulter un journal","openapi":"fr/openapi/v1/openapi.localized.yaml GET /logs/{requestId}","href":"/fr/v1/api-reference/endpoint/logs-get"}]},{"group":"Observabilité","expanded":true,"pages":[{"title":"Obtenir la politique de journalisation de l’observabilité","sidebarTitle":"Consulter la politique","openapi":"fr/openapi/v1/openapi.localized.yaml GET /observability/logging-policy","href":"/fr/v1/api-reference/endpoint/observability-logging-policy-get"},{"title":"Mettre à jour la politique de journalisation de l’observabilité","sidebarTitle":"Modifier la politique","openapi":"fr/openapi/v1/openapi.localized.yaml PATCH /observability/logging-policy","href":"/fr/v1/api-reference/endpoint/observability-logging-policy-update"},{"title":"Créer une destination d’observabilité","sidebarTitle":"Créer la destination","openapi":"fr/openapi/v1/openapi.localized.yaml POST /observability/destinations","href":"/fr/v1/api-reference/endpoint/observability-destinations-create"},{"title":"Obtenir une destination d’observabilité","sidebarTitle":"Obtenir la destination","openapi":"fr/openapi/v1/openapi.localized.yaml GET /observability/destinations/{id}","href":"/fr/v1/api-reference/endpoint/observability-destinations-get"},{"title":"Mettre à jour une destination d’observabilité","sidebarTitle":"Mettre à jour la destination","openapi":"fr/openapi/v1/openapi.localized.yaml PATCH /observability/destinations/{id}","href":"/fr/v1/api-reference/endpoint/observability-destinations-update"},{"title":"Supprimer une destination d’observabilité","sidebarTitle":"Supprimer la destination","openapi":"fr/openapi/v1/openapi.localized.yaml DELETE /observability/destinations/{id}","href":"/fr/v1/api-reference/endpoint/observability-destinations-delete"},{"title":"Lister les destinations d’observabilité","sidebarTitle":"Lister les destinations","openapi":"fr/openapi/v1/openapi.localized.yaml GET /observability/destinations","href":"/fr/v1/api-reference/endpoint/observability-destinations-list"},{"title":"Tester les paramètres d’une destination","sidebarTitle":"Tester les paramètres","openapi":"fr/openapi/v1/openapi.localized.yaml POST /observability/destinations/test","href":"/fr/v1/api-reference/endpoint/observability-destinations-test-config"},{"title":"Vérifier la connexion d’une destination","sidebarTitle":"Vérifier la connexion","openapi":"fr/openapi/v1/openapi.localized.yaml POST /observability/destinations/{id}/test","href":"/fr/v1/api-reference/endpoint/observability-destinations-test"},{"title":"Envoyer une trace d’exemple","sidebarTitle":"Envoyer une trace d’exemple","openapi":"fr/openapi/v1/openapi.localized.yaml POST /observability/destinations/{id}/sample","href":"/fr/v1/api-reference/endpoint/observability-destinations-sample"},{"title":"Tester un classificateur de requêtes","sidebarTitle":"Tester le classificateur","openapi":"fr/openapi/v1/openapi.localized.yaml POST /classifiers/test","href":"/fr/v1/api-reference/endpoint/classifiers-test"}]},{"group":"Retours et évaluations","tag":"Alpha","expanded":false,"pages":[{"title":"Créer un retour du Gateway","openapi":"fr/openapi/v1/openapi.localized.yaml POST /feedback","href":"/fr/v1/api-reference/endpoint/feedback-create"},{"title":"Lister les retours du Gateway","openapi":"fr/openapi/v1/openapi.localized.yaml GET /feedback","href":"/fr/v1/api-reference/endpoint/feedback-list"},{"title":"Résumer les retours du Gateway","openapi":"fr/openapi/v1/openapi.localized.yaml GET /feedback/summary","href":"/fr/v1/api-reference/endpoint/feedback-summary"},{"title":"Créer un événement d’observabilité","openapi":"fr/openapi/v1/openapi.localized.yaml POST /events","href":"/fr/v1/api-reference/endpoint/events-create"},{"title":"Lister les événements d’observabilité","sidebarTitle":"Lister les événements","openapi":"fr/openapi/v1/openapi.localized.yaml GET /events","href":"/fr/v1/api-reference/endpoint/events-list"},{"title":"Créer une exécution de test de préréglage","sidebarTitle":"Créer un test de préréglage","openapi":"fr/openapi/v1/openapi.localized.yaml POST /preset-test-runs","href":"/fr/v1/api-reference/endpoint/preset-test-run-create"},{"title":"Consulter une exécution de test de préréglage","sidebarTitle":"Consulter un test de préréglage","openapi":"fr/openapi/v1/openapi.localized.yaml GET /preset-test-runs/{id}","href":"/fr/v1/api-reference/endpoint/preset-test-run-get"},{"title":"Mettre à jour une exécution de test de préréglage","sidebarTitle":"Modifier un test de préréglage","openapi":"fr/openapi/v1/openapi.localized.yaml PATCH /preset-test-runs/{id}","href":"/fr/v1/api-reference/endpoint/preset-test-run-update"},{"title":"Lister les exécutions de test des préréglages","sidebarTitle":"Lister les tests de préréglages","openapi":"fr/openapi/v1/openapi.localized.yaml GET /preset-test-runs","href":"/fr/v1/api-reference/endpoint/preset-test-runs-list"}]}]},{"group":"Gestion des espaces de travail","icon":"users","pages":[{"group":"Espaces de travail","expanded":false,"pages":[{"title":"Créer un espace de travail","sidebarTitle":"Créer l’espace de travail","openapi":"fr/openapi/v1/openapi.localized.yaml POST /workspaces","href":"/fr/v1/api-reference/endpoint/workspaces-create"},{"title":"Obtenir un espace de travail","sidebarTitle":"Obtenir l’espace de travail","openapi":"fr/openapi/v1/openapi.localized.yaml GET /workspaces/{id}","href":"/fr/v1/api-reference/endpoint/workspaces-get"},{"title":"Mettre à jour un espace de travail","sidebarTitle":"Mettre à jour l’espace de travail","openapi":"fr/openapi/v1/openapi.localized.yaml PATCH /workspaces/{id}","href":"/fr/v1/api-reference/endpoint/workspaces-update"},{"title":"Supprimer un espace de travail","sidebarTitle":"Supprimer l’espace de travail","openapi":"fr/openapi/v1/openapi.localized.yaml DELETE /workspaces/{id}","href":"/fr/v1/api-reference/endpoint/workspaces-delete"},{"title":"Lister les espaces de travail","sidebarTitle":"Lister les espaces de travail","openapi":"fr/openapi/v1/openapi.localized.yaml GET /workspaces","href":"/fr/v1/api-reference/endpoint/workspaces-list"},{"title":"Ajouter des membres à l’espace de travail","sidebarTitle":"Ajouter des membres","openapi":"fr/openapi/v1/openapi.localized.yaml POST /workspaces/{id}/members/add","href":"/fr/v1/api-reference/endpoint/workspace-members-add"},{"title":"Mettre à jour le rôle d’un membre de l’espace de travail","sidebarTitle":"Mettre à jour le rôle","openapi":"fr/openapi/v1/openapi.localized.yaml PATCH /workspaces/{id}/members/{user_id}","href":"/fr/v1/api-reference/endpoint/workspace-member-role-update"},{"title":"Supprimer des membres de l’espace de travail","sidebarTitle":"Supprimer des membres","openapi":"fr/openapi/v1/openapi.localized.yaml POST /workspaces/{id}/members/remove","href":"/fr/v1/api-reference/endpoint/workspace-members-remove"},{"title":"Lister les membres de l’espace de travail","sidebarTitle":"Lister les membres","openapi":"fr/openapi/v1/openapi.localized.yaml GET /workspaces/{id}/members","href":"/fr/v1/api-reference/endpoint/workspace-members-list"},{"title":"Créer une invitation à l’espace de travail","sidebarTitle":"Créer l’invitation","openapi":"fr/openapi/v1/openapi.localized.yaml POST /workspaces/{id}/invites","href":"/fr/v1/api-reference/endpoint/workspace-invites-create"},{"title":"Supprimer une invitation de l’espace de travail","sidebarTitle":"Supprimer l’invitation","openapi":"fr/openapi/v1/openapi.localized.yaml DELETE /workspaces/{id}/invites/{invite_id}","href":"/fr/v1/api-reference/endpoint/workspace-invites-delete"},{"title":"Lister les invitations de l’espace de travail","sidebarTitle":"Lister les invitations","openapi":"fr/openapi/v1/openapi.localized.yaml GET /workspaces/{id}/invites","href":"/fr/v1/api-reference/endpoint/workspace-invites-list"},{"title":"Lister les demandes d’accès à l’espace de travail","sidebarTitle":"Lister les demandes d’accès","openapi":"fr/openapi/v1/openapi.localized.yaml GET /workspaces/{id}/join-requests","href":"/fr/v1/api-reference/endpoint/workspace-join-requests-list"},{"title":"Approuver une demande d’accès à l’espace de travail","sidebarTitle":"Approuver la demande d’accès","openapi":"fr/openapi/v1/openapi.localized.yaml POST /workspaces/{id}/join-requests/{request_id}/approve","href":"/fr/v1/api-reference/endpoint/workspace-join-request-approve"},{"title":"Refuser une demande d’accès à l’espace de travail","sidebarTitle":"Refuser la demande d’accès","openapi":"fr/openapi/v1/openapi.localized.yaml POST /workspaces/{id}/join-requests/{request_id}/reject","href":"/fr/v1/api-reference/endpoint/workspace-join-request-reject"},{"title":"Accepter une invitation à un espace de travail","sidebarTitle":"Accepter l’invitation","openapi":"fr/openapi/v1/openapi.localized.yaml POST /invites/accept","href":"/fr/v1/api-reference/endpoint/invites-accept"},{"title":"Lister vos demandes d’adhésion","sidebarTitle":"Lister vos demandes","openapi":"fr/openapi/v1/openapi.localized.yaml GET /invites/requests","href":"/fr/v1/api-reference/endpoint/invites-requests-list"},{"title":"Obtenir le palier de limite de débit","sidebarTitle":"Obtenir le palier","openapi":"fr/openapi/v1/openapi.localized.yaml GET /rate-limits/tier","href":"/fr/v1/api-reference/endpoint/rate-limits-tier-get"},{"title":"Relever le palier de limite de débit","sidebarTitle":"Relever le palier","openapi":"fr/openapi/v1/openapi.localized.yaml POST /rate-limits/tier/raise","href":"/fr/v1/api-reference/endpoint/rate-limits-tier-raise"}]},{"group":"Clés API","expanded":false,"pages":[{"title":"Obtenir la clé API actuelle","sidebarTitle":"Obtenir la clé API actuelle","openapi":"fr/openapi/v1/openapi.localized.yaml GET /key","href":"/fr/v1/api-reference/endpoint/key-current"},{"title":"Créer une clé API","sidebarTitle":"Créer une clé API","openapi":"fr/openapi/v1/openapi.localized.yaml POST /keys","href":"/fr/v1/api-reference/endpoint/keys-create"},{"title":"Obtenir une clé API","sidebarTitle":"Obtenir une clé API","openapi":"fr/openapi/v1/openapi.localized.yaml GET /keys/{id}","href":"/fr/v1/api-reference/endpoint/keys-get"},{"title":"Mettre à jour une clé API","sidebarTitle":"Mettre à jour la clé API","openapi":"fr/openapi/v1/openapi.localized.yaml PATCH /keys/{id}","href":"/fr/v1/api-reference/endpoint/keys-update"},{"title":"Renouveler une clé API","openapi":"fr/openapi/v1/openapi.localized.yaml POST /keys/{id}/rotate","href":"/fr/v1/api-reference/endpoint/keys-rotate"},{"title":"Invalider le cache des clés API","openapi":"fr/openapi/v1/openapi.localized.yaml POST /keys/{id}/invalidate","href":"/fr/v1/api-reference/endpoint/keys-invalidate"},{"title":"Supprimer une clé API","sidebarTitle":"Supprimer la clé API","openapi":"fr/openapi/v1/openapi.localized.yaml DELETE /keys/{id}","href":"/fr/v1/api-reference/endpoint/keys-delete"},{"title":"Lister les clés API","sidebarTitle":"Lister les clés API","openapi":"fr/openapi/v1/openapi.localized.yaml GET /keys","href":"/fr/v1/api-reference/endpoint/keys-list"},{"title":"Signaler une clé d’API divulguée","sidebarTitle":"Signaler une clé divulguée","openapi":"fr/openapi/v1/openapi.localized.yaml POST /security/report-leaked-key","href":"/fr/v1/api-reference/endpoint/security-report-leaked-key"},{"title":"Lister les règles de workloads de confiance","sidebarTitle":"Lister les règles de workloads de confiance","openapi":"fr/openapi/v1/openapi.localized.yaml GET /workload-identity/policies","href":"/fr/v1/api-reference/endpoint/trusted-workloads-list"},{"title":"Créer une règle de workload de confiance","sidebarTitle":"Créer une règle de workload de confiance","openapi":"fr/openapi/v1/openapi.localized.yaml POST /workload-identity/policies","href":"/fr/v1/api-reference/endpoint/trusted-workloads-create"},{"title":"Obtenir une règle de workload de confiance","sidebarTitle":"Obtenir une règle de workload de confiance","openapi":"fr/openapi/v1/openapi.localized.yaml GET /workload-identity/policies/{id}","href":"/fr/v1/api-reference/endpoint/trusted-workloads-get"},{"title":"Modifier une règle de workload de confiance","sidebarTitle":"Modifier une règle de workload de confiance","openapi":"fr/openapi/v1/openapi.localized.yaml PATCH /workload-identity/policies/{id}","href":"/fr/v1/api-reference/endpoint/trusted-workloads-update"},{"title":"Supprimer une règle de workload de confiance","sidebarTitle":"Supprimer une règle de workload de confiance","openapi":"fr/openapi/v1/openapi.localized.yaml DELETE /workload-identity/policies/{id}","href":"/fr/v1/api-reference/endpoint/trusted-workloads-delete"}]},{"group":"Clés de gestion","expanded":false,"pages":[{"title":"Créer une clé de gestion","sidebarTitle":"Créer une clé de gestion","openapi":"fr/openapi/v1/openapi.localized.yaml POST /management-keys","href":"/fr/v1/api-reference/endpoint/management-keys-create"},{"title":"Obtenir une clé de gestion","sidebarTitle":"Obtenir la clé de gestion","openapi":"fr/openapi/v1/openapi.localized.yaml GET /management-keys/{id}","href":"/fr/v1/api-reference/endpoint/management-keys-get"},{"title":"Mettre à jour une clé de gestion","sidebarTitle":"Mettre à jour la clé de gestion","openapi":"fr/openapi/v1/openapi.localized.yaml PATCH /management-keys/{id}","href":"/fr/v1/api-reference/endpoint/management-keys-update"},{"title":"Supprimer une clé de gestion","sidebarTitle":"Supprimer la clé de gestion","openapi":"fr/openapi/v1/openapi.localized.yaml DELETE /management-keys/{id}","href":"/fr/v1/api-reference/endpoint/management-keys-delete"},{"title":"Lister les clés de gestion","sidebarTitle":"Lister les clés de gestion","openapi":"fr/openapi/v1/openapi.localized.yaml GET /management-keys","href":"/fr/v1/api-reference/endpoint/management-keys-list"}]},{"group":"Crédits et budgets","expanded":false,"pages":[{"title":"Consulter les crédits","sidebarTitle":"Consulter les crédits","openapi":"fr/openapi/v1/openapi.localized.yaml GET /credits","href":"/fr/v1/api-reference/endpoint/credits"},{"title":"Créer un budget d’espace de travail","sidebarTitle":"Créer le budget","openapi":"fr/openapi/v1/openapi.localized.yaml POST /budgets","href":"/fr/v1/api-reference/endpoint/budgets-create"},{"title":"Obtenir un budget d’espace de travail","sidebarTitle":"Obtenir le budget","openapi":"fr/openapi/v1/openapi.localized.yaml GET /budgets/{id}","href":"/fr/v1/api-reference/endpoint/budgets-get"},{"title":"Mettre à jour un budget d’espace de travail","sidebarTitle":"Mettre à jour le budget","openapi":"fr/openapi/v1/openapi.localized.yaml PATCH /budgets/{id}","href":"/fr/v1/api-reference/endpoint/budgets-update"},{"title":"Supprimer un budget d’espace de travail","sidebarTitle":"Supprimer le budget","openapi":"fr/openapi/v1/openapi.localized.yaml DELETE /budgets/{id}","href":"/fr/v1/api-reference/endpoint/budgets-delete"},{"title":"Lister les budgets de l’espace de travail","sidebarTitle":"Lister les budgets","openapi":"fr/openapi/v1/openapi.localized.yaml GET /budgets","href":"/fr/v1/api-reference/endpoint/budgets-list"}]},{"group":"Règles de dépenses","expanded":false,"pages":[{"title":"Créer une règle de dépenses","sidebarTitle":"Créer une règle","openapi":"fr/openapi/v1/openapi.localized.yaml POST /spend-rules","href":"/fr/v1/api-reference/endpoint/spend-rules-create"},{"title":"Obtenir une règle de dépenses","sidebarTitle":"Obtenir une règle","openapi":"fr/openapi/v1/openapi.localized.yaml GET /spend-rules/{id}","href":"/fr/v1/api-reference/endpoint/spend-rules-get"},{"title":"Mettre à jour une règle de dépenses","sidebarTitle":"Mettre à jour une règle","openapi":"fr/openapi/v1/openapi.localized.yaml PATCH /spend-rules/{id}","href":"/fr/v1/api-reference/endpoint/spend-rules-update"},{"title":"Supprimer une règle de dépenses","sidebarTitle":"Supprimer une règle","openapi":"fr/openapi/v1/openapi.localized.yaml DELETE /spend-rules/{id}","href":"/fr/v1/api-reference/endpoint/spend-rules-delete"},{"title":"Lister les règles de dépenses","sidebarTitle":"Lister les règles","openapi":"fr/openapi/v1/openapi.localized.yaml GET /spend-rules","href":"/fr/v1/api-reference/endpoint/spend-rules-list"},{"title":"Prévisualiser une règle de dépenses","sidebarTitle":"Prévisualiser une règle","openapi":"fr/openapi/v1/openapi.localized.yaml GET /spend-rules/{id}/preview","href":"/fr/v1/api-reference/endpoint/spend-rules-preview"},{"title":"Envoyer une alerte de dépenses de test","sidebarTitle":"Envoyer un test","openapi":"fr/openapi/v1/openapi.localized.yaml POST /spend-rules/{id}/test","href":"/fr/v1/api-reference/endpoint/spend-rules-test"},{"title":"Lister l'historique d'une règle de dépenses","sidebarTitle":"Historique de la règle","openapi":"fr/openapi/v1/openapi.localized.yaml GET /spend-rules/{id}/history","href":"/fr/v1/api-reference/endpoint/spend-rules-history"},{"title":"Lister les blocages de dépenses","sidebarTitle":"Lister les blocages","openapi":"fr/openapi/v1/openapi.localized.yaml GET /spend-blocks","href":"/fr/v1/api-reference/endpoint/spend-blocks-list"},{"title":"Lever un blocage de dépenses","sidebarTitle":"Lever un blocage","openapi":"fr/openapi/v1/openapi.localized.yaml POST /spend-blocks/{id}/lift","href":"/fr/v1/api-reference/endpoint/spend-blocks-lift"}]},{"group":"Applications OAuth","expanded":false,"pages":[{"title":"Créer un client OAuth","openapi":"fr/openapi/v1/openapi.localized.yaml POST /oauth-clients","href":"/fr/v1/api-reference/endpoint/oauth-clients-create"},{"title":"Consulter un client OAuth","openapi":"fr/openapi/v1/openapi.localized.yaml GET /oauth-clients/{client_id}","href":"/fr/v1/api-reference/endpoint/oauth-clients-get"},{"title":"Mettre à jour un client OAuth","openapi":"fr/openapi/v1/openapi.localized.yaml PATCH /oauth-clients/{client_id}","href":"/fr/v1/api-reference/endpoint/oauth-clients-update"},{"title":"Régénérer le secret OAuth","openapi":"fr/openapi/v1/openapi.localized.yaml POST /oauth-clients/{client_id}/regenerate-secret","href":"/fr/v1/api-reference/endpoint/oauth-clients-regenerate-secret"},{"title":"Supprimer un client OAuth","openapi":"fr/openapi/v1/openapi.localized.yaml DELETE /oauth-clients/{client_id}","href":"/fr/v1/api-reference/endpoint/oauth-clients-delete"},{"title":"Lister les clients OAuth","openapi":"fr/openapi/v1/openapi.localized.yaml GET /oauth-clients","href":"/fr/v1/api-reference/endpoint/oauth-clients-list"},{"title":"Obtenir l’utilisateur connecté","sidebarTitle":"Obtenir l’utilisateur connecté","openapi":"fr/openapi/v1/openapi.localized.yaml GET /me","href":"/fr/v1/api-reference/endpoint/me-get"},{"title":"Obtenir votre profil","sidebarTitle":"Obtenir le profil","openapi":"fr/openapi/v1/openapi.localized.yaml GET /me/profile","href":"/fr/v1/api-reference/endpoint/profile-get"},{"title":"Mettre à jour votre profil","sidebarTitle":"Mettre à jour le profil","openapi":"fr/openapi/v1/openapi.localized.yaml PATCH /me/profile","href":"/fr/v1/api-reference/endpoint/profile-update"},{"title":"Lister les applications autorisées","sidebarTitle":"Lister les applications autorisées","openapi":"fr/openapi/v1/openapi.localized.yaml GET /me/authorized-apps","href":"/fr/v1/api-reference/endpoint/authorized-apps-list"},{"title":"Retirer des portées d’une application autorisée","sidebarTitle":"Réduire les portées","openapi":"fr/openapi/v1/openapi.localized.yaml PATCH /me/authorized-apps/{id}","href":"/fr/v1/api-reference/endpoint/authorized-apps-update-scopes"},{"title":"Révoquer une application autorisée","sidebarTitle":"Révoquer l’application","openapi":"fr/openapi/v1/openapi.localized.yaml DELETE /me/authorized-apps/{id}","href":"/fr/v1/api-reference/endpoint/authorized-apps-revoke"}]},{"group":"SSO et SCIM","tag":"Beta","expanded":false,"pages":[{"title":"Consulter le SSO de l’espace de travail","sidebarTitle":"Consulter le SSO","openapi":"fr/openapi/v1/openapi.localized.yaml GET /identity/sso","href":"/fr/v1/api-reference/endpoint/identity-sso-get"},{"title":"Mettre à jour le SSO de l’espace de travail","sidebarTitle":"Modifier le SSO","openapi":"fr/openapi/v1/openapi.localized.yaml PUT /identity/sso","href":"/fr/v1/api-reference/endpoint/identity-sso-update"},{"title":"Consulter SCIM de l’espace de travail","sidebarTitle":"Consulter SCIM","openapi":"fr/openapi/v1/openapi.localized.yaml GET /identity/scim","href":"/fr/v1/api-reference/endpoint/identity-scim-get"},{"title":"Mettre à jour SCIM de l’espace de travail","sidebarTitle":"Modifier SCIM","openapi":"fr/openapi/v1/openapi.localized.yaml PUT /identity/scim","href":"/fr/v1/api-reference/endpoint/identity-scim-update"},{"title":"Créer un jeton SCIM","openapi":"fr/openapi/v1/openapi.localized.yaml POST /identity/scim/tokens","href":"/fr/v1/api-reference/endpoint/identity-scim-token-create"},{"title":"Révoquer un jeton SCIM","openapi":"fr/openapi/v1/openapi.localized.yaml DELETE /identity/scim/tokens/{id}","href":"/fr/v1/api-reference/endpoint/identity-scim-token-revoke"},{"title":"Lister les événements d’audit SCIM","openapi":"fr/openapi/v1/openapi.localized.yaml GET /identity/scim/audit","href":"/fr/v1/api-reference/endpoint/identity-scim-audit-list"}]},{"group":"Annuaire et départements","tag":"Beta","expanded":false,"pages":[{"title":"Consulter l’annuaire de l’espace de travail","sidebarTitle":"Consulter l’annuaire","openapi":"fr/openapi/v1/openapi.localized.yaml GET /identity/directory","href":"/fr/v1/api-reference/endpoint/identity-directory-get"},{"title":"Mettre à jour un membre de l’annuaire","sidebarTitle":"Modifier un membre de l’annuaire","openapi":"fr/openapi/v1/openapi.localized.yaml PUT /identity/directory/members/{id}","href":"/fr/v1/api-reference/endpoint/identity-directory-member-update"},{"title":"Créer un service de l’espace de travail","sidebarTitle":"Créer un département","openapi":"fr/openapi/v1/openapi.localized.yaml POST /identity/departments","href":"/fr/v1/api-reference/endpoint/identity-department-create"},{"title":"Mettre à jour un département de l’espace de travail","sidebarTitle":"Modifier un département","openapi":"fr/openapi/v1/openapi.localized.yaml PATCH /identity/departments/{id}","href":"/fr/v1/api-reference/endpoint/identity-department-update"},{"title":"Supprimer un département de l’espace de travail","sidebarTitle":"Supprimer un département","openapi":"fr/openapi/v1/openapi.localized.yaml DELETE /identity/departments/{id}","href":"/fr/v1/api-reference/endpoint/identity-department-delete"},{"title":"Lister les départements de l’espace de travail","sidebarTitle":"Lister les départements","openapi":"fr/openapi/v1/openapi.localized.yaml GET /identity/departments","href":"/fr/v1/api-reference/endpoint/identity-departments-list"},{"title":"Définir l’appartenance au département","sidebarTitle":"Définir l’appartenance","openapi":"fr/openapi/v1/openapi.localized.yaml PUT /identity/departments/{departmentId}/members/{userId}","href":"/fr/v1/api-reference/endpoint/identity-department-member-set"},{"title":"Supprimer l’appartenance au service","sidebarTitle":"Supprimer l’appartenance","openapi":"fr/openapi/v1/openapi.localized.yaml DELETE /identity/departments/{departmentId}/members/{userId}","href":"/fr/v1/api-reference/endpoint/identity-department-member-delete"},{"title":"Créer un mappage de groupe de l’annuaire","sidebarTitle":"Créer un mappage de groupe","openapi":"fr/openapi/v1/openapi.localized.yaml POST /identity/group-mappings","href":"/fr/v1/api-reference/endpoint/identity-group-mapping-create"},{"title":"Mettre à jour un mappage de groupe de l’annuaire","sidebarTitle":"Modifier un mappage de groupe","openapi":"fr/openapi/v1/openapi.localized.yaml PATCH /identity/group-mappings/{id}","href":"/fr/v1/api-reference/endpoint/identity-group-mapping-update"},{"title":"Supprimer un mappage de groupe de l’annuaire","sidebarTitle":"Supprimer un mappage de groupe","openapi":"fr/openapi/v1/openapi.localized.yaml DELETE /identity/group-mappings/{id}","href":"/fr/v1/api-reference/endpoint/identity-group-mapping-delete"},{"title":"Lister les mappages de groupes de l’annuaire","sidebarTitle":"Lister les mappages de groupes","openapi":"fr/openapi/v1/openapi.localized.yaml GET /identity/group-mappings","href":"/fr/v1/api-reference/endpoint/identity-group-mappings-list"}]},{"group":"Notifications","expanded":false,"pages":[{"title":"Consulter les paramètres de notification","sidebarTitle":"Consulter les paramètres","openapi":"fr/openapi/v1/openapi.localized.yaml GET /notifications/settings","href":"/fr/v1/api-reference/endpoint/notifications-settings-get"},{"title":"Mettre à jour les paramètres de notification","sidebarTitle":"Modifier les paramètres","openapi":"fr/openapi/v1/openapi.localized.yaml PATCH /notifications/settings","href":"/fr/v1/api-reference/endpoint/notifications-settings-update"},{"title":"Créer une destination de notification","sidebarTitle":"Créer une destination","openapi":"fr/openapi/v1/openapi.localized.yaml POST /notifications/destinations","href":"/fr/v1/api-reference/endpoint/notifications-destination-create"},{"title":"Tester la configuration de destination","sidebarTitle":"Tester une configuration","openapi":"fr/openapi/v1/openapi.localized.yaml POST /notifications/destinations/test","href":"/fr/v1/api-reference/endpoint/notifications-destination-config-test"},{"title":"Tester une destination de notification","sidebarTitle":"Tester une destination","openapi":"fr/openapi/v1/openapi.localized.yaml POST /notifications/destinations/{id}/test","href":"/fr/v1/api-reference/endpoint/notifications-destination-test"},{"title":"Renouveler le secret d’un webhook de notification","openapi":"fr/openapi/v1/openapi.localized.yaml POST /notifications/destinations/{id}/rotate-secret","href":"/fr/v1/api-reference/endpoint/notifications-destination-rotate-secret"},{"title":"Supprimer une destination de notification","sidebarTitle":"Supprimer une destination","openapi":"fr/openapi/v1/openapi.localized.yaml DELETE /notifications/destinations/{id}","href":"/fr/v1/api-reference/endpoint/notifications-destination-delete"},{"title":"Lister les destinations de notification","sidebarTitle":"Lister les destinations","openapi":"fr/openapi/v1/openapi.localized.yaml GET /notifications/destinations","href":"/fr/v1/api-reference/endpoint/notifications-destinations-list"},{"title":"Lister les routes de notification","openapi":"fr/openapi/v1/openapi.localized.yaml GET /notifications/routes","href":"/fr/v1/api-reference/endpoint/notifications-routes-list"},{"title":"Mettre à jour une route de notification","sidebarTitle":"Modifier une route","openapi":"fr/openapi/v1/openapi.localized.yaml PUT /notifications/routes/{eventKind}","href":"/fr/v1/api-reference/endpoint/notifications-route-update"}]},{"group":"Applications","expanded":false,"pages":[{"title":"Lister les applications de l’espace de travail","sidebarTitle":"Lister les applications","openapi":"fr/openapi/v1/openapi.localized.yaml GET /apps","href":"/fr/v1/api-reference/endpoint/apps-list"},{"title":"Mettre à jour une application de l’espace de travail","sidebarTitle":"Modifier une application","openapi":"fr/openapi/v1/openapi.localized.yaml PATCH /apps/{id}","href":"/fr/v1/api-reference/endpoint/app-update"},{"title":"Fusionner les applications de l’espace de travail","sidebarTitle":"Fusionner des applications","openapi":"fr/openapi/v1/openapi.localized.yaml POST /apps/{id}/merge","href":"/fr/v1/api-reference/endpoint/app-merge"}]},{"group":"Contribution de données","expanded":false,"pages":[{"title":"Consulter les paramètres de contribution de données","sidebarTitle":"Consulter la contribution","openapi":"fr/openapi/v1/openapi.localized.yaml GET /data-contribution","href":"/fr/v1/api-reference/endpoint/data-contribution-get"},{"title":"Mettre à jour le consentement à la contribution de données","sidebarTitle":"Modifier le consentement","openapi":"fr/openapi/v1/openapi.localized.yaml PATCH /data-contribution/consent","href":"/fr/v1/api-reference/endpoint/data-contribution-consent-update"},{"title":"Créer un classificateur de contribution de données","sidebarTitle":"Créer un classificateur","openapi":"fr/openapi/v1/openapi.localized.yaml POST /data-contribution/classifiers","href":"/fr/v1/api-reference/endpoint/data-contribution-classifier-create"},{"title":"Mettre à jour un classificateur de contribution de données","sidebarTitle":"Modifier un classificateur","openapi":"fr/openapi/v1/openapi.localized.yaml PATCH /data-contribution/classifiers/{id}","href":"/fr/v1/api-reference/endpoint/data-contribution-classifier-update"},{"title":"Supprimer un classificateur de contribution de données","sidebarTitle":"Supprimer un classificateur","openapi":"fr/openapi/v1/openapi.localized.yaml DELETE /data-contribution/classifiers/{id}","href":"/fr/v1/api-reference/endpoint/data-contribution-classifier-delete"}]}]}]},{"tab":"SDK client","icon":"package","menu":[{"item":"AI SDK de Vercel","icon":"https://mintlify.s3.us-west-1.amazonaws.com/aistats/icons/brands/vercel.svg","pages":[{"title":"AI SDK de Vercel","href":"/fr/v1/sdk-reference/sdk/ai-sdk"}]},{"item":"SDK Phaseo","icon":"code","pages":[{"title":"SDK Phaseo","href":"/fr/v1/sdk-reference/client/overview"}]}],"pages":[{"title":"SDK client","href":"/fr/v1/sdk-reference/sdk/ai-sdk"}]},{"tab":"SDK d’agents","icon":"bot","pages":[{"title":"SDK d’agents","href":"/fr/v1/sdk-reference/agent/overview"}]},{"tab":"Recettes","icon":"chef-hat","pages":[{"title":"Recettes","href":"/fr/v1/cookbook"}]},{"tab":"Nouveautés","icon":"history","pages":[{"title":"Nouveautés","href":"/fr/v1/changelog"}]}]},{"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/anthropic-messages"}]},{"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/anthropic-messages"}]},{"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/anthropic-messages"}]},{"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/anthropic-messages"}]},{"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/anthropic-messages"}]},{"language":"ar","footer":{"socials":{"x":"https://x.com/phaseoteam","github":"https://github.com/phaseoteam/Phaseo","discord":"https://discord.gg/aQyywCvgZ5","linkedin":"https://www.linkedin.com/company/phaseoapp","reddit":"https://www.reddit.com/r/Phaseo"},"links":[{"items":[{"label":"النماذج","href":"https://phaseo.app/ar-SA/models"},{"label":"الحالة","href":"https://status.phaseo.app"},{"label":"الدعم","href":"https://phaseo.app/ar-SA/help"}]}]},"navbar":{"primary":{"type":"button","label":"احصل على مفتاح API","href":"https://phaseo.app/ar-SA/settings/keys"}},"pages":[{"title":"ar","href":"/ar/v1/api-reference/endpoint/anthropic-messages"}]}]},"basePath":"","title":"Créer un message - Phaseo Docs","buildId":"dpl_5Wnaxc3m8t3HZwdvwe36fSBdcT12","deploymentId":"dpl_5Wnaxc3m8t3HZwdvwe36fSBdcT12","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-sRLpiqpE.js","utils-S4bU2zRv.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-BC7mpg-s.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DTEUL5hG.js","snippetPresets-DXO56z8S.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","Page-SC_m0zVE.js","ApiExamples-CuiF8xsJ.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-ToTaBa32.js","shallow-Bw_UfCTY.js","getApiPlaygroundDisplay-BFcVyT7w.js","CodeSnippet-DWwGgYk5.js","CodeSnippets-hAOKmdpX.js","getPastedJson-Q2Yr4e7m.js","icon-CJxLAsPX.js","MethodPill-DBZG10H9.js","DuplicateIcon-BJD7Hrp4.js","createIcon-ja-oQVJo.js","DynamicMarkdown-CKZBuKr4.js","SectionHeading-L-1JTZQZ.js","axios-vUo_bRtp.js","Markdown-Z1l8BMeJ.js","dist-B4nDkaYj.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","katex-YMM-FMeD.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js","AssistantPageLink-ilslkC03.js"]}