---
title: "Create a new graph with an empty draft version (v1)."
method: POST
path: "/agent-playground/graphs/"
tags: ["agent-playground"]
---

# Create a new graph with an empty draft version (v1).

`POST /agent-playground/graphs/`

## Request

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

Request body: {name, description (optional)}

## Request body

- GraphCreate
  - `name` string, required
  - `description` string, nullable

## Response `201`

Created

- GraphCreate
  - `name` string, required
  - `description` string, nullable

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