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

# Create Entity

> Create a new entity (named thing to track).



## OpenAPI

````yaml /api/openapi.json post /api/entities
openapi: 3.1.0
info:
  title: CrowdListen Agent API
  description: >-
    Configure sources, collect and retain originals, run durable analysis, and
    read or revise cited insights. Humans and agents share authorized
    entity/project records, research jobs and evidence history.
  version: 1.0.0
servers:
  - url: https://agent.crowdlisten.com
    description: Production
  - url: http://localhost:8000
    description: Local development
security: []
paths:
  /api/entities:
    post:
      tags:
        - entities
      summary: Create Entity
      description: Create a new entity (named thing to track).
      operationId: create_entity_api_entities_post
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateEntityRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    CreateEntityRequest:
      properties:
        name:
          type: string
          maxLength: 200
          minLength: 1
          title: Name
        type:
          anyOf:
            - type: string
            - type: 'null'
          title: Type
        slug:
          anyOf:
            - type: string
            - type: 'null'
          title: Slug
        parent_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Parent Id
        url:
          anyOf:
            - type: string
            - type: 'null'
          title: Url
        keywords:
          items:
            type: string
          type: array
          title: Keywords
        tags:
          items:
            type: string
          type: array
          title: Tags
        platforms:
          items:
            type: string
          type: array
          title: Platforms
        official_channels:
          additionalProperties: true
          type: object
          title: Official Channels
        config:
          additionalProperties: true
          type: object
          title: Config
        workspace_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Workspace Id
        research_goal:
          anyOf:
            - type: string
            - type: 'null'
          title: Research Goal
      type: object
      required:
        - name
      title: CreateEntityRequest
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.