> ## 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 an application's rollbacks

> The recorded rollback history of this application's deployment on the named cluster, newest first. It is what explains a deployment running an older build than the newest one the platform observed. Browser session authentication only (no bearer twin).



## OpenAPI

````yaml https://platform.ankra.app/openapi.json get /org/applications/{application_id}/rollbacks
openapi: 3.1.0
info:
  title: FastAPI
  version: 0.1.0
servers:
  - url: https://platform.ankra.app
security: []
paths:
  /org/applications/{application_id}/rollbacks:
    get:
      tags:
        - Applications API
      summary: List an application's rollbacks
      description: >-
        The recorded rollback history of this application's deployment on the
        named cluster, newest first. It is what explains a deployment running an
        older build than the newest one the platform observed. Browser session
        authentication only (no bearer twin).
      operationId: list_application_rollbacks
      parameters:
        - in: path
          name: application_id
          required: true
          schema:
            title: Application Id
            type: string
        - in: query
          name: cluster_id
          required: true
          schema:
            title: Cluster Id
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListRollbacksResponse'
          description: Successful Response
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DemoDetailError'
          description: >-
            Not found ("Application not found" or "Target cluster not found in
            this organisation.")
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
components:
  schemas:
    ListRollbacksResponse:
      description: The recorded rollback history of one deployment, newest first.
      properties:
        rollbacks:
          items:
            $ref: '#/components/schemas/RollbackRecord'
          title: Rollbacks
          type: array
      required:
        - rollbacks
      title: ListRollbacksResponse
      type: object
    DemoDetailError:
      description: >-
        The FastAPI-style detail envelope the demo routes use for
        400/403/404/409/502 responses.
      properties:
        detail:
          type: string
      required:
        - detail
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    RollbackRecord:
      description: >-
        One rollback as it happened. previous_image_tag is null when Ankra could
        not read what was running - never that nothing was running.
        watermark_commit_sha names the push-to-deploy build the rollback stamped
        so the convergence loop would not undo it, or "" when no build had been
        observed. not_reverted repeats what a rollback leaves untouched.
      properties:
        id:
          title: Id
          type: string
        cluster_id:
          title: Cluster Id
          type: string
        target_kind:
          type: string
          title: Target Kind
        stack_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Stack Name
        installation_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Installation Id
        image_tag:
          title: Image Tag
          type: string
        previous_image_tag:
          anyOf:
            - type: string
            - type: 'null'
          title: Previous Image Tag
        watermark_commit_sha:
          title: Watermark Commit Sha
          type: string
        status:
          type: string
          title: Status
        message:
          anyOf:
            - type: string
            - type: 'null'
          title: Message
        requested_by:
          title: Requested By
          type: string
        requested_at:
          title: Requested At
          type: string
        not_reverted:
          items:
            type: string
          title: Not Reverted
          type: array
      required:
        - id
        - cluster_id
        - target_kind
        - stack_name
        - installation_id
        - image_tag
        - previous_image_tag
        - watermark_commit_sha
        - status
        - message
        - requested_by
        - requested_at
        - not_reverted
      title: RollbackRecord
      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

````