Skip to main content
POST
Create a prompt version

Authorizations

x-maxim-api-key
string
header
required

API key for authentication

Body

application/json
promptId
string
required

Prompt identifier

description
string
required

Version description

modelName
string
required

Name of the model

modelProvider
enum<string>
required

Provider of the model

Available options:
openai,
azure,
huggingface,
anthropic,
together,
google,
groq,
bedrock,
maxim,
cohere,
ollama,
xai,
vertex,
mistral,
fireworks
messages
object[]
required

Array of messages

modelParameters
object

Model parameters including prompt tools

Response

Prompt version created successfully

data
object
required