cURL
curl --request GET \ --url https://api.example.com/api/v2/projects/{project_id}/prompt-templates/id/{template_id} \ --header 'Authorization: Bearer <token>'
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "latest_template_version_id": null }
Retrieve a prompt template’s metadata by ID. Use to check if a template exists or get its latest version ID.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
PromptTemplateInfo(id: uuid.UUID, name: str, latest_template_version_id: Optional[uuid.UUID] = None)
Contact support