Skip to main content

Custom prompt templates for creating custom prompts

id
string
required
read-only
Example:

"1"

workspace_id
string<uuid>
required
read-only
Example:

"01a082d0-33c7-75f8-9f4c-13e56af1ddc8"

created_by
string<uuid>
required
read-only
Example:

"01a082d0-33c7-75f8-9f4c-13e6d82b82c7"

name
string
required
Example:

"Prompt template name"

category
enum<number>
required

Prompt Custom template category

Available options:
1,
2,
3,
4,
5,
6
Example:

1

prompt
string
required
Example:

"Generate a name using {{property_1}} and {{property_2}} combination."

is_public
boolean
required
Example:

true

description
null | string
Example:

"Prompt template description"

properties
null | object[]
model_version
string
Example:

"3.5"

from_shared
null | boolean
Example:

false

like_count
null | number
Example:

50

execution_count
null | number
Example:

20

liked
null | boolean
Example:

true

template_type
null | enum<string>

Custom Prompt template type

Available options:
custom,
public
Example:

"public"

created_by_instantly
null | boolean
Example:

true

creator
null | object