beta.prompts
GetPrompt
Changed onGetPrompt
get/v2/prompts/{prompt_id}
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
Query parameters
versioninteger
Example:1
aliasstring
fieldsstring[]
Response
Success
Example response
{
"version": 1,
"createdAt": "1s",
"updatedAt": "1s",
"latestVersion": 1,
"versionCreatedAt": "1s"
}Changes
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info
- info
endpoint added
- info