Create Prompt Template With Version
For a given project, create a prompt template.
We first create a prompt template version, and then create a prompt template that points to that version as the selected version.
Parameters
project_id : UUID4 Project ID. create_request : CreatePromptTemplateWithVersionRequestBody, optional Request body, by default Body( ..., examples= [BasePromptTemplateVersion.test_data() | BasePromptTemplate.test_data()], )
Returns
CreatePromptTemplateResponse Details about the created prompt template.
Path parameters
Request body
Response
Successful Response
Changes
Changed in 4 of the 14 revisions of this API.35
- ●
added the new
read_unredacted_dataenum value to thepermissions/items/action/anyOf[subschema #12: OrganizationAction]/response property for the response status200response-property-enum-value-added
- ●
- ●
added the new
read_ai_usage_organizationenum value to thepermissions/items/action/anyOf[subschema #12: OrganizationAction]/response property for the response status200response-property-enum-value-added
This revision also has 15 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ○
added the new optional request property
settings/known_models/items/deprecation_datenew-optional-request-property
- ○
added the new optional request property
settings/known_models/items/lifecycle_statenew-optional-request-property
- ○
added the new optional request property
settings/known_models/items/replacement_aliasnew-optional-request-property
- ○
added the new optional request property
settings/known_models/items/retirement_datenew-optional-request-property
This revision also has 8 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ●
added the new
read_ai_usageenum value to thepermissions/items/action/anyOf[subschema #12: OrganizationAction]/response property for the response status200response-property-enum-value-added
- ○
the endpoint scheme security
ClassicAPIKeyHeaderwas added to the APIapi-security-added
This revision also has 15 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●