Cria um trabalho de lote assíncrono e retorna o objeto de lote do provedor. A criação suporta OpenAI, Anthropic, Google Gemini, Mistral, xAI, Groq e Together AI pelo model solicitado. O gateway infere o provedor pelo modelo e também aceita session_id e webhook para observabilidade e notificações assíncronas. Use provider apenas como restrição avançada de roteamento.
Este endpoint está em Beta e é ativado por espaço de trabalho, sob solicitação. Consulte Tarefas de vídeo e processamento em lote para configuração, webhooks e tratamento de resultados.
Autorizações
Authorization
string
header
obrigatório
Autenticação com token Bearer
Corpo
application/json
provider_options
object
Extensões delimitadas pelo ID canônico do provedor. OpenAI aceita output_expires_after; Mistral aceita metadata. Somente as opções do provedor selecionado são aplicadas. Não duplique uma opção no nível superior. As opções não podem substituir linhas precificadas, modelos ou arquivos.
Show child attributes
model
string
ID do modelo usado para inferir o provedor do lote. As linhas de solicitação também podem incluir body.model; o modelo de nível superior é preferido.
prompts
string[]
Formato abreviado de prompt simples. Phaseo compila cada prompt em uma linha de lote nativa do provedor para o modelo selecionado.
items
object[]
Formato abreviado de prompt estruturado. Os itens podem incluir id, custom_id, prompt, messages, input, system, max_tokens, temperature ou um body avançado.
system
string
Instrução de sistema opcional aplicada às linhas de prompt abreviado.
max_tokens
integer
Limite máximo opcional de tokens aplicado às linhas de prompt abreviado.
temperature
number
Temperatura de amostragem opcional aplicada às linhas de prompt abreviado.
input_file_id
string
ID de arquivo existente no provedor para criar lotes por envio de arquivo.
requests
object[]
Linhas avançadas de solicitação em lote. Forneça exatamente um de prompts, items, requests ou input_file_id.
Show child attributes
endpoint
enum<string>
Formato de solicitação para o cliente. Toda solicitação de um lote usa este endpoint. Quando omitido, Phaseo escolhe um padrão nativo do provedor pelo modelo.
Opções disponíveis:
/v1/chat/completions,
/v1/responses,
/v1/messages,
/v1/embeddings,
/v1/generateContent
completion_window
string
metadata
object
session_id
string
Identificador exclusivo para agrupar solicitações relacionadas (por exemplo, uma conversa ou um fluxo de trabalho de agente) para observabilidade.
Maximum string length: 256
webhook
object
Show child attributes
webhook_endpoint_id
string
Alias de conveniência para webhook.endpoint_id.
debug
object
Controles de depuração do gateway. Essas opções nunca são encaminhadas ao provedor.
Show child attributes
provider
object
Restrição avançada de roteamento. A maioria das solicitações deve usar a inferência do provedor baseada no modelo.
Show child attributes
Resposta
Resposta de status do lote
id
string
native_batch_id
string | null
ID nativo do lote no provedor quando difere do ID do gateway.
object
string
endpoint
string
errors
object
input_file_id
string
completion_window
string
status
string
lifecycle_status
enum<string>
Status normalizado do ciclo de vida assíncrono para consumidores de polling, WebSocket e webhooks.
Opções disponíveis:
pending,
running,
completed,
failed,
cancelled,
expired
progress
integer
Porcentagem aproximada de conclusão do lote derivada das contagens de solicitações do provedor, quando disponíveis. Lotes concluídos informam 100.
Intervalo obrigatório: 0 <= x <= 100
polling_url
string<uri>
websocket_url
string<uri>
URL de WebSocket para assinar atualizações normalizadas do ciclo de vida de trabalhos assíncronos.
cancel_url
string<uri> | null
Reservado para compatibilidade; atualmente sempre null.
results_url
string<uri> | null
URL autenticada de download JSONL do Phaseo para lotes suportados em status final. Null durante o processamento. Um lote final pode não ter saída. Use uma chave de API do espaço de trabalho proprietário; aplicam-se os limites de retenção do provedor.
output_file_id
string
error_file_id
string
created_at
integer
in_progress_at
integer
expires_at
integer
finalizing_at
integer
completed_at
integer
failed_at
integer
expired_at
integer
cancelling_at
integer
cancelled_at
integer
request_counts
object
Show child attributes
metadata
object
request_id
string
provider
string
session_id
string
webhook
object
Configuração sanitizada do webhook assíncrono e estado de entrega. Segredos nunca são retornados; has_secret indica se entregas assinadas estão habilitadas. Entregas assinadas incluem os cabeçalhos x-phaseo-signature, x-phaseo-timestamp, x-phaseo-event-id, x-phaseo-event-type, x-phaseo-delivery-key, x-phaseo-attempt e x-phaseo-max-attempts.
Show child attributes
next_webhook_retry_at
string | null
last_webhook_progress
number | null
last_webhook_progress_at
string | null
last_webhook_dispatched_at
string | null
finalized_at
string | null
pricing_lines
object[]
usage
object
Uso e custo agregados normalizados após a finalização.
{"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":"pt-BR/v1/api-reference/endpoint/batches-create","slug":"/pt-BR/v1/api-reference/endpoint/batches-create","pageMetadata":{"title":"Criar lote","badge":"Beta","openapi":"pt-BR/openapi/v1/openapi.localized.yaml POST /batches","description":"Cria um trabalho de lote assíncrono e retorna o objeto de lote do provedor. A criação suporta OpenAI, Anthropic, Google Gemini, Mistral, xAI, Groq e Together AI pelo `model` solicitado. O gateway infere o provedor pelo modelo e também aceita `session_id` e `webhook` para observabilidade e notificações assíncronas. Use `provider` apenas como restrição avançada de roteamento.","href":"/pt-BR/v1/api-reference/endpoint/batches-create"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Cria um trabalho de lote assíncrono e retorna o objeto de lote do provedor. A criação suporta OpenAI, Anthropic, Google Gemini, Mistral, xAI, Groq e Together AI pelo \", _jsx(_components.code, {\n children: \"model\"\n }), \" solicitado. O gateway infere o provedor pelo modelo e também aceita \", _jsx(_components.code, {\n children: \"session_id\"\n }), \" e \", _jsx(_components.code, {\n children: \"webhook\"\n }), \" para observabilidade e notificações assíncronas. Use \", _jsx(_components.code, {\n children: \"provider\"\n }), \" apenas como restrição avançada de roteamento.\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,p:`p`,..._provideComponents(),...props.components};return _jsxs(_components.p,{children:[`Este endpoint está em `,_jsx(_components.a,{href:`/pt-BR/v1/developers/feature-maturity`,children:`Beta`}),` e é ativado por espaço de trabalho, sob solicitação. Consulte `,_jsx(_components.a,{href:`/pt-BR/v1/guides/async-video-and-batch`,children:`Tarefas de vídeo e processamento em lote`}),` para configuração, webhooks e tratamento de resultados.`]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Criar lote","badge":"Beta","openapi":"pt-BR/openapi/v1/openapi.localized.yaml POST /batches","description":"Cria um trabalho de lote assíncrono e retorna o objeto de lote do provedor. A criação suporta OpenAI, Anthropic, Google Gemini, Mistral, xAI, Groq e Together AI pelo `model` solicitado. O gateway infere o provedor pelo modelo e também aceita `session_id` e `webhook` para observabilidade e notificações assíncronas. Use `provider` apenas como restrição avançada de roteamento.","href":"/pt-BR/v1/api-reference/endpoint/batches-create"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"x-beta":true,"tags":["Gateway"],"operationId":"createBatch","summary":"Criar lote","description":"Cria um trabalho de lote assíncrono e retorna o objeto de lote do provedor. A criação suporta OpenAI, Anthropic, Google Gemini, Mistral, xAI, Groq e Together AI pelo `model` solicitado. O gateway infere o provedor pelo modelo e também aceita `session_id` e `webhook` para observabilidade e notificações assíncronas. Use `provider` apenas como restrição avançada de roteamento.","requestBody":"82e0c8c3-8f0f-4487-b0b7-eb0651571e5a","responses":{"200":"f3d16599-c721-41d9-b8dd-c4f217f8e906","401":"488f145f-4a43-447b-b00f-a1d8395b6b74"},"method":"post","type":"path","servers":["63000968-0931-4dce-ad80-c05a0affe08b"],"security":["5b0aa667-eb07-42ee-9d1c-e203b14b7fe0"],"path":"/batches","baseUrlOptions":["https://api.phaseo.app/v1"],"title":"Criar lote","codeSamples":[],"requestExampleLanguages":["javascript","python","bash","go","java","php","ruby"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated","prefillPlaygroundWithExample":true,"prefillPlaygroundExamples":[{"body.model":"\u003cstring>","body.prompts.items.0":"\u003cstring>","body.\\items.items.0":{},"body.system":"\u003cstring>","body.max_tokens":123,"body.temperature":123,"body.input_file_id":"\u003cstring>","body.requests.items.0.body":{},"body.requests.items.0.custom_id":"\u003cstring>","body.requests.items.0.method":"POST","body.requests.items.0.url":"\u003cstring>","body.completion_window":"\u003cstring>","body.metadata":{},"body.session_id":"\u003cstring>","body.webhook_endpoint_id":"\u003cstring>","body.debug.enabled":true,"body.debug.return_upstream_request":true,"body.debug.return_upstream_response":true,"body.debug.trace":true,"body.provider.order.items.0":"\u003cstring>","body.provider.only.items.0":"\u003cstring>","body.provider.ignore.items.0":"\u003cstring>","body.provider.include_alpha":true,"body.provider.allow_fallbacks.oneOf.0":true,"body.provider.require_parameters.oneOf.0":true,"body.provider.required_execution_region.oneOf.0":"\u003cstring>","body.provider.required_data_region.oneOf.0":"\u003cstring>","body.provider.require_zero_data_retention.oneOf.0":true,"body.provider.zdr.oneOf.0":true,"body.provider.enforce_distillable_text.oneOf.0":true,"body.provider.quantizations.oneOf.0.items.0":"\u003cstring>","body.provider.sort.oneOf.0":"\u003cstring>","body.provider.max_price.prompt.oneOf.0":123,"body.provider.max_price.completion.oneOf.0":123,"body.provider.max_price.image.oneOf.0":123,"body.provider.max_price.audio.oneOf.0":123,"body.provider.max_price.request.oneOf.0":123,"body.provider.preferred_min_throughput.oneOf.0":123,"body.provider.preferred_max_latency.oneOf.0":123}]},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"provider_options":{"type":"object","description":"Extensões delimitadas pelo ID canônico do provedor. OpenAI aceita output_expires_after; Mistral aceita metadata. Somente as opções do provedor selecionado são aplicadas. Não duplique uma opção no nível superior. As opções não podem substituir linhas precificadas, modelos ou arquivos.","additionalProperties":{"type":"object","additionalProperties":true,"uniqueKey":"provider_options.additionalProperties","typeLabel":"object"},"uniqueKey":"provider_options","typeLabel":"object"},"model":{"type":"string","description":"ID do modelo usado para inferir o provedor do lote. As linhas de solicitação também podem incluir body.model; o modelo de nível superior é preferido.","uniqueKey":"model","typeLabel":"string"},"prompts":{"type":"array","description":"Formato abreviado de prompt simples. Phaseo compila cada prompt em uma linha de lote nativa do provedor para o modelo selecionado.","items":{"type":"string","uniqueKey":"prompts.items.[INDEX]","typeLabel":"string"},"uniqueKey":"prompts","typeLabel":"string[]"},"items":{"type":"array","description":"Formato abreviado de prompt estruturado. Os itens podem incluir `id`, `custom_id`, `prompt`, `messages`, `input`, `system`, `max_tokens`, `temperature` ou um `body` avançado.","items":{"type":"object","additionalProperties":true,"uniqueKey":"\\items.items.[INDEX]","typeLabel":"object"},"uniqueKey":"\\items","typeLabel":"object[]"},"system":{"type":"string","description":"Instrução de sistema opcional aplicada às linhas de prompt abreviado.","uniqueKey":"system","typeLabel":"string"},"max_tokens":{"type":"integer","description":"Limite máximo opcional de tokens aplicado às linhas de prompt abreviado.","uniqueKey":"max_tokens","typeLabel":"integer"},"temperature":{"type":"number","description":"Temperatura de amostragem opcional aplicada às linhas de prompt abreviado.","uniqueKey":"temperature","typeLabel":"number"},"input_file_id":{"type":"string","description":"ID de arquivo existente no provedor para criar lotes por envio de arquivo.","uniqueKey":"input_file_id","typeLabel":"string"},"requests":{"type":"array","description":"Linhas avançadas de solicitação em lote. Forneça exatamente um de `prompts`, `items`, `requests` ou `input_file_id`.","items":{"type":"object","required":["body"],"properties":{"body":{"type":"object","additionalProperties":true,"isRequired":true,"uniqueKey":"requests.items.[INDEX].body","typeLabel":"object"},"custom_id":{"type":"string","uniqueKey":"requests.items.[INDEX].custom_id","typeLabel":"string"},"method":{"type":"string","default":"POST","enum":["POST"],"uniqueKey":"requests.items.[INDEX].method","typeLabel":"enum\u003cstring>"},"url":{"type":"string","description":"Caminho do endpoint desta linha. Quando fornecido, deve corresponder ao endpoint do lote pai. O padrão é o endpoint do lote pai.","uniqueKey":"requests.items.[INDEX].url","typeLabel":"string"}},"uniqueKey":"requests.items.[INDEX]","typeLabel":"object"},"uniqueKey":"requests","typeLabel":"object[]"},"endpoint":{"type":"string","enum":["/v1/chat/completions","/v1/responses","/v1/messages","/v1/embeddings","/v1/generateContent"],"description":"Formato de solicitação para o cliente. Toda solicitação de um lote usa este endpoint. Quando omitido, Phaseo escolhe um padrão nativo do provedor pelo modelo.","uniqueKey":"endpoint","typeLabel":"enum\u003cstring>"},"completion_window":{"type":"string","uniqueKey":"completion_window","typeLabel":"string"},"metadata":{"type":"object","additionalProperties":true,"uniqueKey":"metadata","typeLabel":"object"},"session_id":{"type":"string","maxLength":256,"description":"Identificador exclusivo para agrupar solicitações relacionadas (por exemplo, uma conversa ou um fluxo de trabalho de agente) para observabilidade.","uniqueKey":"session_id","typeLabel":"string"},"webhook":{"type":"object","required":["endpoint_id"],"additionalProperties":false,"properties":{"endpoint_id":{"type":"string","description":"ID do endpoint de webhook gerenciado pelo espaço de trabalho.","isRequired":true,"uniqueKey":"webhook.endpoint_id","typeLabel":"string"},"events":{"type":"array","description":"Assinaturas opcionais de eventos. Use eventos genéricos job.* ou eventos batch.* correspondentes, como batch.progress ou batch.completed. Quando omitidos, são usados eventos finais job.*. Inclua job.progress ou batch.progress explicitamente para callbacks de progresso da contagem de solicitações. Quando fornecidos, pelo menos um evento deve ser válido para trabalhos de lote; listas malformadas ou somente com eventos de outro tipo são rejeitadas.","items":{"type":"string","uniqueKey":"webhook.events.items.[INDEX]","typeLabel":"string"},"uniqueKey":"webhook.events","typeLabel":"string[]"}},"uniqueKey":"webhook","typeLabel":"object"},"webhook_endpoint_id":{"type":"string","description":"Alias de conveniência para webhook.endpoint_id.","uniqueKey":"webhook_endpoint_id","typeLabel":"string"},"debug":{"type":"object","description":"Controles de depuração do gateway. Essas opções nunca são encaminhadas ao provedor.","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":"Restrição avançada de roteamento. A maioria das solicitações deve usar a inferência do provedor baseada no modelo.","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":"Incluir provedores alpha no roteamento (desativado por padrão).","uniqueKey":"provider.include_alpha","typeLabel":"boolean"},"allow_fallbacks":{"oneOf":[{"type":"boolean","description":"Permitir fallback para outro provedor elegível após uma falha.","uniqueKey":"provider.allow_fallbacks.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Permitir fallback para outro provedor elegível após uma falha.","uniqueKey":"provider.allow_fallbacks.oneOf.1","typeLabel":"null"}],"uniqueKey":"provider.allow_fallbacks","typeLabel":"boolean | null"},"require_parameters":{"oneOf":[{"type":"boolean","description":"Exigir suporte do provedor aos parâmetros solicitados antes do roteamento.","uniqueKey":"provider.require_parameters.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Exigir suporte do provedor aos parâmetros solicitados antes do roteamento.","uniqueKey":"provider.require_parameters.oneOf.1","typeLabel":"null"}],"uniqueKey":"provider.require_parameters","typeLabel":"boolean | null"},"required_execution_region":{"oneOf":[{"type":"string","description":"Restringir o roteamento a provedores com a região de execução solicitada.","uniqueKey":"provider.required_execution_region.oneOf.0","typeLabel":"string"},{"type":"null","description":"Restringir o roteamento a provedores com a região de execução solicitada.","uniqueKey":"provider.required_execution_region.oneOf.1","typeLabel":"null"}],"uniqueKey":"provider.required_execution_region","typeLabel":"string | null"},"required_data_region":{"oneOf":[{"type":"string","description":"Restringir o roteamento a provedores com a região de dados solicitada.","uniqueKey":"provider.required_data_region.oneOf.0","typeLabel":"string"},{"type":"null","description":"Restringir o roteamento a provedores com a região de dados solicitada.","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":"Restringir o roteamento a provedores que oferecem retenção zero de dados.","uniqueKey":"provider.require_zero_data_retention.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Restringir o roteamento a provedores que oferecem retenção zero de dados.","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` (o padrão) não filtra nada. `deny` ainda não é suportado e retorna 400 unsupported_routing_filter.","enum":["allow","deny"],"uniqueKey":"provider.data_collection.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"`allow` (o padrão) não filtra nada. `deny` ainda não é suportado e retorna 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` (o padrão) não filtra nada. `true` ainda não é suportado e retorna 400 unsupported_routing_filter.","uniqueKey":"provider.enforce_distillable_text.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"`false` (o padrão) não filtra nada. `true` ainda não é suportado e retorna 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":"Classificar os provedores para esta solicitação, por exemplo, por preço, latência ou throughput.","uniqueKey":"provider.sort.oneOf.0","typeLabel":"string"},{"type":"object","description":"Classificar os provedores para esta solicitação, por exemplo, por preço, latência ou throughput.","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":{"Example":{"title":"Example","value":{"provider_options":{},"model":"\u003cstring>","prompts":["\u003cstring>"],"items":[{}],"system":"\u003cstring>","max_tokens":123,"temperature":123,"input_file_id":"\u003cstring>","requests":[{"body":{},"custom_id":"\u003cstring>","method":"POST","url":"\u003cstring>"}],"completion_window":"\u003cstring>","metadata":{},"session_id":"\u003cstring>","webhook_endpoint_id":"\u003cstring>","debug":{"enabled":true,"return_upstream_request":true,"return_upstream_response":true,"trace":true},"provider":{"order":["\u003cstring>"],"only":["\u003cstring>"],"ignore":["\u003cstring>"],"include_alpha":true,"allow_fallbacks":true,"require_parameters":true,"required_execution_region":"\u003cstring>","required_data_region":"\u003cstring>","require_zero_data_retention":true,"zdr":true,"enforce_distillable_text":true,"quantizations":["\u003cstring>"],"sort":"\u003cstring>","max_price":{"prompt":123,"completion":123,"image":123,"audio":123,"request":123},"preferred_min_throughput":123,"preferred_max_latency":123}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"f3d16599-c721-41d9-b8dd-c4f217f8e906":{"description":"Resposta de status do lote","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","uniqueKey":"id","typeLabel":"string"},"native_batch_id":{"oneOf":[{"type":"string","description":"ID nativo do lote no provedor quando difere do ID do gateway.","uniqueKey":"native_batch_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"ID nativo do lote no provedor quando difere do ID do gateway.","uniqueKey":"native_batch_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"native_batch_id","typeLabel":"string | null"},"object":{"type":"string","uniqueKey":"object","typeLabel":"string"},"endpoint":{"type":"string","uniqueKey":"endpoint","typeLabel":"string"},"errors":{"type":"object","uniqueKey":"errors","typeLabel":"object"},"input_file_id":{"type":"string","uniqueKey":"input_file_id","typeLabel":"string"},"completion_window":{"type":"string","uniqueKey":"completion_window","typeLabel":"string"},"status":{"type":"string","uniqueKey":"status","typeLabel":"string"},"lifecycle_status":{"type":"string","enum":["pending","running","completed","failed","cancelled","expired"],"description":"Status normalizado do ciclo de vida assíncrono para consumidores de polling, WebSocket e webhooks.","uniqueKey":"lifecycle_status","typeLabel":"enum\u003cstring>"},"progress":{"type":"integer","minimum":0,"maximum":100,"description":"Porcentagem aproximada de conclusão do lote derivada das contagens de solicitações do provedor, quando disponíveis. Lotes concluídos informam 100.","uniqueKey":"progress","typeLabel":"integer"},"polling_url":{"type":"string","format":"uri","uniqueKey":"polling_url","typeLabel":"string\u003curi>"},"websocket_url":{"type":"string","format":"uri","description":"URL de WebSocket para assinar atualizações normalizadas do ciclo de vida de trabalhos assíncronos.","uniqueKey":"websocket_url","typeLabel":"string\u003curi>"},"cancel_url":{"oneOf":[{"type":"string","format":"uri","description":"Reservado para compatibilidade; atualmente sempre null.","uniqueKey":"cancel_url.oneOf.0","typeLabel":"string\u003curi>"},{"type":"null","format":"uri","description":"Reservado para compatibilidade; atualmente sempre null.","uniqueKey":"cancel_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"cancel_url","typeLabel":"string\u003curi> | null"},"results_url":{"oneOf":[{"type":"string","format":"uri","description":"URL autenticada de download JSONL do Phaseo para lotes suportados em status final. Null durante o processamento. Um lote final pode não ter saída. Use uma chave de API do espaço de trabalho proprietário; aplicam-se os limites de retenção do provedor.","uniqueKey":"results_url.oneOf.0","typeLabel":"string\u003curi>"},{"type":"null","format":"uri","description":"URL autenticada de download JSONL do Phaseo para lotes suportados em status final. Null durante o processamento. Um lote final pode não ter saída. Use uma chave de API do espaço de trabalho proprietário; aplicam-se os limites de retenção do provedor.","uniqueKey":"results_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"results_url","typeLabel":"string\u003curi> | null"},"output_file_id":{"type":"string","uniqueKey":"output_file_id","typeLabel":"string"},"error_file_id":{"type":"string","uniqueKey":"error_file_id","typeLabel":"string"},"created_at":{"type":"integer","uniqueKey":"created_at","typeLabel":"integer"},"in_progress_at":{"type":"integer","uniqueKey":"in_progress_at","typeLabel":"integer"},"expires_at":{"type":"integer","uniqueKey":"expires_at","typeLabel":"integer"},"finalizing_at":{"type":"integer","uniqueKey":"finalizing_at","typeLabel":"integer"},"completed_at":{"type":"integer","uniqueKey":"completed_at","typeLabel":"integer"},"failed_at":{"type":"integer","uniqueKey":"failed_at","typeLabel":"integer"},"expired_at":{"type":"integer","uniqueKey":"expired_at","typeLabel":"integer"},"cancelling_at":{"type":"integer","uniqueKey":"cancelling_at","typeLabel":"integer"},"cancelled_at":{"type":"integer","uniqueKey":"cancelled_at","typeLabel":"integer"},"request_counts":{"type":"object","properties":{"total":{"type":"integer","uniqueKey":"request_counts.total","typeLabel":"integer"},"completed":{"type":"integer","uniqueKey":"request_counts.completed","typeLabel":"integer"},"failed":{"type":"integer","uniqueKey":"request_counts.failed","typeLabel":"integer"}},"uniqueKey":"request_counts","typeLabel":"object"},"metadata":{"type":"object","uniqueKey":"metadata","typeLabel":"object"},"request_id":{"type":"string","uniqueKey":"request_id","typeLabel":"string"},"provider":{"type":"string","uniqueKey":"provider","typeLabel":"string"},"session_id":{"type":"string","uniqueKey":"session_id","typeLabel":"string"},"webhook":{"type":"object","description":"Configuração sanitizada do webhook assíncrono e estado de entrega. Segredos nunca são retornados; `has_secret` indica se entregas assinadas estão habilitadas. Entregas assinadas incluem os cabeçalhos x-phaseo-signature, x-phaseo-timestamp, x-phaseo-event-id, x-phaseo-event-type, x-phaseo-delivery-key, x-phaseo-attempt e x-phaseo-max-attempts.","properties":{"url":{"oneOf":[{"type":"string","format":"uri","uniqueKey":"webhook.url.oneOf.0","typeLabel":"string\u003curi>"},{"type":"null","format":"uri","uniqueKey":"webhook.url.oneOf.1","typeLabel":"null"}],"uniqueKey":"webhook.url","typeLabel":"string\u003curi> | null"},"events":{"type":"array","items":{"type":"string","uniqueKey":"webhook.events.items.[INDEX]","typeLabel":"string"},"uniqueKey":"webhook.events","typeLabel":"string[]"},"has_secret":{"type":"boolean","uniqueKey":"webhook.has_secret","typeLabel":"boolean"},"delivery":{"type":"object","description":"Resumo público de entrega de webhooks assíncronos gerenciados pelo gateway. Use-o para distinguir o estado de execução do trabalho da saúde da entrega do webhook.","properties":{"total_attempts":{"type":"integer","description":"Total de tentativas de entrega registradas para este trabalho.","uniqueKey":"webhook.delivery.total_attempts","typeLabel":"integer"},"delivered_events":{"type":"integer","description":"Número de chaves de entrega que alcançaram o estado entregue.","uniqueKey":"webhook.delivery.delivered_events","typeLabel":"integer"},"delivered_event_types":{"type":"array","description":"Chaves de entrega entregues pelo menos uma vez.","items":{"type":"string","uniqueKey":"webhook.delivery.delivered_event_types.items.[INDEX]","typeLabel":"string"},"example":["video.completed"],"uniqueKey":"webhook.delivery.delivered_event_types","typeLabel":"string[]"},"pending_retries":{"type":"integer","description":"Número de chaves de entrega com uma nova tentativa agendada atualmente.","uniqueKey":"webhook.delivery.pending_retries","typeLabel":"integer"},"next_retry_at":{"oneOf":[{"type":"string","description":"Timestamp ISO da próxima tentativa agendada, quando houver.","uniqueKey":"webhook.delivery.next_retry_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"Timestamp ISO da próxima tentativa agendada, quando houver.","uniqueKey":"webhook.delivery.next_retry_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"webhook.delivery.next_retry_at","typeLabel":"string | null"},"last_attempt_at":{"oneOf":[{"type":"string","description":"Timestamp ISO da tentativa de entrega mais recente.","uniqueKey":"webhook.delivery.last_attempt_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"Timestamp ISO da tentativa de entrega mais recente.","uniqueKey":"webhook.delivery.last_attempt_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"webhook.delivery.last_attempt_at","typeLabel":"string | null"},"last_attempt_status":{"oneOf":[{"type":"string","enum":["delivered","scheduled_retry","failed_permanently"],"description":"Resultado da tentativa de entrega mais recente.","uniqueKey":"webhook.delivery.last_attempt_status.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["delivered","scheduled_retry","failed_permanently"],"description":"Resultado da tentativa de entrega mais recente.","uniqueKey":"webhook.delivery.last_attempt_status.oneOf.1","typeLabel":"null"}],"uniqueKey":"webhook.delivery.last_attempt_status","typeLabel":"enum\u003cstring> | null"},"last_response_status":{"oneOf":[{"type":"integer","description":"Status HTTP retornado pelo destino do webhook, quando disponível.","uniqueKey":"webhook.delivery.last_response_status.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Status HTTP retornado pelo destino do webhook, quando disponível.","uniqueKey":"webhook.delivery.last_response_status.oneOf.1","typeLabel":"null"}],"uniqueKey":"webhook.delivery.last_response_status","typeLabel":"integer | null"},"last_delivered_at":{"oneOf":[{"type":"string","description":"Timestamp ISO da entrega bem-sucedida mais recente.","uniqueKey":"webhook.delivery.last_delivered_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"Timestamp ISO da entrega bem-sucedida mais recente.","uniqueKey":"webhook.delivery.last_delivered_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"webhook.delivery.last_delivered_at","typeLabel":"string | null"},"last_failure_at":{"oneOf":[{"type":"string","description":"Timestamp ISO da tentativa com falha ou em repetição mais recente.","uniqueKey":"webhook.delivery.last_failure_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"Timestamp ISO da tentativa com falha ou em repetição mais recente.","uniqueKey":"webhook.delivery.last_failure_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"webhook.delivery.last_failure_at","typeLabel":"string | null"},"last_error_message":{"oneOf":[{"type":"string","description":"Mensagem de erro de entrega mais recente, quando disponível.","uniqueKey":"webhook.delivery.last_error_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Mensagem de erro de entrega mais recente, quando disponível.","uniqueKey":"webhook.delivery.last_error_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"webhook.delivery.last_error_message","typeLabel":"string | null"}},"uniqueKey":"webhook.delivery","typeLabel":"object"},"attempts":{"type":"array","items":{"type":"object","description":"Tentativa recente de entrega de webhook assíncrono gerenciado pelo gateway.","properties":{"id":{"type":"string","description":"Identificador estável da tentativa para auditoria e depuração.","uniqueKey":"webhook.attempts.items.[INDEX].id","typeLabel":"string"},"delivery_key":{"type":"string","description":"Chave de idempotência para a entrega deste evento.","example":"video.completed","uniqueKey":"webhook.attempts.items.[INDEX].delivery_key","typeLabel":"string"},"event_type":{"type":"string","description":"Tipo de evento entregue ao destino do webhook.","example":"video.completed","uniqueKey":"webhook.attempts.items.[INDEX].event_type","typeLabel":"string"},"status":{"type":"string","enum":["delivered","scheduled_retry","failed_permanently"],"uniqueKey":"webhook.attempts.items.[INDEX].status","typeLabel":"enum\u003cstring>"},"attempt_number":{"type":"integer","description":"Número da tentativa para esta chave de entrega, começando em um.","uniqueKey":"webhook.attempts.items.[INDEX].attempt_number","typeLabel":"integer"},"max_attempts":{"type":"integer","description":"Máximo de tentativas antes de marcar a entrega como falha permanente.","uniqueKey":"webhook.attempts.items.[INDEX].max_attempts","typeLabel":"integer"},"tried_at":{"type":"string","description":"Timestamp ISO desta tentativa.","uniqueKey":"webhook.attempts.items.[INDEX].tried_at","typeLabel":"string"},"delivered_at":{"oneOf":[{"type":"string","description":"Timestamp ISO da entrega bem-sucedida desta tentativa.","uniqueKey":"webhook.attempts.items.[INDEX].delivered_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"Timestamp ISO da entrega bem-sucedida desta tentativa.","uniqueKey":"webhook.attempts.items.[INDEX].delivered_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"webhook.attempts.items.[INDEX].delivered_at","typeLabel":"string | null"},"next_retry_at":{"oneOf":[{"type":"string","description":"Timestamp ISO da próxima tentativa após esta, quando agendada.","uniqueKey":"webhook.attempts.items.[INDEX].next_retry_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"Timestamp ISO da próxima tentativa após esta, quando agendada.","uniqueKey":"webhook.attempts.items.[INDEX].next_retry_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"webhook.attempts.items.[INDEX].next_retry_at","typeLabel":"string | null"},"response_status":{"oneOf":[{"type":"integer","description":"Status HTTP retornado pelo destino do webhook, quando disponível.","uniqueKey":"webhook.attempts.items.[INDEX].response_status.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Status HTTP retornado pelo destino do webhook, quando disponível.","uniqueKey":"webhook.attempts.items.[INDEX].response_status.oneOf.1","typeLabel":"null"}],"uniqueKey":"webhook.attempts.items.[INDEX].response_status","typeLabel":"integer | null"},"error_message":{"oneOf":[{"type":"string","description":"Mensagem de erro de entrega, quando disponível.","uniqueKey":"webhook.attempts.items.[INDEX].error_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Mensagem de erro de entrega, quando disponível.","uniqueKey":"webhook.attempts.items.[INDEX].error_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"webhook.attempts.items.[INDEX].error_message","typeLabel":"string | null"},"response_body_preview":{"oneOf":[{"type":"string","description":"Prévia do corpo da resposta do destino do webhook com dados sensíveis ocultos.","uniqueKey":"webhook.attempts.items.[INDEX].response_body_preview.oneOf.0","typeLabel":"string"},{"type":"null","description":"Prévia do corpo da resposta do destino do webhook com dados sensíveis ocultos.","uniqueKey":"webhook.attempts.items.[INDEX].response_body_preview.oneOf.1","typeLabel":"null"}],"uniqueKey":"webhook.attempts.items.[INDEX].response_body_preview","typeLabel":"string | null"}},"uniqueKey":"webhook.attempts.items.[INDEX]","typeLabel":"object"},"uniqueKey":"webhook.attempts","typeLabel":"object[]"}},"uniqueKey":"webhook","typeLabel":"object"},"next_webhook_retry_at":{"oneOf":[{"type":"string","uniqueKey":"next_webhook_retry_at.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"next_webhook_retry_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"next_webhook_retry_at","typeLabel":"string | null"},"last_webhook_progress":{"oneOf":[{"type":"number","uniqueKey":"last_webhook_progress.oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"last_webhook_progress.oneOf.1","typeLabel":"null"}],"uniqueKey":"last_webhook_progress","typeLabel":"number | null"},"last_webhook_progress_at":{"oneOf":[{"type":"string","uniqueKey":"last_webhook_progress_at.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"last_webhook_progress_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"last_webhook_progress_at","typeLabel":"string | null"},"last_webhook_dispatched_at":{"oneOf":[{"type":"string","uniqueKey":"last_webhook_dispatched_at.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"last_webhook_dispatched_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"last_webhook_dispatched_at","typeLabel":"string | null"},"finalized_at":{"oneOf":[{"type":"string","uniqueKey":"finalized_at.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"finalized_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"finalized_at","typeLabel":"string | null"},"pricing_lines":{"type":"array","items":{"type":"object","additionalProperties":true,"uniqueKey":"pricing_lines.items.[INDEX]","typeLabel":"object"},"uniqueKey":"pricing_lines","typeLabel":"object[]"},"usage":{"type":"object","description":"Uso e custo agregados normalizados após a finalização.","properties":{"requests":{"oneOf":[{"type":"integer","uniqueKey":"usage.requests.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"usage.requests.oneOf.1","typeLabel":"null"}],"uniqueKey":"usage.requests","typeLabel":"integer | null"},"input_tokens":{"oneOf":[{"type":"integer","uniqueKey":"usage.input_tokens.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"usage.input_tokens.oneOf.1","typeLabel":"null"}],"uniqueKey":"usage.input_tokens","typeLabel":"integer | null"},"output_tokens":{"oneOf":[{"type":"integer","uniqueKey":"usage.output_tokens.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"usage.output_tokens.oneOf.1","typeLabel":"null"}],"uniqueKey":"usage.output_tokens","typeLabel":"integer | null"},"total_tokens":{"oneOf":[{"type":"integer","uniqueKey":"usage.total_tokens.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"usage.total_tokens.oneOf.1","typeLabel":"null"}],"uniqueKey":"usage.total_tokens","typeLabel":"integer | null"},"cost_nanos":{"oneOf":[{"type":"integer","uniqueKey":"usage.cost_nanos.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"usage.cost_nanos.oneOf.1","typeLabel":"null"}],"uniqueKey":"usage.cost_nanos","typeLabel":"integer | null"},"cost_usd":{"oneOf":[{"type":"number","uniqueKey":"usage.cost_usd.oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"usage.cost_usd.oneOf.1","typeLabel":"null"}],"uniqueKey":"usage.cost_usd","typeLabel":"number | null"},"currency":{"type":"string","uniqueKey":"usage.currency","typeLabel":"string"}},"uniqueKey":"usage","typeLabel":"object"},"billing":{"type":"object","properties":{"currency":{"type":"string","uniqueKey":"billing.currency","typeLabel":"string"},"billed":{"type":"boolean","uniqueKey":"billing.billed","typeLabel":"boolean"},"charged":{"type":"boolean","uniqueKey":"billing.charged","typeLabel":"boolean"},"reason":{"type":"string","uniqueKey":"billing.reason","typeLabel":"string"},"state":{"type":"string","enum":["pending","estimated","settled","void"],"uniqueKey":"billing.state","typeLabel":"enum\u003cstring>"},"reservation_id":{"oneOf":[{"type":"string","uniqueKey":"billing.reservation_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"billing.reservation_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"billing.reservation_id","typeLabel":"string | null"},"reservation_status":{"oneOf":[{"type":"string","uniqueKey":"billing.reservation_status.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"billing.reservation_status.oneOf.1","typeLabel":"null"}],"uniqueKey":"billing.reservation_status","typeLabel":"string | null"},"estimated_provider_cost":{"oneOf":[{"type":"string","uniqueKey":"billing.estimated_provider_cost.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"billing.estimated_provider_cost.oneOf.1","typeLabel":"null"}],"uniqueKey":"billing.estimated_provider_cost","typeLabel":"string | null"},"estimated_user_cost":{"oneOf":[{"type":"string","uniqueKey":"billing.estimated_user_cost.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"billing.estimated_user_cost.oneOf.1","typeLabel":"null"}],"uniqueKey":"billing.estimated_user_cost","typeLabel":"string | null"},"settled_provider_cost":{"oneOf":[{"type":"string","uniqueKey":"billing.settled_provider_cost.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"billing.settled_provider_cost.oneOf.1","typeLabel":"null"}],"uniqueKey":"billing.settled_provider_cost","typeLabel":"string | null"},"settled_user_cost":{"oneOf":[{"type":"string","uniqueKey":"billing.settled_user_cost.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"billing.settled_user_cost.oneOf.1","typeLabel":"null"}],"uniqueKey":"billing.settled_user_cost","typeLabel":"string | null"},"estimated_nanos":{"oneOf":[{"type":"integer","uniqueKey":"billing.estimated_nanos.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"billing.estimated_nanos.oneOf.1","typeLabel":"null"}],"uniqueKey":"billing.estimated_nanos","typeLabel":"integer | null"},"reserved_nanos":{"oneOf":[{"type":"integer","uniqueKey":"billing.reserved_nanos.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"billing.reserved_nanos.oneOf.1","typeLabel":"null"}],"uniqueKey":"billing.reserved_nanos","typeLabel":"integer | null"},"estimation_truncated":{"oneOf":[{"type":"boolean","description":"True quando a estimativa de reserva foi extrapolada de uma amostra limitada de um arquivo de entrada de lote maior.","uniqueKey":"billing.estimation_truncated.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"True quando a estimativa de reserva foi extrapolada de uma amostra limitada de um arquivo de entrada de lote maior.","uniqueKey":"billing.estimation_truncated.oneOf.1","typeLabel":"null"}],"uniqueKey":"billing.estimation_truncated","typeLabel":"boolean | null"},"estimation_sample_size":{"oneOf":[{"type":"integer","description":"Número de linhas de entrada precificadas diretamente para a estimativa de reserva.","uniqueKey":"billing.estimation_sample_size.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Número de linhas de entrada precificadas diretamente para a estimativa de reserva.","uniqueKey":"billing.estimation_sample_size.oneOf.1","typeLabel":"null"}],"uniqueKey":"billing.estimation_sample_size","typeLabel":"integer | null"},"estimation_total_rows":{"oneOf":[{"type":"integer","description":"Total de linhas de entrada representadas pela estimativa de reserva.","uniqueKey":"billing.estimation_total_rows.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Total de linhas de entrada representadas pela estimativa de reserva.","uniqueKey":"billing.estimation_total_rows.oneOf.1","typeLabel":"null"}],"uniqueKey":"billing.estimation_total_rows","typeLabel":"integer | null"},"total_nanos":{"oneOf":[{"type":"integer","uniqueKey":"billing.total_nanos.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"billing.total_nanos.oneOf.1","typeLabel":"null"}],"uniqueKey":"billing.total_nanos","typeLabel":"integer | null"},"cost_nanos":{"oneOf":[{"type":"integer","uniqueKey":"billing.cost_nanos.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"billing.cost_nanos.oneOf.1","typeLabel":"null"}],"uniqueKey":"billing.cost_nanos","typeLabel":"integer | null"},"cost_usd":{"oneOf":[{"type":"number","uniqueKey":"billing.cost_usd.oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"billing.cost_usd.oneOf.1","typeLabel":"null"}],"uniqueKey":"billing.cost_usd","typeLabel":"number | null"},"finalized_at":{"oneOf":[{"type":"string","uniqueKey":"billing.finalized_at.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"billing.finalized_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"billing.finalized_at","typeLabel":"string | null"},"pricing_breakdown":{"type":"object","additionalProperties":true,"uniqueKey":"billing.pricing_breakdown","typeLabel":"object"}},"uniqueKey":"billing","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":"\u003cstring>","native_batch_id":"\u003cstring>","object":"\u003cstring>","endpoint":"\u003cstring>","errors":{},"input_file_id":"\u003cstring>","completion_window":"\u003cstring>","status":"\u003cstring>","lifecycle_status":"pending","progress":50,"polling_url":"\u003cstring>","websocket_url":"\u003cstring>","cancel_url":"\u003cstring>","results_url":"\u003cstring>","output_file_id":"\u003cstring>","error_file_id":"\u003cstring>","created_at":123,"in_progress_at":123,"expires_at":123,"finalizing_at":123,"completed_at":123,"failed_at":123,"expired_at":123,"cancelling_at":123,"cancelled_at":123,"request_counts":{"total":123,"completed":123,"failed":123},"metadata":{},"request_id":"\u003cstring>","provider":"\u003cstring>","session_id":"\u003cstring>","webhook":{"url":"\u003cstring>","events":["\u003cstring>"],"has_secret":true,"delivery":{"total_attempts":123,"delivered_events":123,"delivered_event_types":["video.completed"],"pending_retries":123,"next_retry_at":"\u003cstring>","last_attempt_at":"\u003cstring>","last_attempt_status":"delivered","last_response_status":123,"last_delivered_at":"\u003cstring>","last_failure_at":"\u003cstring>","last_error_message":"\u003cstring>"},"attempts":[{"id":"\u003cstring>","delivery_key":"video.completed","event_type":"video.completed","status":"delivered","attempt_number":123,"max_attempts":123,"tried_at":"\u003cstring>","delivered_at":"\u003cstring>","next_retry_at":"\u003cstring>","response_status":123,"error_message":"\u003cstring>","response_body_preview":"\u003cstring>"}]},"next_webhook_retry_at":"\u003cstring>","last_webhook_progress":123,"last_webhook_progress_at":"\u003cstring>","last_webhook_dispatched_at":"\u003cstring>","finalized_at":"\u003cstring>","pricing_lines":[{}],"usage":{"requests":123,"input_tokens":123,"output_tokens":123,"total_tokens":123,"cost_nanos":123,"cost_usd":123,"currency":"\u003cstring>"},"billing":{"currency":"\u003cstring>","billed":true,"charged":true,"reason":"\u003cstring>","state":"pending","reservation_id":"\u003cstring>","reservation_status":"\u003cstring>","estimated_provider_cost":"\u003cstring>","estimated_user_cost":"\u003cstring>","settled_provider_cost":"\u003cstring>","settled_user_cost":"\u003cstring>","estimated_nanos":123,"reserved_nanos":123,"estimation_truncated":true,"estimation_sample_size":123,"estimation_total_rows":123,"total_nanos":123,"cost_nanos":123,"cost_usd":123,"finalized_at":"\u003cstring>","pricing_breakdown":{}}}}},"exampleType":"generated"}},"exampleType":"generated"},"488f145f-4a43-447b-b00f-a1d8395b6b74":{"description":"Não autorizado","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"oneOf":[{"type":"string","description":"O objeto de erro (`code`, `message`, `type`, `param` e `metadata` opcional) que os SDKs compatíveis com a OpenAI leem. Respostas anteriores retornavam aqui a string do código; agora ela também é retornada como `code` no nível superior.","example":{"code":"validation_error","message":"Unknown parameter: foo","type":"invalid_request_error","param":"foo"},"isRequired":true,"uniqueKey":"error.oneOf.0","typeLabel":"string"},{"type":"object","description":"O objeto de erro (`code`, `message`, `type`, `param` e `metadata` opcional) que os SDKs compatíveis com a OpenAI leem. Respostas anteriores retornavam aqui a string do código; agora ela também é retornada como `code` no nível superior.","required":["code","message","type"],"example":{"code":"validation_error","message":"Unknown parameter: foo","type":"invalid_request_error","param":"foo"},"properties":{"code":{"type":"string","description":"Código de erro legível por máquina.","example":"validation_error","isRequired":true,"uniqueKey":"error.oneOf.1.code","typeLabel":"string"},"message":{"type":"string","description":"Explicação legível da falha.","example":"Unknown parameter: foo","isRequired":true,"uniqueKey":"error.oneOf.1.message","typeLabel":"string"},"type":{"type":"string","description":"O tipo de erro, de acordo com os tipos de erro documentados pela OpenAI.","enum":["invalid_request_error","authentication_error","permission_error","not_found_error","rate_limit_error","insufficient_quota","server_error","service_unavailable","overloaded"],"example":"invalid_request_error","isRequired":true,"uniqueKey":"error.oneOf.1.type","typeLabel":"enum\u003cstring>"},"param":{"oneOf":[{"type":"string","description":"O parâmetro da solicitação que causou o erro, quando conhecido.","example":"foo","uniqueKey":"error.oneOf.1.param.oneOf.0","typeLabel":"string"},{"type":"null","description":"O parâmetro da solicitação que causou o erro, quando conhecido.","example":"foo","uniqueKey":"error.oneOf.1.param.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.oneOf.1.param","typeLabel":"string | null"},"metadata":{"type":"object","description":"Detalhes estruturados também retornados no nível superior, como o provedor que falhou, `reason`, `failed_statuses`, `retry_after_seconds` ou `upstream_error`.","additionalProperties":true,"uniqueKey":"error.oneOf.1.metadata","typeLabel":"object"}},"additionalProperties":true,"isRequired":true,"uniqueKey":"error.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"error","typeLabel":"string | object"},"ok":{"type":"boolean","example":false,"uniqueKey":"ok","typeLabel":"boolean"},"code":{"type":"string","description":"O código de erro, com o mesmo valor de `error.code`.","example":"validation_error","uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","example":"Human-readable error message","uniqueKey":"message","typeLabel":"string"},"description":{"type":"string","example":"Additional error details.","uniqueKey":"description","typeLabel":"string"},"generation_id":{"type":"string","example":"G-abc123","uniqueKey":"generation_id","typeLabel":"string"},"status_code":{"type":"integer","example":502,"uniqueKey":"status_code","typeLabel":"integer"},"error_type":{"type":"string","enum":["user","system"],"example":"system","uniqueKey":"error_type","typeLabel":"enum\u003cstring>"},"error_origin":{"type":"string","enum":["user","gateway","upstream"],"example":"upstream","uniqueKey":"error_origin","typeLabel":"enum\u003cstring>"},"reason":{"type":"string","example":"all_candidates_failed","uniqueKey":"reason","typeLabel":"string"},"attempt_count":{"type":"integer","example":2,"uniqueKey":"attempt_count","typeLabel":"integer"},"failed_providers":{"type":"array","items":{"type":"string","uniqueKey":"failed_providers.items.[INDEX]","typeLabel":"string"},"example":["google-ai-studio","openai"],"uniqueKey":"failed_providers","typeLabel":"string[]"},"failed_statuses":{"type":"array","items":{"type":"integer","uniqueKey":"failed_statuses.items.[INDEX]","typeLabel":"integer"},"example":[403,429],"uniqueKey":"failed_statuses","typeLabel":"integer[]"},"upstream_error":{"type":"object","properties":{"code":{"oneOf":[{"type":"string","example":"PERMISSION_DENIED","uniqueKey":"upstream_error.code.oneOf.0","typeLabel":"string"},{"type":"null","example":"PERMISSION_DENIED","uniqueKey":"upstream_error.code.oneOf.1","typeLabel":"null"}],"uniqueKey":"upstream_error.code","typeLabel":"string | null"},"message":{"oneOf":[{"type":"string","example":"The caller does not have permission.","uniqueKey":"upstream_error.message.oneOf.0","typeLabel":"string"},{"type":"null","example":"The caller does not have permission.","uniqueKey":"upstream_error.message.oneOf.1","typeLabel":"null"}],"uniqueKey":"upstream_error.message","typeLabel":"string | null"},"description":{"oneOf":[{"type":"string","uniqueKey":"upstream_error.description.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"upstream_error.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"upstream_error.description","typeLabel":"string | null"},"param":{"oneOf":[{"type":"string","uniqueKey":"upstream_error.param.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"upstream_error.param.oneOf.1","typeLabel":"null"}],"uniqueKey":"upstream_error.param","typeLabel":"string | null"}},"uniqueKey":"upstream_error","typeLabel":"object"},"failure_sample":{"type":"array","items":{"type":"object","properties":{"provider":{"oneOf":[{"type":"string","uniqueKey":"failure_sample.items.[INDEX].provider.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"failure_sample.items.[INDEX].provider.oneOf.1","typeLabel":"null"}],"uniqueKey":"failure_sample.items.[INDEX].provider","typeLabel":"string | null"},"type":{"oneOf":[{"type":"string","uniqueKey":"failure_sample.items.[INDEX].type.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"failure_sample.items.[INDEX].type.oneOf.1","typeLabel":"null"}],"uniqueKey":"failure_sample.items.[INDEX].type","typeLabel":"string | null"},"status":{"oneOf":[{"type":"integer","uniqueKey":"failure_sample.items.[INDEX].status.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"failure_sample.items.[INDEX].status.oneOf.1","typeLabel":"null"}],"uniqueKey":"failure_sample.items.[INDEX].status","typeLabel":"integer | null"},"upstream_error_code":{"oneOf":[{"type":"string","uniqueKey":"failure_sample.items.[INDEX].upstream_error_code.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"failure_sample.items.[INDEX].upstream_error_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"failure_sample.items.[INDEX].upstream_error_code","typeLabel":"string | null"},"upstream_error_message":{"oneOf":[{"type":"string","uniqueKey":"failure_sample.items.[INDEX].upstream_error_message.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"failure_sample.items.[INDEX].upstream_error_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"failure_sample.items.[INDEX].upstream_error_message","typeLabel":"string | null"},"upstream_error_description":{"oneOf":[{"type":"string","uniqueKey":"failure_sample.items.[INDEX].upstream_error_description.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"failure_sample.items.[INDEX].upstream_error_description.oneOf.1","typeLabel":"null"}],"uniqueKey":"failure_sample.items.[INDEX].upstream_error_description","typeLabel":"string | null"},"upstream_error_param":{"oneOf":[{"type":"string","uniqueKey":"failure_sample.items.[INDEX].upstream_error_param.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"failure_sample.items.[INDEX].upstream_error_param.oneOf.1","typeLabel":"null"}],"uniqueKey":"failure_sample.items.[INDEX].upstream_error_param","typeLabel":"string | null"},"upstream_payload_preview":{"oneOf":[{"type":"string","uniqueKey":"failure_sample.items.[INDEX].upstream_payload_preview.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"failure_sample.items.[INDEX].upstream_payload_preview.oneOf.1","typeLabel":"null"}],"uniqueKey":"failure_sample.items.[INDEX].upstream_payload_preview","typeLabel":"string | null"},"retryable":{"oneOf":[{"type":"boolean","uniqueKey":"failure_sample.items.[INDEX].retryable.oneOf.0","typeLabel":"boolean"},{"type":"null","uniqueKey":"failure_sample.items.[INDEX].retryable.oneOf.1","typeLabel":"null"}],"uniqueKey":"failure_sample.items.[INDEX].retryable","typeLabel":"boolean | null"}},"additionalProperties":true,"uniqueKey":"failure_sample.items.[INDEX]","typeLabel":"object"},"uniqueKey":"failure_sample","typeLabel":"object[]"},"provider_failure_diagnostics":{"type":"object","properties":{"category":{"type":"string","enum":["credentials_not_configured","credentials_invalid_or_forbidden","provider_access_missing","region_or_project_restriction","model_unavailable_for_endpoint","rate_limited","server_error"],"uniqueKey":"provider_failure_diagnostics.category","typeLabel":"enum\u003cstring>"},"hint":{"type":"string","uniqueKey":"provider_failure_diagnostics.hint","typeLabel":"string"},"provider":{"oneOf":[{"type":"string","uniqueKey":"provider_failure_diagnostics.provider.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"provider_failure_diagnostics.provider.oneOf.1","typeLabel":"null"}],"uniqueKey":"provider_failure_diagnostics.provider","typeLabel":"string | null"}},"uniqueKey":"provider_failure_diagnostics","typeLabel":"object"},"routing_diagnostics":{"type":"object","properties":{"filterStages":{"type":"array","items":{"type":"object","properties":{"stage":{"type":"string","uniqueKey":"routing_diagnostics.filterStages.items.[INDEX].stage","typeLabel":"string"},"beforeCount":{"type":"integer","uniqueKey":"routing_diagnostics.filterStages.items.[INDEX].beforeCount","typeLabel":"integer"},"afterCount":{"type":"integer","uniqueKey":"routing_diagnostics.filterStages.items.[INDEX].afterCount","typeLabel":"integer"},"droppedProviders":{"type":"array","items":{"type":"object","properties":{"providerId":{"oneOf":[{"type":"string","uniqueKey":"routing_diagnostics.filterStages.items.[INDEX].droppedProviders.items.[INDEX].providerId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"routing_diagnostics.filterStages.items.[INDEX].droppedProviders.items.[INDEX].providerId.oneOf.1","typeLabel":"null"}],"uniqueKey":"routing_diagnostics.filterStages.items.[INDEX].droppedProviders.items.[INDEX].providerId","typeLabel":"string | null"},"reason":{"oneOf":[{"type":"string","uniqueKey":"routing_diagnostics.filterStages.items.[INDEX].droppedProviders.items.[INDEX].reason.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"routing_diagnostics.filterStages.items.[INDEX].droppedProviders.items.[INDEX].reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"routing_diagnostics.filterStages.items.[INDEX].droppedProviders.items.[INDEX].reason","typeLabel":"string | null"}},"additionalProperties":true,"uniqueKey":"routing_diagnostics.filterStages.items.[INDEX].droppedProviders.items.[INDEX]","typeLabel":"object"},"uniqueKey":"routing_diagnostics.filterStages.items.[INDEX].droppedProviders","typeLabel":"object[]"}},"additionalProperties":true,"uniqueKey":"routing_diagnostics.filterStages.items.[INDEX]","typeLabel":"object"},"uniqueKey":"routing_diagnostics.filterStages","typeLabel":"object[]"}},"additionalProperties":true,"uniqueKey":"routing_diagnostics","typeLabel":"object"},"provider_candidate_diagnostics":{"type":"object","properties":{"totalProviders":{"type":"integer","uniqueKey":"provider_candidate_diagnostics.totalProviders","typeLabel":"integer"},"supportsEndpointCount":{"type":"integer","uniqueKey":"provider_candidate_diagnostics.supportsEndpointCount","typeLabel":"integer"},"candidateCount":{"type":"integer","uniqueKey":"provider_candidate_diagnostics.candidateCount","typeLabel":"integer"},"droppedUnsupportedEndpoint":{"type":"array","items":{"type":"string","uniqueKey":"provider_candidate_diagnostics.droppedUnsupportedEndpoint.items.[INDEX]","typeLabel":"string"},"uniqueKey":"provider_candidate_diagnostics.droppedUnsupportedEndpoint","typeLabel":"string[]"},"droppedMissingAdapter":{"type":"array","items":{"type":"object","properties":{"providerId":{"oneOf":[{"type":"string","uniqueKey":"provider_candidate_diagnostics.droppedMissingAdapter.items.[INDEX].providerId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"provider_candidate_diagnostics.droppedMissingAdapter.items.[INDEX].providerId.oneOf.1","typeLabel":"null"}],"uniqueKey":"provider_candidate_diagnostics.droppedMissingAdapter.items.[INDEX].providerId","typeLabel":"string | null"},"endpoint":{"oneOf":[{"type":"string","uniqueKey":"provider_candidate_diagnostics.droppedMissingAdapter.items.[INDEX].endpoint.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"provider_candidate_diagnostics.droppedMissingAdapter.items.[INDEX].endpoint.oneOf.1","typeLabel":"null"}],"uniqueKey":"provider_candidate_diagnostics.droppedMissingAdapter.items.[INDEX].endpoint","typeLabel":"string | null"}},"additionalProperties":true,"uniqueKey":"provider_candidate_diagnostics.droppedMissingAdapter.items.[INDEX]","typeLabel":"object"},"uniqueKey":"provider_candidate_diagnostics.droppedMissingAdapter","typeLabel":"object[]"}},"additionalProperties":true,"uniqueKey":"provider_candidate_diagnostics","typeLabel":"object"},"provider_enablement":{"type":"object","properties":{"capability":{"type":"string","uniqueKey":"provider_enablement.capability","typeLabel":"string"},"providersBefore":{"type":"array","items":{"type":"string","uniqueKey":"provider_enablement.providersBefore.items.[INDEX]","typeLabel":"string"},"uniqueKey":"provider_enablement.providersBefore","typeLabel":"string[]"},"providersAfter":{"type":"array","items":{"type":"string","uniqueKey":"provider_enablement.providersAfter.items.[INDEX]","typeLabel":"string"},"uniqueKey":"provider_enablement.providersAfter","typeLabel":"string[]"},"dropped":{"type":"array","items":{"type":"object","properties":{"providerId":{"oneOf":[{"type":"string","uniqueKey":"provider_enablement.dropped.items.[INDEX].providerId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"provider_enablement.dropped.items.[INDEX].providerId.oneOf.1","typeLabel":"null"}],"uniqueKey":"provider_enablement.dropped.items.[INDEX].providerId","typeLabel":"string | null"},"reason":{"oneOf":[{"type":"string","uniqueKey":"provider_enablement.dropped.items.[INDEX].reason.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"provider_enablement.dropped.items.[INDEX].reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"provider_enablement.dropped.items.[INDEX].reason","typeLabel":"string | null"}},"additionalProperties":true,"uniqueKey":"provider_enablement.dropped.items.[INDEX]","typeLabel":"object"},"uniqueKey":"provider_enablement.dropped","typeLabel":"object[]"}},"additionalProperties":true,"uniqueKey":"provider_enablement","typeLabel":"object"},"missing_pricing_providers":{"type":"array","items":{"type":"string","uniqueKey":"missing_pricing_providers.items.[INDEX]","typeLabel":"string"},"uniqueKey":"missing_pricing_providers","typeLabel":"string[]"},"provider_payment_required_provider":{"type":"string","example":"openai","uniqueKey":"provider_payment_required_provider","typeLabel":"string"},"provider_payment_required_support_notice":{"type":"string","example":"Our upstream provider billing appears to be unavailable. If this persists, contact support.","uniqueKey":"provider_payment_required_support_notice","typeLabel":"string"},"details":{"type":"array","items":{"type":"object","additionalProperties":true,"uniqueKey":"details.items.[INDEX]","typeLabel":"object"},"uniqueKey":"details","typeLabel":"object[]"}},"additionalProperties":true,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"validation_error","message":"Unknown parameter: foo","type":"invalid_request_error","param":"foo"},"ok":false,"code":"validation_error","message":"Human-readable error message","description":"Additional error details.","generation_id":"G-abc123","status_code":502,"error_type":"system","error_origin":"upstream","reason":"all_candidates_failed","attempt_count":2,"failed_providers":["google-ai-studio","openai"],"failed_statuses":[403,429],"upstream_error":{"code":"PERMISSION_DENIED","message":"The caller does not have permission.","description":"\u003cstring>","param":"\u003cstring>"},"failure_sample":[{"provider":"\u003cstring>","type":"\u003cstring>","status":123,"upstream_error_code":"\u003cstring>","upstream_error_message":"\u003cstring>","upstream_error_description":"\u003cstring>","upstream_error_param":"\u003cstring>","upstream_payload_preview":"\u003cstring>","retryable":true}],"provider_failure_diagnostics":{"category":"credentials_not_configured","hint":"\u003cstring>","provider":"\u003cstring>"},"routing_diagnostics":{"filterStages":[{"stage":"\u003cstring>","beforeCount":123,"afterCount":123,"droppedProviders":[{"providerId":"\u003cstring>","reason":"\u003cstring>"}]}]},"provider_candidate_diagnostics":{"totalProviders":123,"supportsEndpointCount":123,"candidateCount":123,"droppedUnsupportedEndpoint":["\u003cstring>"],"droppedMissingAdapter":[{"providerId":"\u003cstring>","endpoint":"\u003cstring>"}]},"provider_enablement":{"capability":"\u003cstring>","providersBefore":["\u003cstring>"],"providersAfter":["\u003cstring>"],"dropped":[{"providerId":"\u003cstring>","reason":"\u003cstring>"}]},"missing_pricing_providers":["\u003cstring>"],"provider_payment_required_provider":"openai","provider_payment_required_support_notice":"Our upstream provider billing appears to be unavailable. If this persists, contact support.","details":[{}]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"5b0aa667-eb07-42ee-9d1c-e203b14b7fe0":{"BearerAuth":{"type":"http","scheme":"bearer","description":"Autenticação com token Bearer","scopes":[],"schemeName":"BearerAuth"}}},"servers":{"63000968-0931-4dce-ad80-c05a0affe08b":{"url":"https://api.phaseo.app/v1","description":"Roteamento global"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"Autenticação com token Bearer","scopes":[],"schemeName":"BearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Autenticação com token Bearer","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"BearerAuth","name":"Authorization"}],"title":"BearerAuth"}]},"originalFileLocation":"pt-BR/openapi/v1/openapi.localized.yaml"},"subdomain":"aistats","siteName":"Phaseo Docs","title":"Criar lote - Phaseo Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/v1/api-reference/endpoint/batches-create","matchLevel":1},"es":{"href":"/es/v1/api-reference/endpoint/batches-create","matchLevel":1},"fr":{"href":"/fr/v1/api-reference/endpoint/batches-create","matchLevel":1},"de":{"href":"/de/v1/api-reference/endpoint/batches-create","matchLevel":1},"pt-BR":{"href":"/pt-BR/v1/api-reference/endpoint/batches-create","matchLevel":0},"ja":{"href":"/ja/v1/api-reference/endpoint/batches-create","matchLevel":1},"zh-Hans":{"href":"/zh-Hans/v1/api-reference/endpoint/batches-create","matchLevel":1},"hi":{"href":"/hi/v1/api-reference/endpoint/batches-create","matchLevel":1},"ar":{"href":"/ar/v1/api-reference/endpoint/batches-create","matchLevel":1}}},"lastModified":"2026-11-16T14:22:27.735Z","gitLastModified":"2026-11-16T14:20:53.000Z","originalFileLocation":"pt-BR/v1/api-reference/endpoint/batches-create.mdx","locale":"pt-BR"},"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=\"Cria um trabalho de lote assíncrono e retorna o objeto de lote do provedor. A criação suporta OpenAI, Anthropic, Google Gemini, Mistral, xAI, Groq e Together AI pelo model solicitado. O gateway infere o provedor pelo modelo e também aceita session_id e webhook para observabilidade e notificações assíncronas. Use provider apenas como restrição avançada de roteamento.\">\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=\"Criar lote - Phaseo Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Cria um trabalho de lote assíncrono e retorna o objeto de lote do provedor. A criação suporta OpenAI, Anthropic, Google Gemini, Mistral, xAI, Groq e Together AI pelo model solicitado. O gateway infere o provedor pelo modelo e também aceita session_id e webhook para observabilidade e notificações assíncronas. Use provider apenas como restrição avançada de roteamento.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Phaseo Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://phaseo.app/docs/pt-BR/v1/api-reference/endpoint/batches-create\">\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=Em+lote\u0026amp;title=Criar+lote\u0026amp;description=Cria+um+trabalho+de+lote+ass%C3%ADncrono+e+retorna+o+objeto+de+lote+do+provedor.+A+cria%C3%A7%C3%A3o+suporta+OpenAI%2C+Anthropic%2C+Google+Gemini%2C+Mistral%2C+xAI%2C+Groq+e+Together+AI\u0026amp;theme=8f1a8a6f41ec087882173e2f\u0026amp;signature=9a1582640494531dcde46e21d3737265f9b443840f2490a029bda20f37b66121\">\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=\"Criar lote - Phaseo Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Cria um trabalho de lote assíncrono e retorna o objeto de lote do provedor. A criação suporta OpenAI, Anthropic, Google Gemini, Mistral, xAI, Groq e Together AI pelo model solicitado. O gateway infere o provedor pelo modelo e também aceita session_id e webhook para observabilidade e notificações assíncronas. Use provider apenas como restrição avançada de roteamento.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://aistats.mintlify.site/docs/_mintlify/api/og/v2?division=Em+lote\u0026amp;title=Criar+lote\u0026amp;description=Cria+um+trabalho+de+lote+ass%C3%ADncrono+e+retorna+o+objeto+de+lote+do+provedor.+A+cria%C3%A7%C3%A3o+suporta+OpenAI%2C+Anthropic%2C+Google+Gemini%2C+Mistral%2C+xAI%2C+Groq+e+Together+AI\u0026amp;theme=8f1a8a6f41ec087882173e2f\u0026amp;signature=9a1582640494531dcde46e21d3737265f9b443840f2490a029bda20f37b66121\">\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/pt-BR/v1/api-reference/endpoint/batches-create\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/pt-BR/v1/api-reference/endpoint/batches-create.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"pt-BR\" href=\"https://phaseo.app/docs/pt-BR/v1/api-reference/endpoint/batches-create\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://phaseo.app/docs/v1/api-reference/endpoint/batches-create\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"es\" href=\"https://phaseo.app/docs/es/v1/api-reference/endpoint/batches-create\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"fr\" href=\"https://phaseo.app/docs/fr/v1/api-reference/endpoint/batches-create\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"de\" href=\"https://phaseo.app/docs/de/v1/api-reference/endpoint/batches-create\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ja\" href=\"https://phaseo.app/docs/ja/v1/api-reference/endpoint/batches-create\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh-Hans\" href=\"https://phaseo.app/docs/zh-Hans/v1/api-reference/endpoint/batches-create\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"hi\" href=\"https://phaseo.app/docs/hi/v1/api-reference/endpoint/batches-create\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ar\" href=\"https://phaseo.app/docs/ar/v1/api-reference/endpoint/batches-create\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://phaseo.app/docs/v1/api-reference/endpoint/batches-create\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://phaseo.app/#organization\",\"name\":\"Phaseo Docs\",\"url\":\"https://phaseo.app\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/aistats/bxzzjromPyjBlHKc/logo/light.svg?fit=max\u0026auto=format\u0026n=bxzzjromPyjBlHKc\u0026q=85\u0026s=f1e10d307a46469852edc2ae198e3c2a\"}},{\"@type\":\"WebSite\",\"@id\":\"https://phaseo.app/docs#website\",\"name\":\"Phaseo Docs\",\"url\":\"https://phaseo.app/docs\",\"publisher\":{\"@id\":\"https://phaseo.app/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://phaseo.app/docs/pt-BR/v1/api-reference/endpoint/batches-create#webpage\",\"url\":\"https://phaseo.app/docs/pt-BR/v1/api-reference/endpoint/batches-create\",\"name\":\"Criar lote\",\"description\":\"Cria um trabalho de lote assíncrono e retorna o objeto de lote do provedor. A criação suporta OpenAI, Anthropic, Google Gemini, Mistral, xAI, Groq e Together AI pelo model solicitado. O gateway infere o provedor pelo modelo e também aceita session_id e webhook para observabilidade e notificações assíncronas. Use provider apenas como restrição avançada de roteamento.\",\"dateModified\":\"2026-11-16T14:20:53.000Z\",\"isPartOf\":{\"@id\":\"https://phaseo.app/docs#website\"},\"breadcrumb\":{\"@id\":\"https://phaseo.app/docs/pt-BR/v1/api-reference/endpoint/batches-create#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://phaseo.app/docs/pt-BR/v1/api-reference/endpoint/batches-create#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Phaseo Docs\",\"item\":\"https://phaseo.app/docs\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Criar lote\",\"item\":\"https://phaseo.app/docs/pt-BR/v1/api-reference/endpoint/batches-create\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://phaseo.app/docs/pt-BR/v1/api-reference/endpoint/batches-create#apireference\",\"headline\":\"Criar lote\",\"name\":\"Criar lote\",\"description\":\"Cria um trabalho de lote assíncrono e retorna o objeto de lote do provedor. A criação suporta OpenAI, Anthropic, Google Gemini, Mistral, xAI, Groq e Together AI pelo model solicitado. O gateway infere o provedor pelo modelo e também aceita session_id e webhook para observabilidade e notificações assíncronas. Use provider apenas como restrição avançada de roteamento.\",\"url\":\"https://phaseo.app/docs/pt-BR/v1/api-reference/endpoint/batches-create\",\"mainEntityOfPage\":{\"@id\":\"https://phaseo.app/docs/pt-BR/v1/api-reference/endpoint/batches-create#webpage\"},\"dateModified\":\"2026-11-16T14:20:53.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/pt-BR/v1/api-reference/endpoint/batches-create.md","siteName":"Phaseo Docs","nav":{"global":null,"languages":[{"language":"en","pages":[{"title":"en","href":"/v1/api-reference/endpoint/batches-create"}]},{"language":"es","footer":{"socials":{"x":"https://x.com/phaseoteam","github":"https://github.com/phaseoteam/Phaseo","discord":"https://discord.gg/aQyywCvgZ5","linkedin":"https://www.linkedin.com/company/phaseoapp","reddit":"https://www.reddit.com/r/Phaseo"},"links":[{"items":[{"label":"Modelos","href":"https://phaseo.app/es-ES/models"},{"label":"Estado","href":"https://status.phaseo.app"},{"label":"Soporte","href":"https://phaseo.app/es-ES/help"}]}]},"navbar":{"primary":{"type":"button","label":"Obtener clave de API","href":"https://phaseo.app/es-ES/settings/keys"}},"pages":[{"title":"es","href":"/es/v1/api-reference/endpoint/batches-create"}]},{"language":"fr","footer":{"socials":{"x":"https://x.com/phaseoteam","github":"https://github.com/phaseoteam/Phaseo","discord":"https://discord.gg/aQyywCvgZ5","linkedin":"https://www.linkedin.com/company/phaseoapp","reddit":"https://www.reddit.com/r/Phaseo"},"links":[{"items":[{"label":"Modèles","href":"https://phaseo.app/fr-FR/models"},{"label":"État","href":"https://status.phaseo.app"},{"label":"Assistance","href":"https://phaseo.app/fr-FR/help"}]}]},"navbar":{"primary":{"type":"button","label":"Obtenir une clé API","href":"https://phaseo.app/fr-FR/settings/keys"}},"pages":[{"title":"fr","href":"/fr/v1/api-reference/endpoint/batches-create"}]},{"language":"de","footer":{"socials":{"x":"https://x.com/phaseoteam","github":"https://github.com/phaseoteam/Phaseo","discord":"https://discord.gg/aQyywCvgZ5","linkedin":"https://www.linkedin.com/company/phaseoapp","reddit":"https://www.reddit.com/r/Phaseo"},"links":[{"items":[{"label":"Modelle","href":"https://phaseo.app/de-DE/models"},{"label":"Status","href":"https://status.phaseo.app"},{"label":"Support","href":"https://phaseo.app/de-DE/help"}]}]},"navbar":{"primary":{"type":"button","label":"API-Schlüssel erstellen","href":"https://phaseo.app/de-DE/settings/keys"}},"pages":[{"title":"de","href":"/de/v1/api-reference/endpoint/batches-create"}]},{"language":"pt-BR","footer":{"socials":{"x":"https://x.com/phaseoteam","github":"https://github.com/phaseoteam/Phaseo","discord":"https://discord.gg/aQyywCvgZ5","linkedin":"https://www.linkedin.com/company/phaseoapp","reddit":"https://www.reddit.com/r/Phaseo"},"links":[{"items":[{"label":"Modelos","href":"https://phaseo.app/pt-BR/models"},{"label":"Status","href":"https://status.phaseo.app"},{"label":"Suporte","href":"https://phaseo.app/pt-BR/help"}]}]},"navbar":{"primary":{"type":"button","label":"Obter chave de API","href":"https://phaseo.app/pt-BR/settings/keys"}},"tabs":[{"tab":"Docs","icon":"book","pages":[{"title":"Docs","href":"/pt-BR/v1"}]},{"tab":"Referência API","icon":"server","groups":[{"group":"Guias de API","icon":"book-open","expanded":true,"pages":[{"title":"Visão geral da API do Gateway","sidebarTitle":"Visão geral","icon":"map","href":"/pt-BR/v1/api-reference/introduction"},{"title":"Autenticação","icon":"key-round","href":"/pt-BR/v1/developers/authentication"},{"title":"Parâmetros","icon":"sliders-horizontal","href":"/pt-BR/v1/api-reference/parameters"},{"title":"Transmissão","icon":"radio","href":"/pt-BR/v1/guides/streaming"},{"title":"Limites de taxa","icon":"gauge","href":"/pt-BR/v1/api-reference/limits"},{"title":"Erros e depuração","icon":"bug","href":"/pt-BR/v1/api-reference/errors"}]},{"group":"Texto","icon":"message-square-text","pages":[{"title":"Criar uma resposta","sidebarTitle":"Criar uma resposta","openapi":"pt-BR/openapi/v1/openapi.localized.yaml POST /responses","href":"/pt-BR/v1/api-reference/endpoint/responses"},{"title":"Criar uma conclusão de chat","sidebarTitle":"Criar uma conclusão de chat","openapi":"pt-BR/openapi/v1/openapi.localized.yaml POST /chat/completions","href":"/pt-BR/v1/api-reference/endpoint/chat-completions"},{"title":"Criar uma mensagem","sidebarTitle":"Criar uma mensagem (Anthropic)","openapi":"pt-BR/openapi/v1/openapi.localized.yaml POST /messages","href":"/pt-BR/v1/api-reference/endpoint/anthropic-messages"}]},{"group":"Imagem","icon":"image","pages":[{"title":"Gerar uma imagem","sidebarTitle":"Gerar uma imagem","openapi":"pt-BR/openapi/v1/openapi.localized.yaml POST /images/generations","href":"/pt-BR/v1/api-reference/endpoint/images-generations"},{"title":"Editar uma imagem","sidebarTitle":"Editar uma imagem","openapi":"pt-BR/openapi/v1/openapi.localized.yaml POST /images/edits","href":"/pt-BR/v1/api-reference/endpoint/images-edits"}]},{"group":"Vídeo","icon":"video","tag":"Alpha","pages":[{"title":"Criar vídeo","openapi":"pt-BR/openapi/v1/openapi.localized.yaml POST /videos","href":"/pt-BR/v1/api-reference/endpoint/video-create"},{"title":"Obter status de vídeo","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /videos/{video_id}","href":"/pt-BR/v1/api-reference/endpoint/video-status"},{"title":"Baixar conteúdo de vídeo","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /videos/{video_id}/content","href":"/pt-BR/v1/api-reference/endpoint/video-content"},{"title":"Criar uma URL de download assinada","sidebarTitle":"Criar URL de download","openapi":"pt-BR/openapi/v1/openapi.localized.yaml POST /videos/{video_id}/download_url","href":"/pt-BR/v1/api-reference/endpoint/video-download-url"},{"title":"Cancelar vídeo","openapi":"pt-BR/openapi/v1/openapi.localized.yaml POST /videos/{video_id}/cancel","href":"/pt-BR/v1/api-reference/endpoint/video-cancel"},{"title":"Excluir vídeo","openapi":"pt-BR/openapi/v1/openapi.localized.yaml DELETE /videos/{video_id}","href":"/pt-BR/v1/api-reference/endpoint/video-delete"},{"title":"Listar vídeos","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /videos","href":"/pt-BR/v1/api-reference/endpoint/video-list"},{"title":"Listar modelos de vídeo","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /videos/models","href":"/pt-BR/v1/api-reference/endpoint/video-models"}]},{"group":"Embeddings","icon":"braces","pages":[{"title":"Criar embeddings","sidebarTitle":"Criar embeddings","openapi":"pt-BR/openapi/v1/openapi.localized.yaml POST /embeddings","href":"/pt-BR/v1/api-reference/endpoint/embeddings"}]},{"group":"Decisões","icon":"signpost","pages":[{"title":"Tomar uma decisão","openapi":"pt-BR/openapi/v1/openapi.localized.yaml POST /decisions","href":"/pt-BR/v1/api-reference/endpoint/decisions"},{"title":"Extrair valores","icon":"list-filter","openapi":"pt-BR/openapi/v1/openapi.localized.yaml POST /extractions","href":"/pt-BR/v1/api-reference/endpoint/extractions"}]},{"group":"Moderação","icon":"shield-check","pages":[{"title":"Criar uma moderação","sidebarTitle":"Criar uma moderação","openapi":"pt-BR/openapi/v1/openapi.localized.yaml POST /moderations","href":"/pt-BR/v1/api-reference/endpoint/moderations"}]},{"group":"Reclassificação","icon":"arrow-down-wide-narrow","pages":[{"title":"Reordenar documentos","sidebarTitle":"Reordenar documentos","openapi":"pt-BR/openapi/v1/openapi.localized.yaml POST /rerank","href":"/pt-BR/v1/api-reference/endpoint/rerank"}]},{"group":"Documentos","icon":"file-text","pages":[{"title":"Extrair texto com OCR","sidebarTitle":"Extrair texto","openapi":"pt-BR/openapi/v1/openapi.localized.yaml POST /ocr","href":"/pt-BR/v1/api-reference/endpoint/ocr"},{"title":"Analisar uma imagem de documento","sidebarTitle":"Analisar um documento","openapi":"pt-BR/openapi/v1/openapi.localized.yaml POST /parse","href":"/pt-BR/v1/api-reference/endpoint/parse"}]},{"group":"Fala","icon":"audio-lines","pages":[{"title":"Criar fala","sidebarTitle":"Criar fala","openapi":"pt-BR/openapi/v1/openapi.localized.yaml POST /audio/speech","href":"/pt-BR/v1/api-reference/endpoint/audio-speech"}]},{"group":"Transcrição","icon":"captions","pages":[{"title":"Criar uma transcrição","sidebarTitle":"Criar uma transcrição","openapi":"pt-BR/openapi/v1/openapi.localized.yaml POST /audio/transcriptions","href":"/pt-BR/v1/api-reference/endpoint/audio-transcriptions"}]},{"group":"Tradução","icon":"languages","pages":[{"title":"Criar uma tradução","sidebarTitle":"Criar uma tradução","openapi":"pt-BR/openapi/v1/openapi.localized.yaml POST /audio/translations","href":"/pt-BR/v1/api-reference/endpoint/audio-translations"}]},{"group":"Música","icon":"music","pages":[{"title":"Gerar música","sidebarTitle":"Gerar música","openapi":"pt-BR/openapi/v1/openapi.localized.yaml POST /music/generate","href":"/pt-BR/v1/api-reference/endpoint/music-generate"},{"title":"Obter geração de música","sidebarTitle":"Obter geração de música","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /music/generate/{music_id}","description":"Recupere uma geração de música pelo ID de solicitação do Phaseo.","href":"/pt-BR/v1/api-reference/endpoint/music-status"}]},{"group":"Tarefas, arquivos e webhooks","icon":"layers","pages":[{"group":"Em lote","tag":"Beta","expanded":true,"pages":[{"title":"Criar lote","openapi":"pt-BR/openapi/v1/openapi.localized.yaml POST /batches","href":"/pt-BR/v1/api-reference/endpoint/batches-create"},{"title":"Obter status de um lote","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /batches/{batch_id}","description":"Recupera um trabalho de lote criado anteriormente.","href":"/pt-BR/v1/api-reference/endpoint/batches-retrieve"},{"title":"Baixar resultados de um lote","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /batches/{batch_id}/results","href":"/pt-BR/v1/api-reference/endpoint/batches-results"},{"title":"Listar solicitações de um lote","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /batches/{batch_id}/requests","href":"/pt-BR/v1/api-reference/endpoint/batches-requests"},{"title":"Cancelar lote","openapi":"pt-BR/openapi/v1/openapi.localized.yaml POST /batches/{batch_id}/cancel","href":"/pt-BR/v1/api-reference/endpoint/batches-cancel"},{"title":"Listar lotes","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /batches","href":"/pt-BR/v1/api-reference/endpoint/batches-list"},{"title":"Enviar arquivo de lote","openapi":"pt-BR/openapi/v1/openapi.localized.yaml POST /batches/files","href":"/pt-BR/v1/api-reference/endpoint/batches-files-upload"},{"title":"Obter arquivo de lote","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /batches/files/{file_id}","href":"/pt-BR/v1/api-reference/endpoint/batches-files-retrieve"},{"title":"Baixar conteúdo de arquivo de lote","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /batches/files/{file_id}/content","href":"/pt-BR/v1/api-reference/endpoint/batches-files-content"},{"title":"Listar arquivos de lotes","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /batches/files","href":"/pt-BR/v1/api-reference/endpoint/batches-files-list"},{"title":"Listar modelos de processamento em lote","sidebarTitle":"Listar modelos de lote","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /batches/models","href":"/pt-BR/v1/api-reference/endpoint/batches-models"},{"title":"Listar recursos dos provedores de processamento em lote","sidebarTitle":"Listar recursos de lote","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /batches/capabilities","href":"/pt-BR/v1/api-reference/endpoint/batches-capabilities"}]},{"group":"Arquivos","expanded":true,"pages":[{"title":"Enviar um arquivo","sidebarTitle":"Enviar um arquivo","openapi":"pt-BR/openapi/v1/openapi.localized.yaml POST /files","href":"/pt-BR/v1/api-reference/endpoint/files"},{"title":"Recuperar um arquivo","sidebarTitle":"Recuperar arquivo","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /files/{file_id}","href":"/pt-BR/v1/api-reference/endpoint/files-retrieve"},{"title":"Baixar conteúdo do arquivo","sidebarTitle":"Baixar conteúdo do arquivo","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /files/{file_id}/content","href":"/pt-BR/v1/api-reference/endpoint/files-content"},{"title":"Listar arquivos","sidebarTitle":"Listar arquivos","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /files","href":"/pt-BR/v1/api-reference/endpoint/files-list"}]},{"group":"Endpoints de webhook","tag":"Beta","expanded":true,"pages":[{"title":"Criar endpoint de webhook","openapi":"pt-BR/openapi/v1/openapi.localized.yaml POST /webhook-endpoints","href":"/pt-BR/v1/api-reference/endpoint/webhook-endpoints-create"},{"title":"Consultar endpoint de webhook","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /webhook-endpoints/{id}","href":"/pt-BR/v1/api-reference/endpoint/webhook-endpoints-get"},{"title":"Atualizar endpoint de webhook","openapi":"pt-BR/openapi/v1/openapi.localized.yaml PATCH /webhook-endpoints/{id}","href":"/pt-BR/v1/api-reference/endpoint/webhook-endpoints-update"},{"title":"Alternar o segredo do webhook","openapi":"pt-BR/openapi/v1/openapi.localized.yaml POST /webhook-endpoints/{id}/rotate-secret","href":"/pt-BR/v1/api-reference/endpoint/webhook-endpoints-rotate-secret"},{"title":"Excluir endpoint de webhook","openapi":"pt-BR/openapi/v1/openapi.localized.yaml DELETE /webhook-endpoints/{id}","href":"/pt-BR/v1/api-reference/endpoint/webhook-endpoints-delete"},{"title":"Listar endpoints de webhook","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /webhook-endpoints","href":"/pt-BR/v1/api-reference/endpoint/webhook-endpoints-list"}]}]},{"group":"Modelos e preços","icon":"boxes","pages":[{"title":"Listar modelos","sidebarTitle":"Listar modelos","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /models","href":"/pt-BR/v1/api-reference/endpoint/models"},{"title":"Listar recursos dos endpoints do modelo","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /models/{author}/{slug}/endpoints","href":"/pt-BR/v1/api-reference/endpoint/model-endpoints"},{"title":"Listar provedores","sidebarTitle":"Listar provedores","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /providers","href":"/pt-BR/v1/api-reference/endpoint/providers"},{"title":"Listar endpoints","sidebarTitle":"Listar endpoints","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /endpoints","href":"/pt-BR/v1/api-reference/endpoint/endpoints"},{"title":"Listar preços dos modelos","sidebarTitle":"Listar preços dos modelos","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /pricing/models","href":"/pt-BR/v1/api-reference/endpoint/pricing-models"},{"title":"Calcular preços","sidebarTitle":"Calcular preços","openapi":"pt-BR/openapi/v1/openapi.localized.yaml POST /pricing/calculate","href":"/pt-BR/v1/api-reference/endpoint/pricing-calculate"},{"title":"Listar organizações","sidebarTitle":"Listar organizações","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /organisations","href":"/pt-BR/v1/api-reference/endpoint/organisations"}]},{"group":"Roteamento e políticas","icon":"route","pages":[{"group":"Roteamento","expanded":false,"pages":[{"title":"Obter configurações do espaço de trabalho","sidebarTitle":"Obter configurações","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /settings","href":"/pt-BR/v1/api-reference/endpoint/workspace-settings-get"},{"title":"Atualizar configurações do espaço de trabalho","sidebarTitle":"Atualizar configurações","openapi":"pt-BR/openapi/v1/openapi.localized.yaml PATCH /settings","href":"/pt-BR/v1/api-reference/endpoint/workspace-settings-update"},{"title":"Criar rota dinâmica","sidebarTitle":"Criar rota","openapi":"pt-BR/openapi/v1/openapi.localized.yaml POST /routing/dynamic-routes","href":"/pt-BR/v1/api-reference/endpoint/dynamic-routes-create"},{"title":"Obter rota dinâmica","sidebarTitle":"Obter rota","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /routing/dynamic-routes/{id}","href":"/pt-BR/v1/api-reference/endpoint/dynamic-routes-get"},{"title":"Atualizar rota dinâmica","sidebarTitle":"Atualizar rota","openapi":"pt-BR/openapi/v1/openapi.localized.yaml PATCH /routing/dynamic-routes/{id}","href":"/pt-BR/v1/api-reference/endpoint/dynamic-routes-update"},{"title":"Substituir chaves da rota dinâmica","sidebarTitle":"Associar chaves","openapi":"pt-BR/openapi/v1/openapi.localized.yaml PUT /routing/dynamic-routes/{id}/keys","href":"/pt-BR/v1/api-reference/endpoint/dynamic-routes-keys-update"},{"title":"Implantar versão de rota dinâmica","sidebarTitle":"Implantar versão","openapi":"pt-BR/openapi/v1/openapi.localized.yaml POST /routing/dynamic-routes/{id}/versions/{version}/deploy","href":"/pt-BR/v1/api-reference/endpoint/dynamic-routes-deploy"},{"title":"Excluir rota dinâmica","sidebarTitle":"Excluir rota","openapi":"pt-BR/openapi/v1/openapi.localized.yaml DELETE /routing/dynamic-routes/{id}","href":"/pt-BR/v1/api-reference/endpoint/dynamic-routes-delete"},{"title":"Listar rotas dinâmicas","sidebarTitle":"Listar rotas","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /routing/dynamic-routes","href":"/pt-BR/v1/api-reference/endpoint/dynamic-routes-list"},{"title":"Obter as configurações de roteamento automático","sidebarTitle":"Obter roteamento automático","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /routing/auto","href":"/pt-BR/v1/api-reference/endpoint/routing-auto-get"},{"title":"Atualizar as configurações de roteamento automático","sidebarTitle":"Atualizar roteamento automático","openapi":"pt-BR/openapi/v1/openapi.localized.yaml PATCH /routing/auto","href":"/pt-BR/v1/api-reference/endpoint/routing-auto-update"},{"title":"Listar substituições sucessoras","sidebarTitle":"Listar substituições","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /routing/successor/replacements","href":"/pt-BR/v1/api-reference/endpoint/successor-replacements-list"},{"title":"Salvar uma substituição sucessora","sidebarTitle":"Salvar substituição","openapi":"pt-BR/openapi/v1/openapi.localized.yaml PUT /routing/successor/replacements","href":"/pt-BR/v1/api-reference/endpoint/successor-replacements-save"},{"title":"Remover uma substituição sucessora","sidebarTitle":"Remover substituição","openapi":"pt-BR/openapi/v1/openapi.localized.yaml DELETE /routing/successor/replacements","href":"/pt-BR/v1/api-reference/endpoint/successor-replacements-remove"}]},{"group":"Predefinições","expanded":false,"pages":[{"title":"Criar predefinição","sidebarTitle":"Criar predefinição","openapi":"pt-BR/openapi/v1/openapi.localized.yaml POST /presets","href":"/pt-BR/v1/api-reference/endpoint/presets-create"},{"title":"Obter predefinição","sidebarTitle":"Obter predefinição","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /presets/{id}","href":"/pt-BR/v1/api-reference/endpoint/presets-get"},{"title":"Atualizar rascunho da predefinição","sidebarTitle":"Atualizar predefinição","openapi":"pt-BR/openapi/v1/openapi.localized.yaml PATCH /presets/{id}","href":"/pt-BR/v1/api-reference/endpoint/presets-update"},{"title":"Publicar versão da predefinição","sidebarTitle":"Publicar versão","openapi":"pt-BR/openapi/v1/openapi.localized.yaml POST /presets/{id}/versions","href":"/pt-BR/v1/api-reference/endpoint/presets-version-publish"},{"title":"Listar versões da predefinição","sidebarTitle":"Listar versões","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /presets/{id}/versions","href":"/pt-BR/v1/api-reference/endpoint/presets-versions-list"},{"title":"Listar rótulos da predefinição","sidebarTitle":"Listar rótulos","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /presets/{id}/labels","href":"/pt-BR/v1/api-reference/endpoint/presets-labels-list"},{"title":"Definir rótulo da predefinição","sidebarTitle":"Definir rótulo","openapi":"pt-BR/openapi/v1/openapi.localized.yaml PUT /presets/{id}/labels/{label}","href":"/pt-BR/v1/api-reference/endpoint/presets-label-set"},{"title":"Remover rótulo da predefinição","sidebarTitle":"Remover rótulo","openapi":"pt-BR/openapi/v1/openapi.localized.yaml DELETE /presets/{id}/labels/{label}","href":"/pt-BR/v1/api-reference/endpoint/presets-label-delete"},{"title":"Criar derivação de predefinição pública","sidebarTitle":"Derivar predefinição","openapi":"pt-BR/openapi/v1/openapi.localized.yaml POST /presets/{id}/fork","href":"/pt-BR/v1/api-reference/endpoint/presets-fork"},{"title":"Aplicar versão upstream da predefinição","sidebarTitle":"Aplicar upstream","openapi":"pt-BR/openapi/v1/openapi.localized.yaml POST /presets/{id}/upstream","href":"/pt-BR/v1/api-reference/endpoint/presets-upstream-apply"},{"title":"Arquivar predefinição","sidebarTitle":"Arquivar predefinição","openapi":"pt-BR/openapi/v1/openapi.localized.yaml DELETE /presets/{id}","href":"/pt-BR/v1/api-reference/endpoint/presets-delete"},{"title":"Listar predefinições","sidebarTitle":"Listar predefinições","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /presets","href":"/pt-BR/v1/api-reference/endpoint/presets-list"},{"title":"Obter publicador da predefinição","sidebarTitle":"Obter publicador","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /presets/publisher","href":"/pt-BR/v1/api-reference/endpoint/presets-publisher-get"},{"title":"Atualizar publicador da predefinição","sidebarTitle":"Atualizar publicador","openapi":"pt-BR/openapi/v1/openapi.localized.yaml PUT /presets/publisher","href":"/pt-BR/v1/api-reference/endpoint/presets-publisher-update"}]},{"group":"Modelos privados","expanded":false,"pages":[{"title":"Criar um modelo privado","sidebarTitle":"Criar um modelo privado","openapi":"pt-BR/openapi/v1/openapi.localized.yaml POST /private-models","href":"/pt-BR/v1/api-reference/endpoint/private-models-create"},{"title":"Obter um modelo privado","sidebarTitle":"Obter um modelo privado","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /private-models/{id}","href":"/pt-BR/v1/api-reference/endpoint/private-models-get"},{"title":"Atualizar um modelo privado","sidebarTitle":"Atualizar um modelo privado","openapi":"pt-BR/openapi/v1/openapi.localized.yaml PATCH /private-models/{id}","href":"/pt-BR/v1/api-reference/endpoint/private-models-update"},{"title":"Excluir um modelo privado","sidebarTitle":"Excluir um modelo privado","openapi":"pt-BR/openapi/v1/openapi.localized.yaml DELETE /private-models/{id}","href":"/pt-BR/v1/api-reference/endpoint/private-models-delete"},{"title":"Listar modelos privados","sidebarTitle":"Listar modelos privados","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /private-models","href":"/pt-BR/v1/api-reference/endpoint/private-models-list"}]},{"group":"Credenciais de provedores","expanded":false,"pages":[{"title":"Criar credencial do provedor","sidebarTitle":"Criar credencial","openapi":"pt-BR/openapi/v1/openapi.localized.yaml POST /byok","href":"/pt-BR/v1/api-reference/endpoint/provider-credentials-create"},{"title":"Obter credencial do provedor","sidebarTitle":"Obter credencial","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /byok/{id}","href":"/pt-BR/v1/api-reference/endpoint/provider-credentials-get"},{"title":"Atualizar credencial do provedor","sidebarTitle":"Atualizar credencial","openapi":"pt-BR/openapi/v1/openapi.localized.yaml PATCH /byok/{id}","href":"/pt-BR/v1/api-reference/endpoint/provider-credentials-update"},{"title":"Reordenar credenciais do provedor","sidebarTitle":"Reordenar credenciais","openapi":"pt-BR/openapi/v1/openapi.localized.yaml POST /byok/reorder","href":"/pt-BR/v1/api-reference/endpoint/provider-credentials-reorder"},{"title":"Excluir credencial do provedor","sidebarTitle":"Excluir credencial","openapi":"pt-BR/openapi/v1/openapi.localized.yaml DELETE /byok/{id}","href":"/pt-BR/v1/api-reference/endpoint/provider-credentials-delete"},{"title":"Listar credenciais do provedor","sidebarTitle":"Listar credenciais","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /byok","href":"/pt-BR/v1/api-reference/endpoint/provider-credentials-list"}]},{"group":"Proteções","expanded":false,"pages":[{"icon":"shield-check","title":"API de proteções","sidebarTitle":"Visão geral","href":"/pt-BR/v1/api-reference/endpoint/guardrails"},{"title":"Criar proteção","sidebarTitle":"Criar proteção","openapi":"pt-BR/openapi/v1/openapi.localized.yaml POST /guardrails","href":"/pt-BR/v1/api-reference/endpoint/guardrails-create"},{"title":"Obter proteção","sidebarTitle":"Obter proteção","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /guardrails/{id}","href":"/pt-BR/v1/api-reference/endpoint/guardrails-get"},{"title":"Atualizar proteção","sidebarTitle":"Atualizar proteção","openapi":"pt-BR/openapi/v1/openapi.localized.yaml PATCH /guardrails/{id}","href":"/pt-BR/v1/api-reference/endpoint/guardrails-update"},{"title":"Excluir proteção","sidebarTitle":"Excluir proteção","openapi":"pt-BR/openapi/v1/openapi.localized.yaml DELETE /guardrails/{id}","href":"/pt-BR/v1/api-reference/endpoint/guardrails-delete"},{"title":"Listar proteções","sidebarTitle":"Listar proteções","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /guardrails","href":"/pt-BR/v1/api-reference/endpoint/guardrails-list"},{"title":"Adicionar chaves à proteção","sidebarTitle":"Adicionar chaves atribuídas","openapi":"pt-BR/openapi/v1/openapi.localized.yaml POST /guardrails/{id}/keys/add","href":"/pt-BR/v1/api-reference/endpoint/guardrail-keys-add"},{"title":"Substituir chaves da proteção","sidebarTitle":"Substituir chaves atribuídas","openapi":"pt-BR/openapi/v1/openapi.localized.yaml PUT /guardrails/{id}/keys","href":"/pt-BR/v1/api-reference/endpoint/guardrail-keys-replace"},{"title":"Remover chaves da proteção","sidebarTitle":"Remover chaves atribuídas","openapi":"pt-BR/openapi/v1/openapi.localized.yaml POST /guardrails/{id}/keys/remove","href":"/pt-BR/v1/api-reference/endpoint/guardrail-keys-remove"},{"title":"Listar chaves da proteção","sidebarTitle":"Listar chaves atribuídas","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /guardrails/{id}/keys","href":"/pt-BR/v1/api-reference/endpoint/guardrail-keys-list"},{"title":"Adicionar membros à proteção","sidebarTitle":"Adicionar membros atribuídos","openapi":"pt-BR/openapi/v1/openapi.localized.yaml POST /guardrails/{id}/members/add","href":"/pt-BR/v1/api-reference/endpoint/guardrail-members-add"},{"title":"Remover membros da proteção","sidebarTitle":"Remover membros atribuídos","openapi":"pt-BR/openapi/v1/openapi.localized.yaml POST /guardrails/{id}/members/remove","href":"/pt-BR/v1/api-reference/endpoint/guardrail-members-remove"},{"title":"Listar membros da proteção","sidebarTitle":"Listar membros atribuídos","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /guardrails/{id}/members","href":"/pt-BR/v1/api-reference/endpoint/guardrail-members-list"}]}]},{"group":"Uso e monitoramento","icon":"chart-no-axes-combined","pages":[{"group":"Uso e análises","expanded":true,"pages":[{"title":"Obter uma geração","sidebarTitle":"Obter uma geração","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /generations","href":"/pt-BR/v1/api-reference/endpoint/generation"},{"title":"Listar atividade","sidebarTitle":"Listar atividade","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /activity","href":"/pt-BR/v1/api-reference/endpoint/activity"},{"title":"Listar eventos de auditoria do espaço de trabalho","sidebarTitle":"Eventos de auditoria","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /audit-events","href":"/pt-BR/v1/api-reference/endpoint/audit-events"},{"title":"Obter análises do espaço de trabalho","sidebarTitle":"Obter análises","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /analytics","href":"/pt-BR/v1/api-reference/endpoint/analytics-get"},{"title":"Exportar análises do espaço de trabalho","sidebarTitle":"Exportar análises","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /analytics/export","href":"/pt-BR/v1/api-reference/endpoint/analytics-export"},{"title":"Verificar a integridade do gateway","sidebarTitle":"Verificação de integridade","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /health","href":"/pt-BR/v1/api-reference/endpoint/health"}]},{"group":"Registros","expanded":true,"pages":[{"title":"Listar logs de solicitações do Gateway","sidebarTitle":"Listar logs do Gateway","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /logs","href":"/pt-BR/v1/api-reference/endpoint/logs-list"},{"title":"Consultar log de solicitações do Gateway","sidebarTitle":"Consultar log do Gateway","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /logs/{requestId}","href":"/pt-BR/v1/api-reference/endpoint/logs-get"}]},{"group":"Observabilidade","expanded":true,"pages":[{"title":"Obter política de registro de observabilidade","sidebarTitle":"Obter política de registro","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /observability/logging-policy","href":"/pt-BR/v1/api-reference/endpoint/observability-logging-policy-get"},{"title":"Atualizar política de registro de observabilidade","sidebarTitle":"Atualizar política de registro","openapi":"pt-BR/openapi/v1/openapi.localized.yaml PATCH /observability/logging-policy","href":"/pt-BR/v1/api-reference/endpoint/observability-logging-policy-update"},{"title":"Criar destino de observabilidade","sidebarTitle":"Criar destino","openapi":"pt-BR/openapi/v1/openapi.localized.yaml POST /observability/destinations","href":"/pt-BR/v1/api-reference/endpoint/observability-destinations-create"},{"title":"Obter destino de observabilidade","sidebarTitle":"Obter destino","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /observability/destinations/{id}","href":"/pt-BR/v1/api-reference/endpoint/observability-destinations-get"},{"title":"Atualizar destino de observabilidade","sidebarTitle":"Atualizar destino","openapi":"pt-BR/openapi/v1/openapi.localized.yaml PATCH /observability/destinations/{id}","href":"/pt-BR/v1/api-reference/endpoint/observability-destinations-update"},{"title":"Excluir destino de observabilidade","sidebarTitle":"Excluir destino","openapi":"pt-BR/openapi/v1/openapi.localized.yaml DELETE /observability/destinations/{id}","href":"/pt-BR/v1/api-reference/endpoint/observability-destinations-delete"},{"title":"Listar destinos de observabilidade","sidebarTitle":"Listar destinos","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /observability/destinations","href":"/pt-BR/v1/api-reference/endpoint/observability-destinations-list"},{"title":"Testar as configurações de um destino","sidebarTitle":"Testar configurações","openapi":"pt-BR/openapi/v1/openapi.localized.yaml POST /observability/destinations/test","href":"/pt-BR/v1/api-reference/endpoint/observability-destinations-test-config"},{"title":"Verificar a conexão de um destino","sidebarTitle":"Verificar conexão","openapi":"pt-BR/openapi/v1/openapi.localized.yaml POST /observability/destinations/{id}/test","href":"/pt-BR/v1/api-reference/endpoint/observability-destinations-test"},{"title":"Enviar um trace de exemplo","sidebarTitle":"Enviar trace de exemplo","openapi":"pt-BR/openapi/v1/openapi.localized.yaml POST /observability/destinations/{id}/sample","href":"/pt-BR/v1/api-reference/endpoint/observability-destinations-sample"},{"title":"Testar um classificador de solicitações","sidebarTitle":"Testar classificador","openapi":"pt-BR/openapi/v1/openapi.localized.yaml POST /classifiers/test","href":"/pt-BR/v1/api-reference/endpoint/classifiers-test"}]},{"group":"Feedback e avaliações","tag":"Alpha","expanded":false,"pages":[{"title":"Criar feedback do Gateway","openapi":"pt-BR/openapi/v1/openapi.localized.yaml POST /feedback","href":"/pt-BR/v1/api-reference/endpoint/feedback-create"},{"title":"Listar feedback do Gateway","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /feedback","href":"/pt-BR/v1/api-reference/endpoint/feedback-list"},{"title":"Resumir feedback do Gateway","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /feedback/summary","href":"/pt-BR/v1/api-reference/endpoint/feedback-summary"},{"title":"Criar evento de observabilidade","openapi":"pt-BR/openapi/v1/openapi.localized.yaml POST /events","href":"/pt-BR/v1/api-reference/endpoint/events-create"},{"title":"Listar eventos de observabilidade","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /events","href":"/pt-BR/v1/api-reference/endpoint/events-list"},{"title":"Criar execução de teste de predefinição","sidebarTitle":"Criar teste de predefinição","openapi":"pt-BR/openapi/v1/openapi.localized.yaml POST /preset-test-runs","href":"/pt-BR/v1/api-reference/endpoint/preset-test-run-create"},{"title":"Consultar execução de teste de predefinição","sidebarTitle":"Consultar teste de predefinição","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /preset-test-runs/{id}","href":"/pt-BR/v1/api-reference/endpoint/preset-test-run-get"},{"title":"Atualizar execução de teste de predefinição","sidebarTitle":"Atualizar teste de predefinição","openapi":"pt-BR/openapi/v1/openapi.localized.yaml PATCH /preset-test-runs/{id}","href":"/pt-BR/v1/api-reference/endpoint/preset-test-run-update"},{"title":"Listar execuções de teste de predefinições","sidebarTitle":"Listar testes de predefinições","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /preset-test-runs","href":"/pt-BR/v1/api-reference/endpoint/preset-test-runs-list"}]}]},{"group":"Gerenciamento de espaços de trabalho","icon":"users","pages":[{"group":"Espaços de trabalho","expanded":false,"pages":[{"title":"Criar um espaço de trabalho","sidebarTitle":"Criar espaço de trabalho","openapi":"pt-BR/openapi/v1/openapi.localized.yaml POST /workspaces","href":"/pt-BR/v1/api-reference/endpoint/workspaces-create"},{"title":"Obter um espaço de trabalho","sidebarTitle":"Obter espaço de trabalho","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /workspaces/{id}","href":"/pt-BR/v1/api-reference/endpoint/workspaces-get"},{"title":"Atualizar espaço de trabalho","sidebarTitle":"Atualizar espaço de trabalho","openapi":"pt-BR/openapi/v1/openapi.localized.yaml PATCH /workspaces/{id}","href":"/pt-BR/v1/api-reference/endpoint/workspaces-update"},{"title":"Excluir um espaço de trabalho","sidebarTitle":"Excluir espaço de trabalho","openapi":"pt-BR/openapi/v1/openapi.localized.yaml DELETE /workspaces/{id}","href":"/pt-BR/v1/api-reference/endpoint/workspaces-delete"},{"title":"Listar espaços de trabalho","sidebarTitle":"Listar espaços de trabalho","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /workspaces","href":"/pt-BR/v1/api-reference/endpoint/workspaces-list"},{"title":"Adicionar membros ao espaço de trabalho","sidebarTitle":"Adicionar membros","openapi":"pt-BR/openapi/v1/openapi.localized.yaml POST /workspaces/{id}/members/add","href":"/pt-BR/v1/api-reference/endpoint/workspace-members-add"},{"title":"Atualizar função do membro do espaço de trabalho","sidebarTitle":"Atualizar função do membro","openapi":"pt-BR/openapi/v1/openapi.localized.yaml PATCH /workspaces/{id}/members/{user_id}","href":"/pt-BR/v1/api-reference/endpoint/workspace-member-role-update"},{"title":"Remover membros do espaço de trabalho","sidebarTitle":"Remover membros","openapi":"pt-BR/openapi/v1/openapi.localized.yaml POST /workspaces/{id}/members/remove","href":"/pt-BR/v1/api-reference/endpoint/workspace-members-remove"},{"title":"Listar membros do espaço de trabalho","sidebarTitle":"Listar membros","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /workspaces/{id}/members","href":"/pt-BR/v1/api-reference/endpoint/workspace-members-list"},{"title":"Criar convite para o espaço de trabalho","sidebarTitle":"Criar convite","openapi":"pt-BR/openapi/v1/openapi.localized.yaml POST /workspaces/{id}/invites","href":"/pt-BR/v1/api-reference/endpoint/workspace-invites-create"},{"title":"Excluir convite do espaço de trabalho","sidebarTitle":"Excluir convite","openapi":"pt-BR/openapi/v1/openapi.localized.yaml DELETE /workspaces/{id}/invites/{invite_id}","href":"/pt-BR/v1/api-reference/endpoint/workspace-invites-delete"},{"title":"Listar convites do espaço de trabalho","sidebarTitle":"Listar convites","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /workspaces/{id}/invites","href":"/pt-BR/v1/api-reference/endpoint/workspace-invites-list"},{"title":"Listar solicitações para entrar no espaço de trabalho","sidebarTitle":"Listar solicitações para entrar","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /workspaces/{id}/join-requests","href":"/pt-BR/v1/api-reference/endpoint/workspace-join-requests-list"},{"title":"Aprovar solicitação para entrar no espaço de trabalho","sidebarTitle":"Aprovar solicitação de entrada","openapi":"pt-BR/openapi/v1/openapi.localized.yaml POST /workspaces/{id}/join-requests/{request_id}/approve","href":"/pt-BR/v1/api-reference/endpoint/workspace-join-request-approve"},{"title":"Recusar solicitação para entrar no espaço de trabalho","sidebarTitle":"Recusar solicitação para entrar","openapi":"pt-BR/openapi/v1/openapi.localized.yaml POST /workspaces/{id}/join-requests/{request_id}/reject","href":"/pt-BR/v1/api-reference/endpoint/workspace-join-request-reject"},{"title":"Aceitar um convite para um espaço de trabalho","sidebarTitle":"Aceitar convite","openapi":"pt-BR/openapi/v1/openapi.localized.yaml POST /invites/accept","href":"/pt-BR/v1/api-reference/endpoint/invites-accept"},{"title":"Listar suas solicitações de entrada","sidebarTitle":"Listar suas solicitações","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /invites/requests","href":"/pt-BR/v1/api-reference/endpoint/invites-requests-list"},{"title":"Obter o nível de limite de taxa","sidebarTitle":"Obter nível de limite","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /rate-limits/tier","href":"/pt-BR/v1/api-reference/endpoint/rate-limits-tier-get"},{"title":"Aumentar o nível de limite de taxa","sidebarTitle":"Aumentar nível de limite","openapi":"pt-BR/openapi/v1/openapi.localized.yaml POST /rate-limits/tier/raise","href":"/pt-BR/v1/api-reference/endpoint/rate-limits-tier-raise"}]},{"group":"Chaves de API","expanded":false,"pages":[{"title":"Obter chave de API atual","sidebarTitle":"Obter chave de API atual","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /key","href":"/pt-BR/v1/api-reference/endpoint/key-current"},{"title":"Criar chave de API","sidebarTitle":"Criar chave de API","openapi":"pt-BR/openapi/v1/openapi.localized.yaml POST /keys","href":"/pt-BR/v1/api-reference/endpoint/keys-create"},{"title":"Obter chave de API","sidebarTitle":"Obter chave de API","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /keys/{id}","href":"/pt-BR/v1/api-reference/endpoint/keys-get"},{"title":"Atualizar chave de API","sidebarTitle":"Atualizar chave de API","openapi":"pt-BR/openapi/v1/openapi.localized.yaml PATCH /keys/{id}","href":"/pt-BR/v1/api-reference/endpoint/keys-update"},{"title":"Alternar chave de API","openapi":"pt-BR/openapi/v1/openapi.localized.yaml POST /keys/{id}/rotate","href":"/pt-BR/v1/api-reference/endpoint/keys-rotate"},{"title":"Invalidar o cache de chaves de API","openapi":"pt-BR/openapi/v1/openapi.localized.yaml POST /keys/{id}/invalidate","href":"/pt-BR/v1/api-reference/endpoint/keys-invalidate"},{"title":"Excluir chave de API","sidebarTitle":"Excluir chave de API","openapi":"pt-BR/openapi/v1/openapi.localized.yaml DELETE /keys/{id}","href":"/pt-BR/v1/api-reference/endpoint/keys-delete"},{"title":"Listar chaves de API","sidebarTitle":"Listar chaves de API","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /keys","href":"/pt-BR/v1/api-reference/endpoint/keys-list"},{"title":"Denunciar uma chave de API vazada","sidebarTitle":"Denunciar chave vazada","openapi":"pt-BR/openapi/v1/openapi.localized.yaml POST /security/report-leaked-key","href":"/pt-BR/v1/api-reference/endpoint/security-report-leaked-key"},{"title":"Listar políticas de workloads confiáveis","sidebarTitle":"Listar políticas de workloads confiáveis","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /workload-identity/policies","href":"/pt-BR/v1/api-reference/endpoint/trusted-workloads-list"},{"title":"Criar política de workload confiável","sidebarTitle":"Criar política de workload confiável","openapi":"pt-BR/openapi/v1/openapi.localized.yaml POST /workload-identity/policies","href":"/pt-BR/v1/api-reference/endpoint/trusted-workloads-create"},{"title":"Obter política de workload confiável","sidebarTitle":"Obter política de workload confiável","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /workload-identity/policies/{id}","href":"/pt-BR/v1/api-reference/endpoint/trusted-workloads-get"},{"title":"Atualizar política de workload confiável","sidebarTitle":"Atualizar política de workload confiável","openapi":"pt-BR/openapi/v1/openapi.localized.yaml PATCH /workload-identity/policies/{id}","href":"/pt-BR/v1/api-reference/endpoint/trusted-workloads-update"},{"title":"Excluir política de workload confiável","sidebarTitle":"Excluir política de workload confiável","openapi":"pt-BR/openapi/v1/openapi.localized.yaml DELETE /workload-identity/policies/{id}","href":"/pt-BR/v1/api-reference/endpoint/trusted-workloads-delete"}]},{"group":"Chaves de gerenciamento","expanded":false,"pages":[{"title":"Criar chave de gerenciamento","sidebarTitle":"Criar chave de gerenciamento","openapi":"pt-BR/openapi/v1/openapi.localized.yaml POST /management-keys","href":"/pt-BR/v1/api-reference/endpoint/management-keys-create"},{"title":"Obter chave de gerenciamento","sidebarTitle":"Obter chave de gerenciamento","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /management-keys/{id}","href":"/pt-BR/v1/api-reference/endpoint/management-keys-get"},{"title":"Atualizar chave de gerenciamento","sidebarTitle":"Atualizar chave de gerenciamento","openapi":"pt-BR/openapi/v1/openapi.localized.yaml PATCH /management-keys/{id}","href":"/pt-BR/v1/api-reference/endpoint/management-keys-update"},{"title":"Excluir chave de gerenciamento","sidebarTitle":"Excluir chave de gerenciamento","openapi":"pt-BR/openapi/v1/openapi.localized.yaml DELETE /management-keys/{id}","href":"/pt-BR/v1/api-reference/endpoint/management-keys-delete"},{"title":"Listar chaves de gerenciamento","sidebarTitle":"Listar chaves de gerenciamento","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /management-keys","href":"/pt-BR/v1/api-reference/endpoint/management-keys-list"}]},{"group":"Créditos e limites","expanded":false,"pages":[{"title":"Consultar créditos","sidebarTitle":"Consultar créditos","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /credits","href":"/pt-BR/v1/api-reference/endpoint/credits"},{"title":"Criar um orçamento do espaço de trabalho","sidebarTitle":"Criar orçamento","openapi":"pt-BR/openapi/v1/openapi.localized.yaml POST /budgets","href":"/pt-BR/v1/api-reference/endpoint/budgets-create"},{"title":"Obter orçamento do espaço de trabalho","sidebarTitle":"Obter orçamento","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /budgets/{id}","href":"/pt-BR/v1/api-reference/endpoint/budgets-get"},{"title":"Atualizar orçamento do espaço de trabalho","sidebarTitle":"Atualizar orçamento","openapi":"pt-BR/openapi/v1/openapi.localized.yaml PATCH /budgets/{id}","href":"/pt-BR/v1/api-reference/endpoint/budgets-update"},{"title":"Excluir orçamento do espaço de trabalho","sidebarTitle":"Excluir orçamento","openapi":"pt-BR/openapi/v1/openapi.localized.yaml DELETE /budgets/{id}","href":"/pt-BR/v1/api-reference/endpoint/budgets-delete"},{"title":"Listar orçamentos do espaço de trabalho","sidebarTitle":"Listar orçamentos","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /budgets","href":"/pt-BR/v1/api-reference/endpoint/budgets-list"}]},{"group":"Regras de gastos","expanded":false,"pages":[{"title":"Criar uma regra de gastos","sidebarTitle":"Criar regra","openapi":"pt-BR/openapi/v1/openapi.localized.yaml POST /spend-rules","href":"/pt-BR/v1/api-reference/endpoint/spend-rules-create"},{"title":"Obter uma regra de gastos","sidebarTitle":"Obter regra","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /spend-rules/{id}","href":"/pt-BR/v1/api-reference/endpoint/spend-rules-get"},{"title":"Atualizar uma regra de gastos","sidebarTitle":"Atualizar regra","openapi":"pt-BR/openapi/v1/openapi.localized.yaml PATCH /spend-rules/{id}","href":"/pt-BR/v1/api-reference/endpoint/spend-rules-update"},{"title":"Excluir uma regra de gastos","sidebarTitle":"Excluir regra","openapi":"pt-BR/openapi/v1/openapi.localized.yaml DELETE /spend-rules/{id}","href":"/pt-BR/v1/api-reference/endpoint/spend-rules-delete"},{"title":"Listar regras de gastos","sidebarTitle":"Listar regras","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /spend-rules","href":"/pt-BR/v1/api-reference/endpoint/spend-rules-list"},{"title":"Pré-visualizar uma regra de gastos","sidebarTitle":"Pré-visualizar regra","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /spend-rules/{id}/preview","href":"/pt-BR/v1/api-reference/endpoint/spend-rules-preview"},{"title":"Enviar um alerta de gastos de teste","sidebarTitle":"Enviar teste","openapi":"pt-BR/openapi/v1/openapi.localized.yaml POST /spend-rules/{id}/test","href":"/pt-BR/v1/api-reference/endpoint/spend-rules-test"},{"title":"Listar o histórico de uma regra de gastos","sidebarTitle":"Histórico da regra","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /spend-rules/{id}/history","href":"/pt-BR/v1/api-reference/endpoint/spend-rules-history"},{"title":"Listar bloqueios de gastos","sidebarTitle":"Listar bloqueios","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /spend-blocks","href":"/pt-BR/v1/api-reference/endpoint/spend-blocks-list"},{"title":"Remover um bloqueio de gastos","sidebarTitle":"Remover bloqueio","openapi":"pt-BR/openapi/v1/openapi.localized.yaml POST /spend-blocks/{id}/lift","href":"/pt-BR/v1/api-reference/endpoint/spend-blocks-lift"}]},{"group":"Aplicativos OAuth","expanded":false,"pages":[{"title":"Criar um cliente OAuth","openapi":"pt-BR/openapi/v1/openapi.localized.yaml POST /oauth-clients","href":"/pt-BR/v1/api-reference/endpoint/oauth-clients-create"},{"title":"Consultar um cliente OAuth","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /oauth-clients/{client_id}","href":"/pt-BR/v1/api-reference/endpoint/oauth-clients-get"},{"title":"Atualizar um cliente OAuth","openapi":"pt-BR/openapi/v1/openapi.localized.yaml PATCH /oauth-clients/{client_id}","href":"/pt-BR/v1/api-reference/endpoint/oauth-clients-update"},{"title":"Gerar novamente o segredo OAuth","openapi":"pt-BR/openapi/v1/openapi.localized.yaml POST /oauth-clients/{client_id}/regenerate-secret","href":"/pt-BR/v1/api-reference/endpoint/oauth-clients-regenerate-secret"},{"title":"Excluir um cliente OAuth","openapi":"pt-BR/openapi/v1/openapi.localized.yaml DELETE /oauth-clients/{client_id}","href":"/pt-BR/v1/api-reference/endpoint/oauth-clients-delete"},{"title":"Listar clientes OAuth","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /oauth-clients","href":"/pt-BR/v1/api-reference/endpoint/oauth-clients-list"},{"title":"Obter o usuário conectado","sidebarTitle":"Obter usuário conectado","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /me","href":"/pt-BR/v1/api-reference/endpoint/me-get"},{"title":"Obter seu perfil","sidebarTitle":"Obter perfil","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /me/profile","href":"/pt-BR/v1/api-reference/endpoint/profile-get"},{"title":"Atualizar seu perfil","sidebarTitle":"Atualizar perfil","openapi":"pt-BR/openapi/v1/openapi.localized.yaml PATCH /me/profile","href":"/pt-BR/v1/api-reference/endpoint/profile-update"},{"title":"Listar aplicativos autorizados","sidebarTitle":"Listar aplicativos autorizados","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /me/authorized-apps","href":"/pt-BR/v1/api-reference/endpoint/authorized-apps-list"},{"title":"Remover escopos de um aplicativo autorizado","sidebarTitle":"Reduzir escopos","openapi":"pt-BR/openapi/v1/openapi.localized.yaml PATCH /me/authorized-apps/{id}","href":"/pt-BR/v1/api-reference/endpoint/authorized-apps-update-scopes"},{"title":"Revogar um aplicativo autorizado","sidebarTitle":"Revogar aplicativo","openapi":"pt-BR/openapi/v1/openapi.localized.yaml DELETE /me/authorized-apps/{id}","href":"/pt-BR/v1/api-reference/endpoint/authorized-apps-revoke"}]},{"group":"SSO e SCIM","tag":"Beta","expanded":false,"pages":[{"title":"Consultar o SSO do espaço de trabalho","sidebarTitle":"Consultar o SSO","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /identity/sso","href":"/pt-BR/v1/api-reference/endpoint/identity-sso-get"},{"title":"Atualizar o SSO do espaço de trabalho","sidebarTitle":"Atualizar o SSO","openapi":"pt-BR/openapi/v1/openapi.localized.yaml PUT /identity/sso","href":"/pt-BR/v1/api-reference/endpoint/identity-sso-update"},{"title":"Consultar o SCIM do espaço de trabalho","sidebarTitle":"Consultar o SCIM","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /identity/scim","href":"/pt-BR/v1/api-reference/endpoint/identity-scim-get"},{"title":"Atualizar o SCIM do espaço de trabalho","sidebarTitle":"Atualizar o SCIM","openapi":"pt-BR/openapi/v1/openapi.localized.yaml PUT /identity/scim","href":"/pt-BR/v1/api-reference/endpoint/identity-scim-update"},{"title":"Criar um token SCIM","openapi":"pt-BR/openapi/v1/openapi.localized.yaml POST /identity/scim/tokens","href":"/pt-BR/v1/api-reference/endpoint/identity-scim-token-create"},{"title":"Revogar um token SCIM","openapi":"pt-BR/openapi/v1/openapi.localized.yaml DELETE /identity/scim/tokens/{id}","href":"/pt-BR/v1/api-reference/endpoint/identity-scim-token-revoke"},{"title":"Listar eventos de auditoria do SCIM","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /identity/scim/audit","href":"/pt-BR/v1/api-reference/endpoint/identity-scim-audit-list"}]},{"group":"Diretório e departamentos","tag":"Beta","expanded":false,"pages":[{"title":"Consultar o diretório do espaço de trabalho","sidebarTitle":"Consultar o diretório","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /identity/directory","href":"/pt-BR/v1/api-reference/endpoint/identity-directory-get"},{"title":"Atualizar um membro do diretório","openapi":"pt-BR/openapi/v1/openapi.localized.yaml PUT /identity/directory/members/{id}","href":"/pt-BR/v1/api-reference/endpoint/identity-directory-member-update"},{"title":"Criar departamento do espaço de trabalho","sidebarTitle":"Criar departamento","openapi":"pt-BR/openapi/v1/openapi.localized.yaml POST /identity/departments","href":"/pt-BR/v1/api-reference/endpoint/identity-department-create"},{"title":"Atualizar um departamento do espaço de trabalho","sidebarTitle":"Atualizar um departamento","openapi":"pt-BR/openapi/v1/openapi.localized.yaml PATCH /identity/departments/{id}","href":"/pt-BR/v1/api-reference/endpoint/identity-department-update"},{"title":"Excluir um departamento do espaço de trabalho","sidebarTitle":"Excluir um departamento","openapi":"pt-BR/openapi/v1/openapi.localized.yaml DELETE /identity/departments/{id}","href":"/pt-BR/v1/api-reference/endpoint/identity-department-delete"},{"title":"Listar departamentos do espaço de trabalho","sidebarTitle":"Listar departamentos","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /identity/departments","href":"/pt-BR/v1/api-reference/endpoint/identity-departments-list"},{"title":"Definir a associação ao departamento","sidebarTitle":"Definir associação","openapi":"pt-BR/openapi/v1/openapi.localized.yaml PUT /identity/departments/{departmentId}/members/{userId}","href":"/pt-BR/v1/api-reference/endpoint/identity-department-member-set"},{"title":"Excluir participação no departamento","sidebarTitle":"Excluir associação","openapi":"pt-BR/openapi/v1/openapi.localized.yaml DELETE /identity/departments/{departmentId}/members/{userId}","href":"/pt-BR/v1/api-reference/endpoint/identity-department-member-delete"},{"title":"Criar um mapeamento de grupo do diretório","sidebarTitle":"Criar mapeamento de grupo","openapi":"pt-BR/openapi/v1/openapi.localized.yaml POST /identity/group-mappings","href":"/pt-BR/v1/api-reference/endpoint/identity-group-mapping-create"},{"title":"Atualizar um mapeamento de grupo do diretório","sidebarTitle":"Atualizar mapeamento de grupo","openapi":"pt-BR/openapi/v1/openapi.localized.yaml PATCH /identity/group-mappings/{id}","href":"/pt-BR/v1/api-reference/endpoint/identity-group-mapping-update"},{"title":"Excluir um mapeamento de grupo do diretório","sidebarTitle":"Excluir mapeamento de grupo","openapi":"pt-BR/openapi/v1/openapi.localized.yaml DELETE /identity/group-mappings/{id}","href":"/pt-BR/v1/api-reference/endpoint/identity-group-mapping-delete"},{"title":"Listar mapeamentos de grupos do diretório","sidebarTitle":"Listar mapeamentos de grupos","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /identity/group-mappings","href":"/pt-BR/v1/api-reference/endpoint/identity-group-mappings-list"}]},{"group":"Notificações","expanded":false,"pages":[{"title":"Consultar configurações de notificação","sidebarTitle":"Consultar configurações","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /notifications/settings","href":"/pt-BR/v1/api-reference/endpoint/notifications-settings-get"},{"title":"Atualizar configurações de notificação","sidebarTitle":"Atualizar configurações","openapi":"pt-BR/openapi/v1/openapi.localized.yaml PATCH /notifications/settings","href":"/pt-BR/v1/api-reference/endpoint/notifications-settings-update"},{"title":"Criar destino de notificação","openapi":"pt-BR/openapi/v1/openapi.localized.yaml POST /notifications/destinations","href":"/pt-BR/v1/api-reference/endpoint/notifications-destination-create"},{"title":"Testar configuração do destino","openapi":"pt-BR/openapi/v1/openapi.localized.yaml POST /notifications/destinations/test","href":"/pt-BR/v1/api-reference/endpoint/notifications-destination-config-test"},{"title":"Testar destino de notificação","openapi":"pt-BR/openapi/v1/openapi.localized.yaml POST /notifications/destinations/{id}/test","href":"/pt-BR/v1/api-reference/endpoint/notifications-destination-test"},{"title":"Rotacionar o segredo de um webhook de notificação","openapi":"pt-BR/openapi/v1/openapi.localized.yaml POST /notifications/destinations/{id}/rotate-secret","href":"/pt-BR/v1/api-reference/endpoint/notifications-destination-rotate-secret"},{"title":"Excluir destino de notificação","openapi":"pt-BR/openapi/v1/openapi.localized.yaml DELETE /notifications/destinations/{id}","href":"/pt-BR/v1/api-reference/endpoint/notifications-destination-delete"},{"title":"Listar destinos de notificação","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /notifications/destinations","href":"/pt-BR/v1/api-reference/endpoint/notifications-destinations-list"},{"title":"Listar rotas de notificação","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /notifications/routes","href":"/pt-BR/v1/api-reference/endpoint/notifications-routes-list"},{"title":"Atualizar rota de notificação","openapi":"pt-BR/openapi/v1/openapi.localized.yaml PUT /notifications/routes/{eventKind}","href":"/pt-BR/v1/api-reference/endpoint/notifications-route-update"}]},{"group":"Aplicativos","expanded":false,"pages":[{"title":"Listar aplicativos do espaço de trabalho","sidebarTitle":"Listar aplicativos","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /apps","href":"/pt-BR/v1/api-reference/endpoint/apps-list"},{"title":"Atualizar aplicativo do espaço de trabalho","sidebarTitle":"Atualizar aplicativo","openapi":"pt-BR/openapi/v1/openapi.localized.yaml PATCH /apps/{id}","href":"/pt-BR/v1/api-reference/endpoint/app-update"},{"title":"Mesclar aplicativos do espaço de trabalho","sidebarTitle":"Mesclar aplicativos","openapi":"pt-BR/openapi/v1/openapi.localized.yaml POST /apps/{id}/merge","href":"/pt-BR/v1/api-reference/endpoint/app-merge"}]},{"group":"Contribuição de dados","expanded":false,"pages":[{"title":"Consultar configurações de contribuição de dados","sidebarTitle":"Consultar contribuição de dados","openapi":"pt-BR/openapi/v1/openapi.localized.yaml GET /data-contribution","href":"/pt-BR/v1/api-reference/endpoint/data-contribution-get"},{"title":"Atualizar consentimento para contribuição de dados","sidebarTitle":"Atualizar consentimento","openapi":"pt-BR/openapi/v1/openapi.localized.yaml PATCH /data-contribution/consent","href":"/pt-BR/v1/api-reference/endpoint/data-contribution-consent-update"},{"title":"Criar classificador de contribuição de dados","sidebarTitle":"Criar classificador","openapi":"pt-BR/openapi/v1/openapi.localized.yaml POST /data-contribution/classifiers","href":"/pt-BR/v1/api-reference/endpoint/data-contribution-classifier-create"},{"title":"Atualizar classificador de contribuição de dados","sidebarTitle":"Atualizar classificador","openapi":"pt-BR/openapi/v1/openapi.localized.yaml PATCH /data-contribution/classifiers/{id}","href":"/pt-BR/v1/api-reference/endpoint/data-contribution-classifier-update"},{"title":"Excluir classificador de contribuição de dados","sidebarTitle":"Excluir classificador","openapi":"pt-BR/openapi/v1/openapi.localized.yaml DELETE /data-contribution/classifiers/{id}","href":"/pt-BR/v1/api-reference/endpoint/data-contribution-classifier-delete"}]}]}]},{"tab":"SDKs","icon":"package","menu":[{"item":"AI SDK da Vercel","icon":"https://mintlify.s3.us-west-1.amazonaws.com/aistats/icons/brands/vercel.svg","pages":[{"title":"AI SDK da Vercel","href":"/pt-BR/v1/sdk-reference/sdk/ai-sdk"}]},{"item":"SDKs do Phaseo","icon":"code","pages":[{"title":"SDKs do Phaseo","href":"/pt-BR/v1/sdk-reference/client/overview"}]}],"pages":[{"title":"SDKs","href":"/pt-BR/v1/sdk-reference/sdk/ai-sdk"}]},{"tab":"SDK de agentes","icon":"bot","pages":[{"title":"SDK de agentes","href":"/pt-BR/v1/sdk-reference/agent/overview"}]},{"tab":"Receitas","icon":"chef-hat","pages":[{"title":"Receitas","href":"/pt-BR/v1/cookbook"}]},{"tab":"Novidades","icon":"history","pages":[{"title":"Novidades","href":"/pt-BR/v1/changelog"}]}]},{"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/batches-create"}]},{"language":"zh-Hans","footer":{"socials":{"x":"https://x.com/phaseoteam","github":"https://github.com/phaseoteam/Phaseo","discord":"https://discord.gg/aQyywCvgZ5","linkedin":"https://www.linkedin.com/company/phaseoapp","reddit":"https://www.reddit.com/r/Phaseo"},"links":[{"items":[{"label":"模型","href":"https://phaseo.app/zh-Hans/models"},{"label":"状态","href":"https://status.phaseo.app"},{"label":"支持","href":"https://phaseo.app/zh-Hans/help"}]}]},"navbar":{"primary":{"type":"button","label":"获取 API 密钥","href":"https://phaseo.app/zh-Hans/settings/keys"}},"pages":[{"title":"zh-Hans","href":"/zh-Hans/v1/api-reference/endpoint/batches-create"}]},{"language":"hi","footer":{"socials":{"x":"https://x.com/phaseoteam","github":"https://github.com/phaseoteam/Phaseo","discord":"https://discord.gg/aQyywCvgZ5","linkedin":"https://www.linkedin.com/company/phaseoapp","reddit":"https://www.reddit.com/r/Phaseo"},"links":[{"items":[{"label":"मॉडल","href":"https://phaseo.app/hi/models"},{"label":"स्थिति","href":"https://status.phaseo.app"},{"label":"सहायता","href":"https://phaseo.app/hi/help"}]}]},"navbar":{"primary":{"type":"button","label":"API कुंजी प्राप्त करें","href":"https://phaseo.app/hi/settings/keys"}},"pages":[{"title":"hi","href":"/hi/v1/api-reference/endpoint/batches-create"}]},{"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/batches-create"}]}]},"basePath":"","title":"Criar lote - 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"]}