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

# List Repositories

> Gets a list of enabled repositories for the organization



## OpenAPI

````yaml /openapi.documented.yml get /repository/list
openapi: 3.1.0
info:
  title: Developer API
  description: Tembo Developer API
  version: 1.0.0
servers:
  - url: https://api.tembo.io/
    description: Tembo API
security: []
paths:
  /repository/list:
    get:
      summary: List Repositories
      description: Gets a list of enabled repositories for the organization
      operationId: getPublic-apiRepositoryList
      parameters: []
      responses:
        '200':
          description: Successfully retrieved list of enabled code repositories
          content:
            application/json:
              schema:
                type: object
                properties:
                  codeRepositories:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          format: uuid
                          description: Unique identifier for the code repository
                          example: 123e4567-e89b-12d3-a456-426614174000
                        name:
                          type: string
                          description: Name of the repository
                          example: my-awesome-project
                        url:
                          type: string
                          format: uri
                          description: Repository URL
                          example: https://github.com/username/my-awesome-project
                        branch:
                          type: string
                          description: Default branch name
                          example: main
                        description:
                          type: string
                          description: Repository description
                          example: An awesome web application built with React
                        enabledAt:
                          type: string
                          format: date-time
                          description: Timestamp when the repository was enabled
                          example: '2023-12-01T10:30:00.000Z'
                        createdAt:
                          type: string
                          format: date-time
                          description: Timestamp when the repository record was created
                          example: '2023-12-01T09:15:00.000Z'
                        updatedAt:
                          type: string
                          format: date-time
                          description: >-
                            Timestamp when the repository record was last
                            updated
                          example: '2023-12-01T11:45:00.000Z'
                        organizationId:
                          type: string
                          format: uuid
                          description: Organization ID that owns this repository
                          example: 456e7890-e89b-12d3-a456-426614174001
                        integration:
                          type: object
                          properties:
                            id:
                              type: string
                              format: uuid
                              description: Unique identifier for the integration
                              example: 123e4567-e89b-12d3-a456-426614174000
                            type:
                              type: string
                              description: Type of integration (e.g., github, gitlab)
                              example: github
                            name:
                              type: string
                              description: Name of the integration
                              example: GitHub Integration
                            configuration:
                              type: object
                              additionalProperties: {}
                              description: Integration configuration settings
                          required:
                            - id
                            - type
                            - name
                            - configuration
                          description: Associated integration details
                      required:
                        - id
                        - name
                        - enabledAt
                        - createdAt
                        - updatedAt
                        - organizationId
                    description: Array of enabled code repositories for the organization
                required:
                  - codeRepositories
        '400':
          description: Bad request - missing organization ID
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    example: Organization ID is required
                required:
                  - error
      x-codeSamples:
        - lang: JavaScript
          source: |-
            import Tembo from '@tembo-io/sdk';

            const client = new Tembo({
              apiKey: 'My API Key',
            });

            const repositories = await client.repository.list();

            console.log(repositories.codeRepositories);

````