Mistral AIMistral AI API
POST/v2/prompts/{prompt_id}/versions
Manage prompts Create Version.
Contract-preserving POST Endpoint for prompts Create Version 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
promptsCreateVersion- Server
https://api.mistral.ai- Authentication
- ApiKey
Request parameters
prompt_id
pathstringrequired
prompt id value in the Mistral AI API contract.
Request body
objectrequired
Content-Type: application/json
Properties: aliasesdefinitionnotes
Responses
200
CreatePromptVersionResponseapplication/json
Successful supplier response.
Properties: deduplicatedversion
{
"deduplicated": false,
"version": 1
}