cURL
curl --request POST \ --url https://api.promptmetrics.dev/template-version/{versionId}/run \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data ' { "model_id": "<string>" } '
{ "responseData": {} }
Execute a specific template version. Supports synchronous execution and WebSocket streaming.
SDK API key in format: pm_
chat.completion
response
Show child attributes
Execution started or completed successfully