---
title: "List a saved agent's versions"
method: GET
path: "/table-enrichments/saved-agents/{saved_agent_id}/versions/"
tags: ["table-enrichments"]
---

# List a saved agent's versions

`GET /table-enrichments/saved-agents/{saved_agent_id}/versions/`

## Request

- Base URL: `https://api.getoneprofile.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.getoneprofile.ai/table-enrichments/saved-agents/{saved_agent_id}/versions/`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer

The agent's version history, newest first. Every configuration save appends a version; a person's star never versions.

## Path parameters

- `saved_agent_id` string, uuid, required

## Response `200`

Successful Response

- SavedAgentVersionListResponseSchema: An agent's version history, newest first.
  - `versions` SavedAgentVersionReadSchema[], required
    - `created_at` string, date-time, required
    - `is_current` boolean, required
    - `name` string, nullable: What the agent was called at this version.
    - `prompt` string, nullable: The prompt as it stood at this version, FLATTENED to wire text for the read-only history and diff views. Deliberately a string, since history is read and compared, never edited.
    - `version` integer, required

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Saved agent not found
- `422`: Invalid request made to the API.
- `500`: Internal server error.
- `502`: Bad gateway error.
- `503`: Service unavailable.

---

[API](https://skmtc.dev/getoneprofile/apis/api-reference-oneprofile.md) · [All operations](https://skmtc.dev/getoneprofile/apis/api-reference-oneprofile/llms.txt) · [OpenAPI document](https://skmtc.dev/getoneprofile/apis/api-reference-oneprofile/revisions/dc5ac3c84444?raw)
