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

# List open cloud waste findings (bearer twin)

> The organisation's open waste findings from the latest scan, with the credentials whose sweep failed so an incomplete scan never reads as zero waste. Bearer-PAT twin of the browser route of the same name under /org; the console's session cookie is not accepted here and the browser route answers a token with a login redirect.



## OpenAPI

````yaml https://platform.ankra.app/openapi.json get /api/v1/org/cloud-cost/waste
openapi: 3.1.0
info:
  title: FastAPI
  version: 0.1.0
servers:
  - url: https://platform.ankra.app
security: []
paths:
  /api/v1/org/cloud-cost/waste:
    get:
      tags:
        - Cost
        - cli
      summary: List open cloud waste findings (bearer twin)
      description: >-
        The organisation's open waste findings from the latest scan, with the
        credentials whose sweep failed so an incomplete scan never reads as zero
        waste. Bearer-PAT twin of the browser route of the same name under /org;
        the console's session cookie is not accepted here and the browser route
        answers a token with a login redirect.
      operationId: cloud_waste_api_v1_org_cloud_cost_get
      parameters:
        - description: PAT organisation override.
          in: header
          name: x-ankra-organisation-id
          required: false
          schema:
            type: string
        - description: Narrow the findings to one cluster.
          in: query
          name: cluster_id
          required: false
          schema:
            format: uuid
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudWasteResponse'
          description: Successful response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContractDetailError'
          description: >-
            Missing or malformed Authorization header, or business validation
            error
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContractDetailError'
          description: Unknown, expired, or revoked API token
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContractDetailError'
          description: >-
            Token may not use this surface (MCP-scoped token or service account
            restriction)
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Request validation error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContractDetailError'
          description: Internal server error
      security:
        - BearerAuth: []
components:
  schemas:
    CloudWasteResponse:
      properties:
        credential_errors:
          items:
            $ref: '#/components/schemas/CloudWasteCredentialError'
          type: array
        currency:
          type: string
        findings:
          items:
            $ref: '#/components/schemas/CloudWasteFinding'
          type: array
        has_data:
          type: boolean
        scanned_at:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
        total_monthly_cost_cents:
          type: integer
        unpriced_finding_count:
          type: integer
      required:
        - has_data
        - scanned_at
        - currency
        - total_monthly_cost_cents
        - unpriced_finding_count
        - credential_errors
        - findings
      title: CloudWasteResponse
      type: object
    ContractDetailError:
      example:
        detail: Cluster not found
      properties:
        detail:
          oneOf:
            - type: string
            - additionalProperties: true
              properties: {}
              type: object
      required:
        - detail
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    CloudWasteCredentialError:
      properties:
        credential_name:
          type: string
        error:
          type: string
        provider:
          type: string
        scanned_at:
          format: date-time
          type: string
      required:
        - provider
        - credential_name
        - error
        - scanned_at
      title: CloudWasteCredentialError
      type: object
    CloudWasteFinding:
      properties:
        cluster_id:
          anyOf:
            - format: uuid
              type: string
            - type: 'null'
        cluster_name:
          anyOf:
            - type: string
            - type: 'null'
        credential_name:
          type: string
        details:
          type: object
        external_id:
          type: string
        first_seen_at:
          format: date-time
          type: string
        id:
          format: uuid
          type: string
        kind:
          type: string
        last_seen_at:
          format: date-time
          type: string
        monthly_cost_cents:
          anyOf:
            - type: integer
            - type: 'null'
        provider:
          type: string
        region:
          type: string
        resource_name:
          type: string
      required:
        - id
        - provider
        - kind
        - external_id
        - resource_name
        - region
        - credential_name
        - cluster_id
        - cluster_name
        - details
        - monthly_cost_cents
        - first_seen_at
        - last_seen_at
      title: CloudWasteFinding
      type: object
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object
  securitySchemes:
    BearerAuth:
      bearerFormat: PAT
      scheme: bearer
      type: http

````