---
title: "List all versions for a graph."
method: GET
path: "/agent-playground/graphs/{id}/versions/"
tags: ["agent-playground"]
---

# List all versions for a graph.

`GET /agent-playground/graphs/{id}/versions/`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/agent-playground/graphs/{id}/versions/`
- Auth: one of:
  - API key in header `X-Api-Key`
  - API key in header `X-Secret-Key`

Returns lightweight: id, version_number, status, commit_message, created_at.

## Query parameters

- `page` integer
- `limit` integer

## Response `200`

OK

- object
  - `count` integer, required
  - `next` string, uri, nullable
  - `previous` string, uri, nullable
  - `results` GraphList[], required
    - `id` string, uuid
    - `name` string: Display name
    - `description` string, nullable
    - `is_template` boolean
    - `created_at` string, date-time
    - `updated_at` string, date-time
    - `created_by` UserBrief
      - `id` string, uuid
      - `name` string
      - `email` string, email
    - `collaborators` UserBrief[]
      - `id` string, uuid
      - `name` string
      - `email` string, email
    - `active_version_id` string, uuid
    - `active_version_number` integer
    - `node_count` integer

## Other responses

- `400`: Bad Request
- `404`: Not Found
- `500`: Internal Server Error
- `default`: Default error response

---

[API](https://skmtc.dev/futureagi/apis/future-agi-management-api.md) · [All operations](https://skmtc.dev/futureagi/apis/future-agi-management-api/llms.txt) · [OpenAPI document](https://skmtc.dev/futureagi/apis/future-agi-management-api/revisions/c8684118e142?raw)
