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

# List Repository Summaries

> Get all repository summaries for the organization.

Args:
  Get all repository summaries for the organization.

**Required Scope:** `read:repo`
**Security:** Organization-level filtering

Returns:
    List of repository summaries with metadata
    
Raises:
    401: Unauthorized (invalid token/API key)
    403: Forbidden (insufficient scope)
    500: Internal server error



## OpenAPI

````yaml api-reference/openapi.json get /api/repositories/summaries
openapi: 3.1.0
info:
  title: Enforster AI API
  description: Enforster AI API for code analysis and security scanning.
  version: 1.8.0
servers: []
security:
  - ApiKeyAuth: []
  - BearerAuth: []
paths:
  /api/repositories/summaries:
    get:
      summary: List Repository Summaries
      description: |-
        Get all repository summaries for the organization.

        Args:
          Get all repository summaries for the organization.

        **Required Scope:** `read:repo`
        **Security:** Organization-level filtering

        Returns:
            List of repository summaries with metadata
            
        Raises:
            401: Unauthorized (invalid token/API key)
            403: Forbidden (insufficient scope)
            500: Internal server error
      operationId: list_repository_summaries_api_repositories_summaries_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RepositorySummaryListResponse'
      security:
        - ApiKeyAuth: []
        - BearerAuth: []
components:
  schemas:
    RepositorySummaryListResponse:
      properties:
        summaries:
          items:
            $ref: '#/components/schemas/RepositorySummaryResponse'
          type: array
          title: Summaries
        total_count:
          type: integer
          title: Total Count
      type: object
      required:
        - summaries
        - total_count
      title: RepositorySummaryListResponse
      description: Response model for listing repository summaries.
    RepositorySummaryResponse:
      properties:
        id:
          type: string
          title: Id
        repo_id:
          type: string
          title: Repo Id
        org_id:
          type: string
          title: Org Id
        architecture_pattern:
          anyOf:
            - type: string
            - type: 'null'
          title: Architecture Pattern
        auth_logic_summary:
          anyOf:
            - type: string
            - type: 'null'
          title: Auth Logic Summary
        trust_boundaries:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Trust Boundaries
        business_logic_flows:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Business Logic Flows
        cross_file_dependencies:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Cross File Dependencies
        rag_context:
          anyOf:
            - type: string
            - type: 'null'
          title: Rag Context
        security_context:
          anyOf:
            - type: string
            - type: 'null'
          title: Security Context
        data_flow_analysis:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Data Flow Analysis
        created_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Created At
        updated_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Updated At
      type: object
      required:
        - id
        - repo_id
        - org_id
      title: RepositorySummaryResponse
      description: Response model for repository summary data.
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: Use an API key in the X-API-Key header.
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Clerk JWT bearer token.

````