cURL
curl --request GET \ --url https://eu-gcp-api.vg-stuff.com/v3/agents/{agentId}/custom-metrics/{metricId} \ --header 'Authorization: Bearer <token>'
{ "success": true, "metric": { "id": "<string>", "key": "<string>", "description": "<string>", "type": "number", "isSystem": true, "options": [ "<string>" ], "createdAtUNIX": 123, "updatedAtUNIX": 123 } }
Retrieve details of a specific custom metric by its ID
{ "success": true, "metric": { "id": "metric_abc123", "key": "customer_satisfaction", "description": "Customer satisfaction rating on a scale of 1-10", "type": "number", "isSystem": false, "createdAtUNIX": 1640000000, "updatedAtUNIX": 1640100000 } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The unique identifier of the agent
The unique identifier of the metric
Successful response
Show child attributes