cURL
curl --request GET \ --url https://api.promptmetrics.dev/template-version/{identifier} \ --header 'Authorization: <api-key>'
{ "responseData": { "data": { "_id": "<string>", "template_id": "<string>", "version": 123, "version_name": "<string>", "env_label": "<string>", "messages": [ { "role": "system", "content": "<string>", "variable": [ "<string>" ], "name": "<string>", "tool_call_id": "<string>", "tool_calls": "<array>" } ], "parameters": {}, "metadata": {}, "created_at": "2023-11-07T05:31:56Z" } } }
Retrieve a template version by version ID or by template identifier and version number.
SDK API key in format: pm_
Template version details
Show child attributes