Prompt Templates

Get prompt template

Retrieve a prompt template's metadata by ID. Use to check if a template exists or get its latest version ID.

get/api/v2/projects/{project_id}/prompt-templates/id/{template_id}

Request

Path parameters

project_idstring required
template_idstring required

Response

PromptTemplateInfo(id: uuid.UUID, name: str, latest_template_version_id: Optional[uuid.UUID] = None)

idstring uuid required
namestring required
latest_template_version_idstring uuid nullable

Changes

No recorded changes to this operation across all 1 revision of this API.