beta.prompts
CreatePromptVersion
Changed onCreatePromptVersion
post/v2/prompts/{prompt_id}/versions
Request
- Base URLhttps://api.mistral.ai
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
prompt_idstring required
Request body
Response
Success
Example response
{
"version": 1
}Changes
- info
endpoint added
- info