Mistral AIMistral AI API
PATCH/v2/prompts/{prompt_id}
管理prompts Update。
Mistral AI API 中用于 prompts Update 的保留合约 PATCH Endpoint。模型与资源相关值由调用方在运行时提供。
覆盖固定 Apache-2.0 许可官方 revision 中 ApiKey 认证的 238 个 Mistral AI Platform REST Endpoint(含类型化 SSE 流式与 Workflows)。Hub 提供文档与独立 SDK/CLI,但不代理模型、账户或用量数据;调用方通过本地 API key 直连。
请求
- operationId
promptsUpdate- 服务器
https://api.mistral.ai- 认证
- ApiKey
请求参数
prompt_id
pathstring必填
Mistral AI API 合约中的 prompt id 值。
Body 参数
object必填
Content-Type: application/json
字段: descriptionsharingScopetitle
响应
200
Promptapplication/json
供应商成功响应。
字段: aliasescreatedAtdefinitiondescriptionidlatestVersionnamenotessharingScopetitleupdatedAtversion
{
"aliases": [],
"createdAt": "1s",
"definition": {
"variables": {}
},
"latestVersion": 1
}