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

# List repositories mapped to an accessible project



## OpenAPI

````yaml /openapi.json get /api/projects/{id}/repositories
openapi: 3.1.0
info:
  title: Atoll API
  version: 1.0.0
  description: >-
    REST API for Atoll project management, agent collaboration, strategy
    tracking, and integrations.
servers:
  - url: https://atollhq.com
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Authentication
  - name: Organizations
  - name: Projects
  - name: Project access
  - name: Issues
  - name: Issue details
  - name: Milestones
  - name: Artifacts
  - name: Strategy
  - name: Members and agents
  - name: Planning
  - name: Setup
  - name: Integrations and billing
  - name: Notifications and public
  - name: Private inbox
  - name: Agent executions
  - name: Human attention
paths:
  /api/projects/{id}/repositories:
    get:
      tags:
        - Projects
      summary: List repositories mapped to an accessible project
      operationId: list_project_repositories
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: Visible repository mappings
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProjectRepositoriesResponse'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
        '500':
          $ref: '#/components/responses/ServerError'
components:
  schemas:
    ProjectRepositoriesResponse:
      type: object
      required:
        - project
        - repositories
        - truncated
      properties:
        project:
          type: object
          required:
            - id
            - name
            - slug
          properties:
            id:
              type: string
              format: uuid
            name:
              type: string
            slug:
              type: string
          additionalProperties: false
        repositories:
          type: array
          items:
            $ref: '#/components/schemas/ProjectRepositoryRecord'
        truncated:
          type: boolean
      additionalProperties: true
    ProjectRepositoryRecord:
      type: object
      required:
        - repo_ref
        - repository
        - project
        - default_ref
        - read_only_app
      properties:
        repo_ref:
          type: string
          format: uuid
        repository:
          type: object
          required:
            - owner
            - name
            - full_name
          properties:
            owner:
              type: string
            name:
              type: string
            full_name:
              type: string
          additionalProperties: false
        project:
          type: object
          required:
            - id
            - name
            - slug
          properties:
            id:
              type: string
              format: uuid
            name:
              type: string
            slug:
              type: string
          additionalProperties: false
        default_ref:
          type: string
        read_only_app:
          type: object
          required:
            - status
          properties:
            status:
              type: string
              const: connected
          additionalProperties: false
      additionalProperties: false
    Error:
      type: object
      description: >-
        Common error responses contain error. Shared missing-auth and
        unknown-API responses also contain a stable code.
      properties:
        error:
          type: string
        code:
          type: string
      required:
        - error
      examples:
        - error: Unauthorized
          code: unauthorized
        - error: Not found
          code: not_found
      additionalProperties: true
  responses:
    Unauthorized:
      description: Missing or invalid authentication
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    NotFound:
      description: Resource not found or not visible
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    ServerError:
      description: Unexpected server error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: sk_atoll_<key>

````