Agents

List Agent Versions

Changed on

The publish history, newest first. The highest version_number is what live sessions run. Compare a version's config_hash with the draft's to detect unpublished changes. A version published before a change in how the hash is computed keeps the hash it froze with; a publish that finds the draft unchanged realigns the live version's hash instead of creating an identical version. Superseded versions keep their frozen hash.

get/v1/agent/agents/{agent_id}/versions

Request

  • Base URL
    https://api.fish.audio
  • URL
    https://api.fish.audio/v1/agent/agents/{agent_id}/versions
  • Auth
    HTTP bearer

Path parameters

agent_idstring required

Query parameters

cursorstring nullable
pageinteger nullable

1-based page number; mutually exclusive with cursor.

include_totalboolean
page_sizeinteger

Response

Request fulfilled, document follows

has_moreboolean required
next_cursorstring nullable
totalinteger nullable

Changes