beta.prompts
CreatePrompt
Changed onCreatePrompt
post/v2/prompts
Request
- Base URLhttps://api.mistral.ai
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Success
Example response
{
"version": 1,
"createdAt": "1s",
"updatedAt": "1s",
"latestVersion": 1,
"versionCreatedAt": "1s"
}Changes
- info
added the new optional request property
- 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