List Predefined Metrics API

Retrieve a list of predefined metrics from your account

API Endpoint

MethodEndpoint
GEThttps://new-prod.vocera.ai/test_framework/v1/predefined-metrics-external/

Authentication

Include your API key in the request headers:

HeaderDescription
X-VOCERA-API-KEYYour API key obtained from the dashboard

Response Format

The API returns a list of predefined metric objects.

Predefined Metric Object

PropertyTypeDescription
idintegerUnique identifier for the metric
namestringName of the metric
descriptionstringDescription of what the metric evaluates
codestringUnique code identifier for the metric

Example Response

[

    {

        "id": 4,

        "name": "Annoyance level",

        "description": "How annoyed were they?",

        "code": "f540ac0e"

    },

    {

        "id": 1,

        "name": "Call Pickup",

        "description": "Was the call picked up?",

        "code": "204ba6ac"

    }

    // Additional metrics...

]

Code Examples

curl -X GET https://new-prod.vocera.ai/test_framework/v1/predefined-metrics-external/ \

  -H "X-VOCERA-API-KEY: <your-api-key-here>"