Skip to main content
POST
/
v1
/
prompt-partials
/
versions
Create Prompt Partial Version
curl --request POST \
  --url https://api.getmaxim.ai/v1/prompt-partials/versions \
  --header 'Content-Type: application/json' \
  --header 'x-maxim-api-key: <api-key>' \
  --data '
{
  "workspaceId": "<string>",
  "promptPartialId": "<string>",
  "content": "<string>",
  "description": "<string>"
}
'
{
  "data": {
    "id": "<string>",
    "promptPartialId": "<string>",
    "version": 123,
    "description": "<string>",
    "content": "<string>",
    "createdById": "<string>",
    "createdAt": "<string>",
    "updatedAt": "<string>",
    "deletedAt": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://www.getmaxim.ai/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

x-maxim-api-key
string
header
required

API key for authentication

Body

application/json
workspaceId
string
required

Unique identifier for the workspace

promptPartialId
string
required

Unique identifier for the prompt partial

content
string
required

Content of the prompt partial version

description
string

Description of the prompt partial version

Response

Prompt partial version created successfully

data
object
required