Mistral AIMistral AI API
POST/v2/prompts
Manage prompts Create.
Contract-preserving POST Endpoint for prompts Create 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
promptsCreate- Server
https://api.mistral.ai- Authentication
- ApiKey
Request parameters
No URL, query, or header parameters.
Request body
CreatePromptRequestrequired
Content-Type: application/json
Properties: aliasesdefinitiondescriptionnamenotessharingScopetitle
Responses
200
Promptapplication/json
Successful supplier response.
Properties: aliasescreatedAtdefinitiondescriptionidlatestVersionnamenotessharingScopetitleupdatedAtversion
{
"aliases": [],
"createdAt": "1s",
"definition": {
"variables": {}
},
"latestVersion": 1
}