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

# Diagnose Resource Drift

> Check row membership against LIVE evidence, without probing providers.



## OpenAPI

````yaml https://api.getfloo.com/openapi.json get /v1/apps/{app_id}/doctor/drift
openapi: 3.1.0
info:
  title: floo API
  version: 0.1.0
servers:
  - url: https://api.getfloo.com
security: []
paths:
  /v1/apps/{app_id}/doctor/drift:
    get:
      tags:
        - doctor
      summary: Diagnose Resource Drift
      description: Check row membership against LIVE evidence, without probing providers.
      operationId: doctor_diagnose_resource_drift
      parameters:
        - name: app_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: App Id
        - name: env
          in: query
          required: false
          schema:
            $ref: '#/components/schemas/EnvironmentName'
            default: dev
        - $ref: '#/components/parameters/X-Floo-Org-Id'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceDoctorResponse'
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - bearerAuth: []
components:
  schemas:
    EnvironmentName:
      type: string
      enum:
        - dev
        - prod
        - preview
      title: EnvironmentName
      description: >-
        Enumerate the persisted development, production, and preview environment
        names.
    ResourceDoctorResponse:
      properties:
        app_id:
          type: string
          format: uuid
          title: App Id
        app_name:
          type: string
          title: App Name
        env:
          type: string
          title: Env
        live_deploy_id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Live Deploy Id
        checked_resources:
          type: integer
          title: Checked Resources
        unknown_resources:
          type: integer
          title: Unknown Resources
        drift_detected:
          type: boolean
          title: Drift Detected
        drift:
          items:
            $ref: '#/components/schemas/ResourceDoctorDrift'
          type: array
          title: Drift
      type: object
      required:
        - app_id
        - app_name
        - env
        - live_deploy_id
        - checked_resources
        - unknown_resources
        - drift_detected
        - drift
      title: ResourceDoctorResponse
      description: >-
        Membership coverage; unknown rows can also have a proven false
        dimension.
    ErrorResponse:
      properties:
        detail:
          $ref: '#/components/schemas/ErrorDetail'
      type: object
      required:
        - detail
      title: ErrorResponse
      description: Body of every error response except request validation (422).
    ResourceDoctorDrift:
      properties:
        declared:
          anyOf:
            - type: boolean
            - type: string
              const: unknown
          title: Declared
          default: unknown
        applied:
          anyOf:
            - type: boolean
            - type: string
              const: unknown
          title: Applied
          default: unknown
        kind:
          type: string
          enum:
            - not_declared
            - not_applied
          title: Kind
        summary:
          type: string
          title: Summary
        likely_fix:
          type: string
          title: Likely Fix
        resource_id:
          type: string
          format: uuid
          title: Resource Id
        resource_kind:
          type: string
          enum:
            - service
            - managed_service
            - cron_job
          title: Resource Kind
        name:
          type: string
          title: Name
      type: object
      required:
        - kind
        - summary
        - likely_fix
        - resource_id
        - resource_kind
        - name
      title: ResourceDoctorDrift
      description: A row with false membership in the environment's LIVE deploy.
    ErrorDetail:
      properties:
        code:
          type: string
          title: Code
        message:
          type: string
          title: Message
      additionalProperties: true
      type: object
      required:
        - code
        - message
      title: ErrorDetail
      description: Standard error envelope with operation-specific JSON context.
  parameters:
    X-Floo-Org-Id:
      name: X-Floo-Org-Id
      in: header
      required: false
      schema:
        type: string
        format: uuid
      description: Organization to act in; defaults to the one joined most recently.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: A `floo_` API key.

````

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