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

# List Project Sources

> List the active sources of a project owned by the authenticated user.

Read-only view that backs the workspace Sources panel (Stage 4). Returns
404 (not 403) when the project is missing, soft-deleted, or owned by
another user, so cross-tenant existence is not leaked. Only active
(``is_active = True``) sources are returned, newest first.

# IDOR AUDIT PASS - project ownership is verified and the source query
# filters by the authenticated user_id and project_id.



## OpenAPI

````yaml get /api/v1/projects/{project_id}/sources
openapi: 3.1.0
info:
  title: EDN Memory Engine
  version: 0.1.0
servers:
  - description: EDN evaluation endpoint
    url: https://api.tensorpro.ai
security:
  - EDNApiKey: []
paths:
  /api/v1/projects/{project_id}/sources:
    get:
      summary: List Project Sources
      description: |-
        List the active sources of a project owned by the authenticated user.

        Read-only view that backs the workspace Sources panel (Stage 4). Returns
        404 (not 403) when the project is missing, soft-deleted, or owned by
        another user, so cross-tenant existence is not leaked. Only active
        (``is_active = True``) sources are returned, newest first.

        # IDOR AUDIT PASS - project ownership is verified and the source query
        # filters by the authenticated user_id and project_id.
      operationId: list_project_sources_api_v1_projects__project_id__sources_get
      parameters:
        - in: path
          name: project_id
          required: true
          schema:
            title: Project Id
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProjectSourcesListResponse'
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
components:
  schemas:
    ProjectSourcesListResponse:
      properties:
        sources:
          items:
            $ref: '#/components/schemas/ProjectSourceSummary'
          title: Sources
          type: array
        total:
          title: Total
          type: integer
      required:
        - sources
        - total
      title: ProjectSourcesListResponse
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    ProjectSourceSummary:
      properties:
        chunk_count:
          title: Chunk Count
          type: integer
        created_at:
          title: Created At
          type: string
        external_id:
          anyOf:
            - type: string
            - type: 'null'
          title: External Id
        id:
          title: Id
          type: string
        ingest_status:
          title: Ingest Status
          type: string
        provenance:
          title: Provenance
          type: string
        source_type:
          title: Source Type
          type: string
        title:
          title: Title
          type: string
        updated_at:
          title: Updated At
          type: string
      required:
        - id
        - title
        - source_type
        - provenance
        - ingest_status
        - chunk_count
        - external_id
        - created_at
        - updated_at
      title: ProjectSourceSummary
      type: object
    ValidationError:
      properties:
        ctx:
          title: Context
          type: object
        input:
          title: Input
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object
  securitySchemes:
    EDNApiKey:
      description: >-
        EDN API key presented as 'Bearer <key>' in the Authorization header.
        Create and manage keys from the Console.
      in: header
      name: Authorization
      type: apiKey

````