beta.prompts
ListPromptVersions
Changed onListPromptVersions
get/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
Response
Success
Example response
{
"data": [
{
"version": 1,
"createdAt": "1s"
}
]
}Changes
- info
endpoint added
- info