> ## 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 connected clouds



## OpenAPI

````yaml /api-reference/openapi.json get /api/v1/cloud-connect
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/cloud-connect:
    get:
      tags:
        - Developer API
      summary: List connected clouds
      operationId: compatListClouds
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudList'
          description: OK
        default:
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ErrorModel'
          description: Error
      security:
        - apiToken: []
components:
  schemas:
    CloudList:
      additionalProperties: false
      properties:
        items:
          items:
            $ref: '#/components/schemas/Cloud'
          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
    Cloud:
      additionalProperties: false
      properties:
        accountId:
          description: >-
            The cloud's own account identifier: an AWS account ID, a Google
            Cloud project ID or an Azure subscription ID
          type:
            - string
            - 'null'
        cloud:
          description: Cloud name
          enum:
            - aws
            - gcp
            - azure
          type: string
        connectedAt:
          description: When it was connected
          format: date-time
          type: string
        defaultRegion:
          description: >-
            The region runners launch in when a runner definition names none; on
            Google Cloud, a zone or a region
          type: string
        error:
          description: Why the credential stopped working
          type:
            - string
            - 'null'
        identity:
          description: >-
            The public half of the credential: an AWS access key ID, a Google
            Cloud service account email or an Azure application ID
          type: string
        principal:
          description: Who the credential is, such as an IAM user's ARN
          type:
            - string
            - 'null'
        status:
          description: Whether the credential works
          enum:
            - ok
            - invalid
          type: string
        updatedAt:
          description: When it was last changed
          format: date-time
          type: string
        verifiedAt:
          description: When it was last verified with the cloud
          format: date-time
          type:
            - string
            - 'null'
      required:
        - cloud
        - identity
        - accountId
        - principal
        - defaultRegion
        - status
        - error
        - verifiedAt
        - connectedAt
        - updatedAt
      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
  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.