Results
Getting result
Learn how to retrieve a result
Get Result API
Retrieve a result by ID
API Endpoint
Method | Endpoint |
---|---|
GET | https://new-prod.vocera.ai/test_framework/v1/results-external/:result-id/ |
Authentication
Include your API key in the request headers:
Header | Description |
---|---|
X-VOCERA-API-KEY | Your API key obtained from the dashboard |
URL Parameters
Include the result ID in the URL:
Parameter | Type | Required | Description |
---|---|---|---|
result-id | integer | Yes | ID of the result |
Response Format
A successful request returns details about created result.
Response Fields
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 |
runs | object | Map of run objects, keyed by run ID |
created_at | string | ISO 8601 timestamp of when the result was created |
Run Object Fields
Field | Type | Description |
---|---|---|
id | integer | The run ID |
scenario | object | Details about the test scenario |
success | boolean | Whether the run passed or failed |
evaluation | object | Evaluation metrics and scores |
transcript_object | array | List of conversation turns with timestamps |
voice_recording | string | URL to the voice recording file |
timestamp | string | ISO 8601 timestamp of the run |