---
title: "Create Entity"
method: POST
path: "/api/knowledge-graph/entities"
tags: ["knowledge-graph", "knowledge-graph"]
---

# Create Entity

`POST /api/knowledge-graph/entities`

## Request

- Base URL: `https://api.dialogbrain.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.dialogbrain.com/api/knowledge-graph/entities`
- Auth: none declared

Create a new entity manually.

## Request body

- EntityCreateRequest: Request to create a new entity.
  - `entity_type` string, required: Entity type: person, project, organization, etc.
  - `display_name` string, required: Display name for the entity
  - `aliases` string[]: Alternative names
  - `channel_refs` string[]: Channel references
  - `metadata` object, nullable

## Response `200`

Successful Response

- EntityResponse: Entity response model.
  - `id` integer, required
  - `entity_type` string, required
  - `canonical_name` string, required
  - `display_name` string, required
  - `aliases` string[]
  - `channel_refs` string[]
  - `first_seen_at` string, date-time, nullable
  - `last_seen_at` string, date-time, nullable
  - `mention_count` integer
  - `metadata` object, nullable
  - `notes` string, nullable
  - `tags` TagResponse[]
    - `id` integer, required
    - `name` string, required
    - `color` string
    - `description` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway.md) · [All operations](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway/llms.txt) · [OpenAPI document](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway/revisions/77bef09a9209?raw)
