Skip to main content

Create prompt version

POST 

/v1/private/prompts/versions

Create prompt version

Request

Body

    name stringrequired

    version

    object

    required

    id uuid

    version unique identifier, generated if absent

    commit string

    Possible values: Value must match regular expression ^[a-zA-Z0-9]{8}$

    version short unique identifier, generated if absent. it must be 8 characters long

    template stringrequired

Responses

OK

Schema

    id uuid

    version unique identifier, generated if absent

    prompt_id uuid
    commit string

    Possible values: Value must match regular expression ^[a-zA-Z0-9]{8}$

    version short unique identifier, generated if absent. it must be 8 characters long

    template stringrequired
    variables string[]
    created_at date-time
    created_by string
Loading...