Results
Rerunning results
Learn how to rerun an existing result
Rerun Result API
Rerun an existing result by ID
API Endpoint
Method | Endpoint |
---|---|
POST | https://new-prod.vocera.ai/test_framework/v1/results-external/:result-id/rerun/ |
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 to rerun |
Response Format
A successful request returns details about the newly created rerun result.
Response Fields
Field | Type | Description |
---|---|---|
id | integer | The result ID |
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 |
total_runs_count | integer | Total number of test runs |
completed_runs_count | integer | Number of completed test runs |
success_runs_count | integer | Number of successful test runs |
failed_runs_count | integer | Number of failed test runs |
run_as_text | boolean | If executed as text (llm websocket) or not |
scenario_names | array | List of scenario names being tested |
created_at | string | ISO 8601 timestamp of creation |
updated_at | string | ISO 8601 timestamp of last update |