POST
/
projects
/
{project_id}
/
templates

Authorizations

Galileo-API-Key
string
headerrequired

Path Parameters

project_id
string
required

Query Parameters

scope
string | null
default:

Body

application/json

Body to create a new prompt template with version.

This is only used for parsing the body from the request.

template
string
required
version
integer | null
name
string
required

Response

200 - application/json

Response from API to get a prompt template version.

name
string
required
id
string
required
template
string
required
selected_version
object
required

Base response from API for a prompt template version.

selected_version_id
string
required
all_versions
object[]
all_available_versions
integer[]
required
total_versions
integer
required
max_version
integer
required