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

# List Data Sources for Knowledge Engine

> Returns a list of all data sources associated with a knowledge engine



## OpenAPI

````yaml GET /api/v1/knowledge-engines/{id}/data-sources
openapi: 3.0.1
info:
  title: Knowledge Engine API
  description: Public API endpoints for managing knowledge engines
  version: 1.0.0
servers:
  - url: https://api.getdecisional.ai
security: []
paths:
  /api/v1/knowledge-engines/{id}/data-sources:
    get:
      summary: List knowledge engine data sources
      description: Returns a list of all data sources associated with a knowledge engine
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
          description: Knowledge engine ID
      responses:
        '200':
          description: List of data sources
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/DataSourceResponse'
              example:
                $ref: '#/components/examples/DataSourceListResponse'
        '404':
          description: Knowledge engine not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    DataSourceResponse:
      type: object
      properties:
        id:
          type: string
          description: Unique identifier for the data source
          example: ds_abc123xyz789
        name:
          type: string
          description: Name of the data source
          example: Annual Report 2023
        type:
          type: string
          enum:
            - file
            - ticket
          description: Type of the data source
          example: file
        status:
          type: string
          enum:
            - processing
            - processed
          description: Current status of the data source
          example: processed
        notes:
          type: object
          description: Custom attributes and fields
          example:
            category: financial
        knowledge_engine_id:
          type: string
          description: ID of the knowledge engine this data source belongs to
          example: kng_abc123xyz789
        created_at:
          type: integer
          format: int64
          description: Unix timestamp when this entity was created
          example: 1679644800
    Error:
      type: object
      properties:
        error:
          type: string
          description: Error message
          example: >-
            Invalid knowledge engine name: exceeds maximum length of 50
            characters

````