Agent Tests
Create Test
Changed onCreate a test: next_reply judges the agent's next reply against an expectation, tool checks the tool the agent calls next, and simulation lets a simulated user hold a whole conversation that is scored against success conditions. Pass agent_ids to attach the test right away.
The body of GET /v1/agent/tests/{test_id} posts back as is, so tests can be exported and imported. Tool references use your workspace's tool ids (list them with GET /v1/agent/agents/{agent_id}/test-tools), so an export imports cleanly within the same team and needs its tool ids remapped elsewhere.
post/v1/agent/tests
Request
- Base URLhttps://api.fish.audio
- URLhttps://api.fish.audio/v1/agent/tests
- AuthHTTP bearer
Request body
Response
Document created, URL follows
Changes
- info
endpoint added
- info