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

# List repositories



## OpenAPI

````yaml /api-reference/openapi.json get /api/v1/repo
openapi: 3.1.0
info:
  description: >-
    Airship runs every GitHub Actions job on a fresh machine in your own cloud
    account, configured by an `airship.yaml` in each repository.


    This reference covers the token-authenticated API for scripting Airship
    itself: activating repositories, connecting clouds and editing runner access
    policies. Create a token under **API keys** in the dashboard and send it as
    `Authorization: Bearer asa_...`.
  title: Airship developer API
  version: 1.0.0
servers:
  - description: Airship
    url: https://api.airshipci.com
  - description: A control plane you run yourself
    url: https://{host}
    variables:
      host:
        default: api.example.com
security:
  - apiToken: []
tags:
  - description: Scripting Airship with a token from the dashboard.
    name: Developer API
paths:
  /api/v1/repo:
    get:
      tags:
        - Developer API
      summary: List repositories
      operationId: compatListRepositories
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RepositoryList'
          description: OK
        default:
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ErrorModel'
          description: Error
      security:
        - apiToken: []
components:
  schemas:
    RepositoryList:
      additionalProperties: false
      properties:
        items:
          items:
            $ref: '#/components/schemas/Repository'
          type:
            - array
            - 'null'
      required:
        - items
      type: object
    ErrorModel:
      additionalProperties: false
      properties:
        detail:
          description: >-
            A human-readable explanation specific to this occurrence of the
            problem.
          examples:
            - Property foo is required but is missing.
          type: string
        errors:
          description: Optional list of individual error details
          items:
            $ref: '#/components/schemas/ErrorDetail'
          type:
            - array
            - 'null'
        instance:
          description: >-
            A URI reference that identifies the specific occurrence of the
            problem.
          examples:
            - https://example.com/error-log/abc123
          format: uri
          type: string
        status:
          description: HTTP status code
          examples:
            - 400
          format: int64
          type: integer
        title:
          description: >-
            A short, human-readable summary of the problem type. This value
            should not change between occurrences of the error.
          examples:
            - Bad Request
          type: string
        type:
          default: about:blank
          description: A URI reference to human-readable documentation for the error.
          examples:
            - https://example.com/errors/example
          format: uri
          type: string
      type: object
    Repository:
      additionalProperties: false
      properties:
        accessible:
          description: Whether the app can still access the repository
          type: boolean
        activated:
          description: Whether its airship.yaml launches runners
          type: boolean
        activatedAt:
          description: When it was activated
          format: date-time
          type:
            - string
            - 'null'
        allowPublic:
          description: Serve jobs while the repository is public
          type: boolean
        config:
          $ref: '#/components/schemas/ConfigState'
          description: >-
            The default branch's airship.yaml as last read; absent until
            activated
        defaultBranch:
          description: Branch idle runner config is read from
          type: string
        fullName:
          description: owner/name
          type: string
        id:
          description: GitHub repository ID
          format: int64
          type: integer
        private:
          description: Whether the repository is private
          type: boolean
      required:
        - id
        - fullName
        - private
        - defaultBranch
        - accessible
        - activated
        - allowPublic
        - activatedAt
      type: object
    ErrorDetail:
      additionalProperties: false
      properties:
        location:
          description: >-
            Where the error occurred, e.g. 'body.items[3].tags' or
            'path.thing-id'
          type: string
        message:
          description: Error message text
          type: string
        value:
          description: The value at the given location
      type: object
    ConfigState:
      additionalProperties: false
      properties:
        checkedAt:
          description: When it was last read
          format: date-time
          type:
            - string
            - 'null'
        error:
          description: Why the file cannot be used
          type:
            - string
            - 'null'
        sha:
          description: Blob SHA of the file; null when there is none
          type:
            - string
            - 'null'
      required:
        - sha
        - error
        - checkedAt
      type: object
  securitySchemes:
    apiToken:
      description: >-
        Developer API token (asa_...), created by an organization owner in the
        dashboard.
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.