Agent Tests

Fetch one test's full definition. The body is also the export format: post it to POST /v1/agent/tests to create a copy.

get/v1/agent/tests/{test_id}

Request

  • Base URL
    https://api.fish.audio
  • URL
    https://api.fish.audio/v1/agent/tests/{test_id}
  • Auth
    HTTP bearer

Path parameters

test_idstring required

Response

Request fulfilled, document follows

test_idstring required
workspace_idstring required
namestring required
test_type'next_reply' | 'tool' | 'simulation' required
agent_idsstring[]

Agents this test is attached to.

created_atstring date-time required
updated_atstring date-time required
expectationstring
success_examplesstring[]
failure_examplesstring[]
verify_absenceboolean
dynamic_variablesobject

Changes