Get Evaluators API

Retrieve a list of evaluators for an agent

API Endpoint

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

Authentication

Include your API key in the request headers:

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

Query Parameters

ParameterTypeRequiredDescription
agent_idintegerYes*Filter evaluators by agent ID
assistant_idstringYes*Filter evaluators by assistant ID associated with agent

* Only either of agent_id or assistant_id is required

Response Format

The API returns a paginated list of evaluators.

Response Properties

PropertyTypeDescription
countintegerTotal number of evaluators
nextstring|nullURL for the next page of results
previousstring|nullURL for the previous page of results
resultsarrayList of evaluator objects

Evaluator Object

PropertyTypeDescription
idintegerUnique identifier for the evaluator
namestringName of the evaluator
personality_namestringName of the associated personality
phone_numberstringPhone number associated with evaluator

Example Response

{

    "count": 20,

    "next": "https://new-prod.vocera.ai/test_framework/v1/scenarios-external/?agent_id=4&page=2",

    "previous": null,

    "results": [

        {

            "id": 201,

            "name": "Hindi Elderly Telephonic Inquiry",

            "personality_name": "Hindi, Old, Hearing Issue",

            "phone_number": "+14159976447"

        },

        // Additional evaluators ...

    ]

}

Code Examples

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

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

  -G \

  -d "agent_id=<agent-id-number>"