> ## Documentation Index
> Fetch the complete documentation index at: https://docs.neode.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Create an entity

> Manually create an entity. Note: entities are also auto-created when storing triples.



## OpenAPI

````yaml api-reference/openapi.json post /api/entities
openapi: 3.1.0
info:
  title: Neode API
  description: >-
    A knowledge graph API for storing, querying, and generating triples. Use
    Neode as a triples store for your LLM applications - store facts, query
    knowledge, and generate new triples from any context.
  version: 1.0.0
  contact:
    name: Neode
servers:
  - url: https://www.neode.ai
    description: Production server
  - url: http://localhost:5173
    description: Local development
security:
  - BearerAuth: []
tags:
  - name: Search
    description: Semantic search across your knowledge graph
  - name: Triples
    description: Store and query knowledge as subject-predicate-object triples
  - name: Entities
    description: Manage entities (subjects and objects) with automatic disambiguation
  - name: Graphs
    description: Organize triples into graphs
  - name: Generation
    description: AI-powered triple generation from natural language
  - name: Indexes
    description: Organize entities into indexes
paths:
  /api/entities:
    post:
      tags:
        - Entities
      summary: Create an entity
      description: >-
        Manually create an entity. Note: entities are also auto-created when
        storing triples.
      operationId: createEntity
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EntityCreate'
      responses:
        '200':
          description: Successfully created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EntityResponse'
        '400':
          $ref: '#/components/responses/BadRequest'
        '500':
          $ref: '#/components/responses/InternalError'
components:
  schemas:
    EntityCreate:
      type: object
      required:
        - name
      properties:
        name:
          type: string
        description:
          type: string
        index_id:
          type: string
          format: uuid
    EntityResponse:
      type: object
      description: Response containing a single entity
      properties:
        success:
          type: boolean
        data:
          $ref: '#/components/schemas/Entity'
    Entity:
      type: object
      description: An entity representing a subject or object in the knowledge graph
      properties:
        id:
          type: string
          format: uuid
        name:
          type: string
          description: Canonical name of the entity
        description:
          type: string
        avatar_url:
          type: string
          format: uri
        index_id:
          type: string
          format: uuid
        index_name:
          type: string
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
    Error:
      type: object
      properties:
        success:
          type: boolean
          example: false
        error:
          type: string
        details:
          type: string
  responses:
    BadRequest:
      description: Bad request
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    InternalError:
      description: Internal server error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: API key for authentication

````