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

# List source resources

> List source resources through the Towbar REST API.

Required permissions: repository.read. Personal keys are capped by their owner’s current team role.

See [request conventions](/docs/api/overview) and [automation workflows](/docs/api/workflows). MCP clients use the task-oriented [tool catalogue](/docs/api/mcp-tools).


## OpenAPI

````yaml api-reference/openapi.json GET /sources/{sourceId}/resources
openapi: 3.1.0
info:
  title: Towbar API
  version: 2.0.0
  description: >-
    Manage your Towbar control plane with a bearer API key. Keys inherit current
    workspace permissions.
servers:
  - url: https://api.example.com/v1/api
security: []
paths:
  /sources/{sourceId}/resources:
    get:
      tags:
        - Repositories / Inventory
      summary: List source resources
      description: >-
        Required permissions: repository.read. Personal keys are capped by the
        current member role; team keys use explicit grants.
      operationId: get_sources_by_id_resources
      parameters:
        - name: sourceId
          in: path
          required: true
          schema:
            $schema: https://json-schema.org/draft/2020-12/schema
            type: string
            format: uuid
            pattern: >-
              ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
      responses:
        '200':
          description: JSON object containing resources.
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/Response_381'
                  - type: object
                    properties:
                      localization:
                        $schema: https://json-schema.org/draft/2020-12/schema
                        type: object
                        properties:
                          dateFormat:
                            type: string
                            enum:
                              - day-short-month-year
                              - short-month-day-year
                              - year-month-day
                              - day-month-year
                              - month-day-year
                          timeFormat:
                            type: string
                            enum:
                              - 24-hour
                              - 12-hour
                              - 24-hour-seconds
                              - 12-hour-seconds
                          timeZone:
                            type: string
                          timestamps:
                            type: object
                            propertyNames:
                              type: string
                            additionalProperties:
                              type: object
                              properties:
                                date:
                                  type: string
                                time:
                                  type:
                                    - string
                                    - 'null'
                                dateTime:
                                  type:
                                    - string
                                    - 'null'
                                timeZone:
                                  type: string
                                zoneLabel:
                                  type: string
                                epochMilliseconds:
                                  type: number
                                inputDateTime:
                                  type:
                                    - string
                                    - 'null'
                              required:
                                - date
                                - time
                                - dateTime
                                - timeZone
                                - zoneLabel
                                - epochMilliseconds
                                - inputDateTime
                              additionalProperties: false
                        required:
                          - dateFormat
                          - timeFormat
                          - timeZone
                          - timestamps
                        additionalProperties: false
                    required:
                      - localization
        '400':
          $ref: '#/components/responses/ApiError'
        '401':
          $ref: '#/components/responses/ApiError'
        '403':
          $ref: '#/components/responses/ApiError'
        '404':
          $ref: '#/components/responses/ApiError'
        '409':
          $ref: '#/components/responses/ApiError'
        '413':
          $ref: '#/components/responses/ApiError'
        '422':
          $ref: '#/components/responses/ApiError'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/ApiError'
      security:
        - bearerAuth: []
components:
  schemas:
    Response_381:
      type: object
      properties:
        resources:
          type: array
          items:
            $ref: '#/components/schemas/Response_137'
      required:
        - resources
    Response_137:
      type: object
      properties:
        runtimeState:
          $ref: '#/components/schemas/Response_138'
        serverReady:
          type: boolean
        archivedAt:
          anyOf:
            - type: 'null'
            - type: string
              format: date-time
        config:
          anyOf:
            - $ref: '#/components/schemas/NormalizedApp_139'
            - $ref: '#/components/schemas/NormalizedComposeWorkload_176'
            - $ref: '#/components/schemas/NormalizedResource_186'
        createdAt:
          type: string
          format: date-time
        description:
          anyOf:
            - type: 'null'
            - type: string
        entityId:
          type: string
        environment:
          anyOf:
            - type: 'null'
            - $ref: '#/components/schemas/Response_202'
        id:
          type: string
        kind:
          anyOf:
            - type: string
              const: app
            - type: string
              const: compose
            - type: string
              const: image
            - type: string
              const: postgres
            - type: string
              const: mysql
            - type: string
              const: mariadb
            - type: string
              const: mongodb
            - type: string
              const: redis
            - type: string
              const: dragonfly
            - type: string
              const: keydb
            - type: string
              const: clickhouse
        manifestId:
          type: string
        name:
          type: string
        serverIp:
          type: string
        sourceId:
          type: string
        sourceRevision:
          type: string
        updatedAt:
          type: string
          format: date-time
      required:
        - runtimeState
        - serverReady
        - archivedAt
        - config
        - createdAt
        - description
        - entityId
        - environment
        - id
        - kind
        - manifestId
        - name
        - serverIp
        - sourceId
        - sourceRevision
        - updatedAt
    Response_138:
      type: object
      properties:
        desiredState:
          anyOf:
            - type: string
              const: running
            - type: string
              const: stopped
        driftReasons:
          type: array
          items:
            type: string
        driftStatus:
          anyOf:
            - type: string
              const: unknown
            - type: string
              const: drifted
            - type: string
              const: in_sync
        healthStatus:
          anyOf:
            - type: string
              const: unknown
            - type: string
              const: none
            - type: string
              const: healthy
            - type: string
              const: unhealthy
            - type: string
              const: starting
        ingressStatus:
          anyOf:
            - type: string
              const: unknown
            - type: string
              const: ready
            - type: string
              const: missing
            - type: string
              const: stopped
            - type: string
              const: disabled
            - type: string
              const: reconnecting
        observedState:
          anyOf:
            - type: string
              const: unknown
            - type: string
              const: running
            - type: string
              const: missing
            - type: string
              const: stopped
        checkedAt:
          anyOf:
            - type: 'null'
            - type: string
              format: date-time
        ingressContainerName:
          anyOf:
            - type: 'null'
            - type: string
        ingressImage:
          anyOf:
            - type: 'null'
            - type: string
        ingressRestartCount:
          anyOf:
            - type: 'null'
            - type: number
        observedContainerName:
          anyOf:
            - type: 'null'
            - type: string
        observedImage:
          anyOf:
            - type: 'null'
            - type: string
      required:
        - desiredState
        - driftReasons
        - driftStatus
        - healthStatus
        - ingressStatus
        - observedState
        - checkedAt
        - ingressContainerName
        - ingressImage
        - ingressRestartCount
        - observedContainerName
        - observedImage
    NormalizedApp_139:
      type: object
      properties:
        logDrains:
          type: array
          items:
            anyOf:
              - type: string
                const: otlp
              - type: string
                const: newrelic
              - type: string
                const: axiom
              - type: string
                const: betterstack
              - type: string
                const: datadog
              - type: string
                const: loki
        jobs:
          type: array
          items:
            $ref: '#/components/schemas/Response_140'
        kind:
          type: string
          const: app
        autoDeploy:
          type: boolean
        vulnerabilityScanning:
          type: boolean
        container:
          $ref: '#/components/schemas/Response_142'
        buildServer:
          $ref: '#/components/schemas/Response_145'
        context:
          type: string
        deployment:
          anyOf:
            - $ref: '#/components/schemas/Response_146'
            - $ref: '#/components/schemas/Response_149'
            - $ref: '#/components/schemas/Response_152'
            - $ref: '#/components/schemas/Response_153'
            - $ref: '#/components/schemas/Response_156'
            - $ref: '#/components/schemas/Response_159'
        deploymentInputs:
          type: array
          items:
            type: string
        description:
          type: string
        dockerfile:
          type: string
        domains:
          $ref: '#/components/schemas/Response_162'
        health:
          $ref: '#/components/schemas/Response_164'
        hooks:
          $ref: '#/components/schemas/Response_165'
        id:
          type: string
        name:
          type: string
        preview:
          $ref: '#/components/schemas/Response_167'
        externalSecrets:
          $ref: '#/components/schemas/Record_168'
        ingress:
          anyOf:
            - $ref: '#/components/schemas/Response_170'
            - $ref: '#/components/schemas/Response_171'
        rollout:
          anyOf:
            - $ref: '#/components/schemas/Response_172'
            - $ref: '#/components/schemas/Response_173'
        server:
          type: string
        sourceBranch:
          type: string
        telemetry:
          $ref: '#/components/schemas/Response_174'
        tls:
          $ref: '#/components/schemas/Response_175'
      required:
        - autoDeploy
        - vulnerabilityScanning
        - container
        - context
        - deploymentInputs
        - health
        - hooks
        - id
        - name
        - server
        - sourceBranch
    NormalizedComposeWorkload_176:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        autoDeploy:
          type: boolean
        server:
          type: string
        file:
          type: string
        overrides:
          type: array
          items:
            type: string
        profiles:
          type: array
          items:
            type: string
        services:
          $ref: '#/components/schemas/Record_177'
        strategy:
          anyOf:
            - type: string
              const: recreate
            - type: string
              const: maintenance
        description:
          type: string
        externalSecrets:
          $ref: '#/components/schemas/Record_182'
        container:
          $ref: '#/components/schemas/Response_184'
        context:
          type: string
        deployment: {}
        deploymentInputs:
          type: array
          items:
            type: string
        domains:
          $ref: '#/components/schemas/Response_162'
        health:
          $ref: '#/components/schemas/Response_164'
        hooks:
          $ref: '#/components/schemas/Response_165'
        ingress: {}
        kind:
          type: string
          const: compose
        jobs:
          type: array
          items:
            $ref: '#/components/schemas/Response_140'
        logDrains:
          type: array
          items:
            anyOf:
              - type: string
                const: otlp
              - type: string
                const: newrelic
              - type: string
                const: axiom
              - type: string
                const: betterstack
              - type: string
                const: datadog
              - type: string
                const: loki
        preview:
          $ref: '#/components/schemas/Response_167'
        sourceBranch:
          type: string
        tls:
          $ref: '#/components/schemas/Response_175'
        vulnerabilityScanning:
          type: boolean
      required:
        - id
        - name
        - autoDeploy
        - server
        - file
        - overrides
        - profiles
        - services
        - strategy
        - container
        - context
        - deploymentInputs
        - health
        - hooks
        - kind
        - sourceBranch
        - vulnerabilityScanning
    NormalizedResource_186:
      type: object
      properties:
        logDrains:
          type: array
          items:
            anyOf:
              - type: string
                const: otlp
              - type: string
                const: newrelic
              - type: string
                const: axiom
              - type: string
                const: betterstack
              - type: string
                const: datadog
              - type: string
                const: loki
        externalSecrets:
          $ref: '#/components/schemas/Record_168'
        telemetry:
          $ref: '#/components/schemas/Response_174'
        ingress:
          anyOf:
            - $ref: '#/components/schemas/Response_170'
            - $ref: '#/components/schemas/Response_171'
        access:
          $ref: '#/components/schemas/Response_187'
        autoDeploy:
          type: boolean
        backup:
          $ref: '#/components/schemas/Response_189'
        container:
          $ref: '#/components/schemas/Response_195'
        description:
          type: string
        domains:
          $ref: '#/components/schemas/Response_162'
        health:
          anyOf:
            - $ref: '#/components/schemas/Response_198'
            - $ref: '#/components/schemas/Response_199'
            - $ref: '#/components/schemas/Response_200'
        id:
          type: string
        image:
          type: string
        kind:
          anyOf:
            - type: string
              const: image
            - type: string
              const: postgres
            - type: string
              const: mysql
            - type: string
              const: mariadb
            - type: string
              const: mongodb
            - type: string
              const: redis
            - type: string
              const: dragonfly
            - type: string
              const: keydb
            - type: string
              const: clickhouse
        name:
          type: string
        server:
          type: string
        sourceBranch:
          type: string
        tls:
          $ref: '#/components/schemas/Response_201'
      required:
        - autoDeploy
        - container
        - health
        - id
        - image
        - kind
        - name
        - server
        - sourceBranch
    Response_202:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        branch:
          type: string
        disconnectedAt:
          anyOf:
            - type: 'null'
            - type: string
              format: date-time
      required:
        - id
        - name
        - branch
        - disconnectedAt
    Response_140:
      type: object
      properties:
        name:
          type: string
        command:
          type: array
          items:
            type: string
        schedule:
          $ref: '#/components/schemas/Response_141'
        timeoutSeconds:
          type: number
        enabled:
          type: boolean
        description:
          type: string
      required:
        - name
        - command
        - schedule
        - timeoutSeconds
        - enabled
    Response_142:
      type: object
      properties:
        network:
          type: string
        networkAlias:
          type: string
        port:
          type: number
        volumes:
          type: array
          items:
            $ref: '#/components/schemas/Response_143'
        resources:
          $ref: '#/components/schemas/Response_144'
      required:
        - port
    Response_145:
      type: object
      properties:
        ip:
          type: string
        allowRuntimeFallback:
          type: boolean
        transfer:
          anyOf:
            - type: string
              const: registry
            - type: string
              const: direct
        registry:
          type: string
        architecture:
          anyOf:
            - type: string
              const: amd64
            - type: string
              const: arm64
      required:
        - ip
        - allowRuntimeFallback
        - transfer
    Response_146:
      type: object
      properties:
        type:
          type: string
          const: dockerfile
        context:
          type: string
        arguments:
          $ref: '#/components/schemas/Record_120'
        resources:
          $ref: '#/components/schemas/Response_147'
        dockerfile:
          type: string
        timeoutSeconds:
          type: number
        target:
          type: string
        architecture:
          anyOf:
            - type: string
              const: amd64
            - type: string
              const: arm64
        cache:
          $ref: '#/components/schemas/Response_148'
      required:
        - type
        - context
        - arguments
        - resources
        - dockerfile
        - timeoutSeconds
    Response_149:
      type: object
      properties:
        type:
          type: string
          const: static
        context:
          type: string
        arguments:
          $ref: '#/components/schemas/Record_120'
        resources:
          $ref: '#/components/schemas/Response_150'
        output:
          type: string
        nodeImage:
          type: string
        runtimeImage:
          type: string
        spaFallback:
          type: boolean
        index:
          type: string
        timeoutSeconds:
          type: number
        buildCommand:
          type: array
          items:
            type: string
        architecture:
          anyOf:
            - type: string
              const: amd64
            - type: string
              const: arm64
        cache:
          $ref: '#/components/schemas/Response_151'
        errorPage:
          type: string
        headers:
          $ref: '#/components/schemas/Record_120'
      required:
        - type
        - context
        - arguments
        - resources
        - output
        - nodeImage
        - runtimeImage
        - spaFallback
        - index
        - timeoutSeconds
    Response_152:
      type: object
      properties:
        type:
          type: string
          const: image
        image:
          type: string
        pullPolicy:
          anyOf:
            - type: string
              const: always
            - type: string
              const: if-not-present
        registry:
          type: string
        platform:
          anyOf:
            - type: string
              const: linux/amd64
            - type: string
              const: linux/arm64
      required:
        - type
        - image
        - pullPolicy
    Response_153:
      type: object
      properties:
        version:
          type: string
        image:
          type: string
        context:
          type: string
        arguments:
          $ref: '#/components/schemas/Record_120'
        resources:
          $ref: '#/components/schemas/Response_154'
        timeoutSeconds:
          type: number
        type:
          type: string
          const: railpack
        buildCommand:
          type: array
          items:
            type: string
        startCommand:
          type: array
          items:
            type: string
        configFile:
          type: string
        architecture:
          anyOf:
            - type: string
              const: amd64
            - type: string
              const: arm64
        cache:
          $ref: '#/components/schemas/Response_155'
      required:
        - version
        - image
        - context
        - arguments
        - resources
        - timeoutSeconds
        - type
    Response_156:
      type: object
      properties:
        version:
          type: string
        image:
          type: string
        context:
          type: string
        arguments:
          $ref: '#/components/schemas/Record_120'
        resources:
          $ref: '#/components/schemas/Response_157'
        timeoutSeconds:
          type: number
        type:
          type: string
          const: nixpacks
        buildCommand:
          type: array
          items:
            type: string
        startCommand:
          type: array
          items:
            type: string
        configFile:
          type: string
        architecture:
          anyOf:
            - type: string
              const: amd64
            - type: string
              const: arm64
        cache:
          $ref: '#/components/schemas/Response_158'
      required:
        - version
        - image
        - context
        - arguments
        - resources
        - timeoutSeconds
        - type
    Response_159:
      type: object
      properties:
        packImage:
          type: string
        builder:
          type: string
        context:
          type: string
        arguments:
          $ref: '#/components/schemas/Record_120'
        resources:
          $ref: '#/components/schemas/Response_160'
        timeoutSeconds:
          type: number
        type:
          type: string
          const: buildpack
        buildpacks:
          type: array
          items:
            type: string
        buildCommand:
          type: array
          items:
            type: string
        startCommand:
          type: array
          items:
            type: string
        configFile:
          type: string
        architecture:
          anyOf:
            - type: string
              const: amd64
            - type: string
              const: arm64
        cache:
          $ref: '#/components/schemas/Response_161'
      required:
        - packImage
        - builder
        - context
        - arguments
        - resources
        - timeoutSeconds
        - type
    Response_162:
      type: object
      properties:
        primary:
          type: string
        redirects:
          type: array
          items:
            $ref: '#/components/schemas/Response_163'
      required:
        - primary
        - redirects
    Response_164:
      type: object
      properties:
        path:
          type: string
        timeoutSeconds:
          type: number
      required:
        - path
        - timeoutSeconds
    Response_165:
      type: object
      properties:
        postDeploy:
          $ref: '#/components/schemas/NormalizedDeploymentHook_166'
        preDeploy:
          $ref: '#/components/schemas/NormalizedDeploymentHook_166'
    Response_167:
      type: object
      properties:
        domain:
          type: string
        enabled:
          type: boolean
        ttlHours:
          type: number
      required:
        - domain
        - enabled
        - ttlHours
    Record_168:
      type: object
      additionalProperties:
        $ref: '#/components/schemas/Response_169'
    Response_170:
      type: object
      properties:
        type:
          type: string
          const: proxy
      required:
        - type
    Response_171:
      type: object
      properties:
        type:
          type: string
          const: cloudflare-tunnel
        integration:
          type: string
        access:
          type: boolean
        tunnel:
          type: string
      required:
        - type
        - integration
        - access
    Response_172:
      type: object
      properties:
        type:
          type: string
          const: rolling
        replicas:
          type: number
        maxSurge:
          type: number
        maxUnavailable:
          type: number
        startupDeadlineSeconds:
          type: number
        minimumHealthySeconds:
          type: number
        failureThreshold:
          type: number
        drainSeconds:
          type: number
        terminationSeconds:
          type: number
      required:
        - type
        - replicas
        - maxSurge
        - maxUnavailable
        - startupDeadlineSeconds
        - minimumHealthySeconds
        - failureThreshold
        - drainSeconds
        - terminationSeconds
    Response_173:
      type: object
      properties:
        type:
          type: string
          const: recreate
        reason:
          type: string
        maintenanceMode:
          type: boolean
        terminationSeconds:
          type: number
      required:
        - type
        - reason
        - maintenanceMode
        - terminationSeconds
    Response_174:
      type: object
      properties:
        integration:
          type: string
        signals:
          type: array
          items:
            anyOf:
              - type: string
                const: metrics
              - type: string
                const: logs
              - type: string
                const: traces
        protocol:
          anyOf:
            - type: string
              const: otlp-http
            - type: string
              const: otlp-grpc
        sampling:
          type: number
        cardinalityLimit:
          type: number
        redactAttributes:
          type: array
          items:
            type: string
      required:
        - integration
        - signals
        - protocol
        - sampling
        - cardinalityLimit
    Response_175:
      type: object
      properties:
        mode:
          anyOf:
            - type: string
              const: direct
            - type: string
              const: cloudflare-dns
      required:
        - mode
    Record_177:
      type: object
      additionalProperties:
        $ref: '#/components/schemas/Response_178'
    Record_182:
      type: object
      additionalProperties:
        $ref: '#/components/schemas/Response_183'
    Response_184:
      type: object
      properties:
        network:
          type: string
        networkAlias:
          type: string
        port:
          type: number
        resources:
          $ref: '#/components/schemas/Response_185'
        volumes:
          type: array
          items: {}
      required:
        - port
        - volumes
    Response_187:
      type: object
      properties:
        sshTunnel:
          $ref: '#/components/schemas/Response_188'
      required:
        - sshTunnel
    Response_189:
      type: object
      properties:
        integration:
          type: string
        azureBlob:
          $ref: '#/components/schemas/Response_190'
        gcs:
          $ref: '#/components/schemas/Response_191'
        restoreFrom:
          anyOf:
            - type: string
              const: s3
            - type: string
              const: gcs
            - type: string
              const: azureBlob
        retention:
          $ref: '#/components/schemas/Response_192'
        s3:
          $ref: '#/components/schemas/Response_193'
        schedule:
          $ref: '#/components/schemas/Response_194'
      required:
        - retention
    Response_195:
      type: object
      properties:
        command:
          type: array
          items:
            type: string
        network:
          type: string
        networkAlias:
          type: string
        port:
          type: number
        resources:
          $ref: '#/components/schemas/Response_196'
        volumes:
          type: array
          items:
            $ref: '#/components/schemas/Response_197'
      required:
        - command
        - resources
        - volumes
    Response_198:
      type: object
      properties:
        command:
          type: array
          items:
            type: string
        timeoutSeconds:
          type: number
        type:
          type: string
          const: command
      required:
        - command
        - timeoutSeconds
        - type
    Response_199:
      type: object
      properties:
        timeoutSeconds:
          type: number
        type:
          type: string
          const: container
      required:
        - timeoutSeconds
        - type
    Response_200:
      type: object
      properties:
        path:
          type: string
        timeoutSeconds:
          type: number
        type:
          type: string
          const: http
      required:
        - path
        - timeoutSeconds
        - type
    Response_201:
      type: object
      properties:
        mode:
          anyOf:
            - type: string
              const: direct
            - type: string
              const: cloudflare-dns
      required:
        - mode
    Response_141:
      type: object
      properties:
        cron:
          type: string
        timezone:
          type: string
          const: UTC
      required:
        - cron
        - timezone
    Response_143:
      type: object
      properties:
        name:
          type: string
        mountPath:
          type: string
        initialData:
          anyOf:
            - type: string
              const: image
            - type: string
              const: previous-container
      required:
        - name
        - mountPath
    Response_144:
      type: object
      properties:
        cpus:
          type: number
        memory:
          type: string
      required:
        - cpus
        - memory
    Record_120:
      type: object
      additionalProperties:
        type: string
    Response_147:
      type: object
      properties:
        cpus:
          type: number
        memory:
          type: string
      required:
        - cpus
        - memory
    Response_148:
      type: object
      properties:
        enabled:
          type: boolean
        scope:
          type: string
      required:
        - enabled
    Response_150:
      type: object
      properties:
        cpus:
          type: number
        memory:
          type: string
      required:
        - cpus
        - memory
    Response_151:
      type: object
      properties:
        enabled:
          type: boolean
        scope:
          type: string
      required:
        - enabled
    Response_154:
      type: object
      properties:
        cpus:
          type: number
        memory:
          type: string
      required:
        - cpus
        - memory
    Response_155:
      type: object
      properties:
        enabled:
          type: boolean
        scope:
          type: string
      required:
        - enabled
    Response_157:
      type: object
      properties:
        cpus:
          type: number
        memory:
          type: string
      required:
        - cpus
        - memory
    Response_158:
      type: object
      properties:
        enabled:
          type: boolean
        scope:
          type: string
      required:
        - enabled
    Response_160:
      type: object
      properties:
        cpus:
          type: number
        memory:
          type: string
      required:
        - cpus
        - memory
    Response_161:
      type: object
      properties:
        enabled:
          type: boolean
        scope:
          type: string
      required:
        - enabled
    Response_163:
      type: object
      properties:
        host:
          type: string
        status:
          anyOf:
            - type: number
              const: 301
            - type: number
              const: 302
      required:
        - host
        - status
    NormalizedDeploymentHook_166:
      type: object
      properties:
        command:
          type: array
          items:
            type: string
        timeoutSeconds:
          type: number
      required:
        - command
        - timeoutSeconds
    Response_169:
      type: object
      properties:
        integration:
          type: string
        secret:
          type: string
        use:
          anyOf:
            - type: string
              const: build
            - type: string
              const: runtime
        field:
          type: string
        version:
          type: string
      required:
        - integration
        - secret
        - use
    Response_178:
      type: object
      properties:
        domains:
          type: array
          items:
            type: string
        port:
          type: number
        ingress:
          anyOf:
            - $ref: '#/components/schemas/Response_179'
            - $ref: '#/components/schemas/Response_180'
        telemetry:
          $ref: '#/components/schemas/Response_181'
    Response_183:
      type: object
      properties:
        integration:
          type: string
        secret:
          type: string
        use:
          anyOf:
            - type: string
              const: build
            - type: string
              const: runtime
        field:
          type: string
        version:
          type: string
      required:
        - integration
        - secret
        - use
    Response_185:
      type: object
      properties:
        cpus:
          type: number
        memory:
          type: string
      required:
        - cpus
        - memory
    Response_188:
      type: object
      properties:
        hostPort:
          type: number
      required:
        - hostPort
    Response_190:
      type: object
      properties:
        container:
          type: string
        prefix:
          type: string
        storageAccount:
          type: string
      required:
        - container
        - prefix
        - storageAccount
    Response_191:
      type: object
      properties:
        bucket:
          type: string
        prefix:
          type: string
        region:
          type: string
      required:
        - bucket
        - prefix
    Response_192:
      type: object
      properties:
        keepLast:
          type: number
      required:
        - keepLast
    Response_193:
      type: object
      properties:
        bucket:
          type: string
        encryption:
          anyOf:
            - type: string
              const: AES256
            - type: string
              const: aws:kms
        kmsKeyId:
          type: string
        prefix:
          type: string
        region:
          type: string
      required:
        - bucket
        - encryption
        - prefix
    Response_194:
      type: object
      properties:
        cron:
          type: string
        timezone:
          type: string
          const: UTC
      required:
        - cron
        - timezone
    Response_196:
      type: object
      properties:
        cpus:
          type: number
        memory:
          type: string
      required:
        - cpus
        - memory
    Response_197:
      type: object
      properties:
        mountPath:
          type: string
        name:
          type: string
      required:
        - mountPath
        - name
    Response_179:
      type: object
      properties:
        type:
          type: string
          const: proxy
      required:
        - type
    Response_180:
      type: object
      properties:
        type:
          type: string
          const: cloudflare-tunnel
        integration:
          type: string
        access:
          type: boolean
        tunnel:
          type: string
      required:
        - type
        - integration
        - access
    Response_181:
      type: object
      properties:
        integration:
          type: string
        signals:
          type: array
          items:
            anyOf:
              - type: string
                const: metrics
              - type: string
                const: logs
              - type: string
                const: traces
        protocol:
          anyOf:
            - type: string
              const: otlp-http
            - type: string
              const: otlp-grpc
        sampling:
          type: number
        cardinalityLimit:
          type: number
        redactAttributes:
          type: array
          items:
            type: string
      required:
        - integration
        - signals
        - protocol
        - sampling
        - cardinalityLimit
  responses:
    ApiError:
      description: Request failed. The error object contains code, message, and requestId.
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: object
                required:
                  - code
                  - message
                  - requestId
                properties:
                  code:
                    type: string
                  message:
                    type: string
                  requestId:
                    type: string
    RateLimited:
      description: Request failed. The error object contains code, message, and requestId.
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: object
                required:
                  - code
                  - message
                  - requestId
                properties:
                  code:
                    type: string
                  message:
                    type: string
                  requestId:
                    type: string
      headers:
        Retry-After:
          description: Seconds before retrying
          schema:
            type: integer
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: Towbar API key

````