Results
Listing results
Learn how to retrieve a list of results
List Results API
Retrieve a list of all results
API Endpoint
Method | Endpoint |
---|---|
GET | https://new-prod.vocera.ai/test_framework/v1/results-external/ |
Authentication
Include your API key in the request headers:
Header | Description |
---|---|
X-VOCERA-API-KEY | Your API key obtained from the dashboard |
Query Parameters
Parameter | Type | Required | Description |
---|---|---|---|
agent_id | integer | Yes* | Filter results by agent ID |
assistant_id | string | Yes* | Filter evaluators by assistant ID associated with agent |
page | integer | No | Page number for pagination (default: 1) |
page_size | integer | No | Number of results per page (default: 30) |
* Only either of agent_id
or assistant_id
is required
Response Format
A successful request returns a paginated list of results.
Response Fields
Field | Type | Description |
---|---|---|
count | integer | Total number of results |
next | string | URL for the next page (null if no next page) |
previous | string | URL for the previous page (null if no previous page) |
results | array | List of result objects |
Each result object contains:
Field | Type | Description |
---|---|---|
id | integer | The result ID |
name | string | Result label |
agent | integer | ID of associated agent |
status | string | Status of the result, can be one of: • running - Initial state when evaluator starts• in_progress - Call is currently executing• completed - Call has finished successfully• failed - Call encountered an error• pending - Testing agent is waiting to be called |
success_rate | float | Percentage of runs that passed |
run_as_text | boolean | If executed as text (llm websocket) or not |
created_at | string | ISO 8601 timestamp of when the result was created |