Prompts/Versions
Create a prompt version
Create a prompt version
Authorization
x-maxim-api-key
<token>API key for authentication
In: header
Request Body
application/json
OptionalpromptId
RequiredstringPrompt identifier
description
RequiredstringVersion description
modelName
RequiredstringName of the model
modelProvider
RequiredstringProvider of the model
Value in:
"openai" | "azure" | "huggingface" | "anthropic" | "together" | "google" | "groq" | "bedrock" | "maxim" | "cohere" | "ollama" | "xai"
messages
Requiredarray<object>Array of messages
modelParameters
objectModel parameters
Default:
{}
Prompt version created successfully