Run Call Unit Tests Endpoint
Run call unit tests for a specific agent.
This endpoint:
- Fetches the agent's current configuration
- Retrieves test cases from db-svc (conversation contexts marked as unit tests)
- Runs each test case against the agent's current settings
- Calculates similarity scores using LLM-as-judge
- Saves results to db-svc
- Returns the test results
Args: request: RunCallUnitTestsRequest with agent_id, optional test_ids, and similarity_threshold
Returns: RunCallUnitTestsResponse with all test run results
post/testing/call-unit/run
Request
- Base URLhttps://api.phonely.ai (the document declares no server; this is the origin it was published from)
- URLhttps://api.phonely.ai/testing/call-unit/run
- Authnone declared. Required headers: authorization
Headers
authorizationstring required
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 2 revisions of this API.