Prompts/Run
Run Prompt Version
Run a specific version of a prompt
Authorization
x-maxim-api-key
<token>API key for authentication
In: header
Request Body
application/json
OptionalpromptId
RequiredstringUnique identifier for the prompt
versionId
RequiredstringUnique identifier for the version
workspaceId
RequiredstringUnique identifier for the workspace
messages
Requiredarray<object>Array of messages
modelName
RequiredstringName of the model to use
modelProvider
RequiredstringProvider of the model
Value in:
"openai" | "azure" | "huggingface" | "anthropic" | "together" | "google" | "groq" | "bedrock" | "maxim" | "cohere" | "ollama" | "lmstudio" | "xai"
modelParameters
object & objectModel parameters configuration
Default:
{}
Prompt version executed successfully