cURL
curl --request POST \ --url https://api.promptmetrics.dev/template-version/{versionId}/run \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "workspace_id": "<string>", "model_id": "<string>" } '
{ "responseData": {} }
Execute a specific template version. Supports synchronous execution and WebSocket streaming.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
chat.completion
response
Show child attributes
Execution started or completed successfully