---
title: "Create new graph"
method: POST
path: "/graph/{graph_name}"
---

# Create new graph

`POST /graph/{graph_name}`

Create a new graph

## Path parameters

- `graph_name` string, required

## Request body

- ConfigureRequest — Data model for graph configuration request.
  - `domain` string, required
  - `exampleQueries` string, required
  - `entityTypes` string[], required

## Response `200`

Successful Response

- ConfigureResponse — Data model for graph configuration response.
  - `domain` string, required
  - `exampleQueries` string, required
  - `entityTypes` string[], required

## Other responses

- `422` — Validation Error

## Changes

- **2024-12-16** `c3a63bdae00a` — 2 breaking, 3 warning, 4 info
  - `path` request parameter `graph_name` list-of-types was narrowed by removing types `null`
  - the response's body type/format changed from ``/`` to `object`/`` for status `200`
  - deleted the `query` request parameter `demo_allowed`
  - deleted the `query` request parameter `increment_usage`
  - …5 more

[Change history](https://skmtc.dev/circlemind-ai/apis/circlemind-api/changes/graph/:graph_name/post.md)

---

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