Mistral AI/chatCompletionV1ChatCompletionsPost

暂不支持在线调用 · 原因见下方

Mistral AIMistral AI API

POST/v1/chat/completions

管理chat Completion V1 Chat Completions Post。

Mistral AI API 中用于 chat Completion V1 Chat Completions Post 的保留合约 POST Endpoint。模型与资源相关值由调用方在运行时提供。

覆盖固定 Apache-2.0 许可官方 revision 中 ApiKey 认证的 238 个 Mistral AI Platform REST Endpoint(含类型化 SSE 流式与 Workflows)。Hub 提供文档与独立 SDK/CLI,但不代理模型、账户或用量数据;调用方通过本地 API key 直连。

请求

operationId
chatCompletionV1ChatCompletionsPost
服务器
https://api.mistral.ai
认证
ApiKey

请求参数

无 URL、查询或 Header 参数。

Body 参数

ChatCompletionRequest必填

Content-Type: application/json

字段: frequency_penaltyguardrailsmax_tokensmessagesmetadatamodelnparallel_tool_callspredictionpresence_penaltyprompt_cache_keyprompt_moderandom_seedreasoning_effortresponse_formatsafe_promptservice_tierstopstreamtemperaturetool_choicetoolstop_p

响应

200

ChatCompletionResponseapplication/jsontext/event-stream

供应商成功响应。

422

HTTPValidationErrorapplication/json

供应商返回 HTTP 状态 422。

字段: detail

流式事件

未知事件: 按原始载荷保留,以兼容后续新增的事件类型。

message

数据格式: 文本unknown