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

# List code repositories

> List code repositories with clone availability



## OpenAPI

````yaml /api-reference/openapi.json get /api/v1/orgs/{orgSlug}/code/repositories
openapi: 3.0.3
info:
  title: Tolmo API
  version: 1.0.0
  description: >-
    The Tolmo REST API. Every endpoint is scoped to one organization and
    authenticated with an API token.
servers:
  - url: https://api.tolmo.com
    description: Production
security:
  - bearerAuth: []
paths:
  /api/v1/orgs/{orgSlug}/code/repositories:
    get:
      tags:
        - code
      summary: List code repositories
      description: List code repositories with clone availability
      operationId: listCodeRepositories
      parameters:
        - schema:
            type: integer
            minimum: 1
            maximum: 100
          in: query
          name: limit
          required: false
        - schema:
            type: string
          in: path
          name: orgSlug
          required: true
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  repositories:
                    type: array
                    items:
                      type: object
                      properties:
                        provider:
                          type: string
                          enum:
                            - github
                            - gitlab
                        fullName:
                          type: string
                        name:
                          type: string
                        ownerLogin:
                          type: string
                        language:
                          nullable: true
                          type: string
                        visibility:
                          nullable: true
                          type: string
                        isCloneable:
                          type: boolean
                        notCloneableReason:
                          nullable: true
                          type: string
                        defaultBranch:
                          nullable: true
                          type: string
                      required:
                        - provider
                        - fullName
                        - name
                        - ownerLogin
                        - language
                        - visibility
                        - isCloneable
                        - notCloneableReason
                        - defaultBranch
                      additionalProperties: false
                required:
                  - repositories
                additionalProperties: false
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        A Tolmo API token, sent as `Authorization: Bearer <token>`. Either a
        user token (`usr_tok.*`, minted by `tolmo auth login`, scoped to your
        own permissions) or an org API token created in the Tolmo app, for CI
        and automation.

````