prompts
Create Prompt Template Version
Create a prompt template version for a given prompt template.
Parameters
project_id : UUID4 Project ID. template_id : UUID4 Prompt template ID. current_user : User, optional Authenticated user, by default Depends(authentication_service.current_user) body : dict, optional Body of the request, by default Body( …, examples=[CreatePromptTemplateVersionRequest.test_data()], ) db_read : Session, optional Database session, by default Depends(get_db_read)
Returns
BasePromptTemplateVersionResponse Response with details about the created prompt template version.
POST
/
projects
/
{project_id}
/
templates
/
{template_id}
/
versions
Authorizations
Galileo-API-Key
string
headerrequiredPath Parameters
project_id
string
requiredtemplate_id
string
requiredQuery Parameters
scope
string | null
default: Body
application/json
template
string
requiredversion
integer | null
Response
200 - application/json
Base response from API for a prompt template version.
template
string
requiredversion
integer
requiredid
string
requiredWas this page helpful?