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

# List Entities



## OpenAPI

````yaml https://api.crosmos.dev/openapi.json get /api/v1/entities
openapi: 3.1.0
info:
  title: Crosmos Memory API
  description: Agent memory system with hybrid retrieval
  version: 0.1.0
servers: []
security: []
paths:
  /api/v1/entities:
    get:
      tags:
        - entities
      summary: List Entities
      operationId: list_entities_api_v1_entities_get
      parameters:
        - name: entity_type
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Filter by entity type
            title: Entity Type
          description: Filter by entity type
        - name: q
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Search entities by name
            title: Q
          description: Search entities by name
        - name: sort_by
          in: query
          required: false
          schema:
            enum:
              - name
              - edge_count
              - created_at
            type: string
            default: name
            title: Sort By
        - name: order
          in: query
          required: false
          schema:
            enum:
              - asc
              - desc
            type: string
            default: asc
            title: Order
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            maximum: 200
            minimum: 1
            default: 50
            title: Limit
        - name: offset
          in: query
          required: false
          schema:
            type: integer
            minimum: 0
            default: 0
            title: Offset
        - name: space_uuid
          in: query
          required: true
          schema:
            type: string
            format: uuid
            title: Space Uuid
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EntityListResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    EntityListResponse:
      properties:
        entities:
          items:
            $ref: '#/components/schemas/EntityResponse'
          type: array
          title: Entities
        total:
          type: integer
          title: Total
      type: object
      required:
        - entities
        - total
      title: EntityListResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    EntityResponse:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        space_id:
          type: string
          format: uuid
          title: Space Id
        name:
          type: string
          title: Name
        entity_type:
          anyOf:
            - type: string
            - type: 'null'
          title: Entity Type
        edge_count:
          type: integer
          title: Edge Count
          description: Total incoming + outgoing edges
        created_at:
          type: string
          format: date-time
          title: Created At
        updated_at:
          type: string
          format: date-time
          title: Updated At
      type: object
      required:
        - id
        - space_id
        - name
        - entity_type
        - edge_count
        - created_at
        - updated_at
      title: EntityResponse
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      description: JWT access token or API key (csk_…)
      scheme: bearer

````