Mistral AIMistral AI API
PATCH/v2/prompts/{prompt_id}/versions/{version}
Manage prompts Update Version Metadata.
Contract-preserving PATCH Endpoint for prompts Update Version Metadata in the Mistral AI API. Model and resource-specific values are supplied by the caller at runtime.
All 238 ApiKey-authenticated Mistral AI Platform REST endpoints from a fixed Apache-2.0-licensed official revision, including typed SSE streaming and Workflows. Hub provides documentation and an independent SDK/CLI, but never proxies model, account, or usage data; callers connect directly with local API keys.
Request
- operationId
promptsUpdateVersionMetadata- Server
https://api.mistral.ai- Authentication
- ApiKey
Request parameters
prompt_id
pathstringrequired
prompt id value in the Mistral AI API contract.
version
pathintegerint32required
version value in the Mistral AI API contract.
1
Request body
objectrequired
Content-Type: application/json
Properties: aliasesnotes
Responses
200
Promptapplication/json
Successful supplier response.
Properties: aliasescreatedAtdefinitiondescriptionidlatestVersionnamenotessharingScopetitleupdatedAtversion
{
"aliases": [],
"createdAt": "1s",
"definition": {
"variables": {}
},
"latestVersion": 1
}