---
title: "List Text Agent Versions Route"
method: GET
path: "/api/v1/text-ai/text-agents/{text_agent_id}/versions"
tags: ["text-ai", "text_agents"]
---

# List Text Agent Versions Route

`GET /api/v1/text-ai/text-agents/{text_agent_id}/versions`

List a text agent's config snapshots, oldest first.

Mirrors ``GET /voice-agents/{id}/versions``. ``TextAgentVersion`` rows were
written on every cockpit save but had no read route, so the change history
the text cockpit records was unreachable — this is what the version rail
reads.

Read-only: there is no text rollback endpoint (voice's rail offers rollback
because ``rollbackRoute`` exists for voice), so the rail renders history and
diffs without a revert control.

## Path parameters

- `text_agent_id` string, uuid, required

## Response `200`

Successful Response

- TextAgentVersionRead[]
  - `id` string, uuid, required
  - `tenant_id` string, uuid, required
  - `text_agent_id` string, uuid, required
  - `version_number` integer, required
  - `config_snapshot` object, required
  - `source` string, required
  - `source_ref` string, uuid, nullable
  - `base_version_id` string, uuid, nullable
  - `flywheel_run_id` string, uuid, nullable
  - `created_by` string, uuid, nullable
  - `created_at` string, date-time, required

## Other responses

- `404` — Text agent not found
- `422` — Validation Error

## Changes

- **2026-09-03** `d65b8fefae34` — 2 info
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status

[Change history](https://skmtc.dev/getanana/apis/cleon-api/changes/api/v1/text-ai/text-agents/:text_agent_id/versions/get.md)

---

[API](https://skmtc.dev/getanana/apis/cleon-api.md) · [All operations](https://skmtc.dev/getanana/apis/cleon-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/getanana/cleon-api/revisions/a9141b6e4e7e/schema)
