---
title: "Get graph detail with the active version expanded (or latest draft if no active)."
method: GET
path: "/agent-playground/graphs/{id}/"
tags: ["agent-playground"]
---

# Get graph detail with the active version expanded (or latest draft if no active).

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

## Request

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

Returns full nested structure: nodes→ports, edges.

## Response `200`

OK

- GraphDetail
  - `id` string, uuid
  - `name` string: Display name
  - `description` string, nullable
  - `is_template` boolean
  - `created_at` string, date-time
  - `updated_at` string, date-time
  - `active_version` string

## 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)
