> ## 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.

# Re-check a pending AI action against the live cluster state (bearer token)



## OpenAPI

````yaml https://platform.ankra.app/openapi.json get /api/v1/chat/actions/{action_id}/revalidate
openapi: 3.1.0
info:
  title: FastAPI
  version: 0.1.0
servers:
  - url: https://platform.ankra.app
security: []
paths:
  /api/v1/chat/actions/{action_id}/revalidate:
    get:
      tags:
        - chat
      summary: >-
        Re-check a pending AI action against the live cluster state (bearer
        token)
      operationId: >-
        revalidate_action_endpoint_api_v1_chat_actions__action_id__revalidate_get
      parameters:
        - in: path
          name: action_id
          required: true
          schema:
            format: uuid
            title: Action Id
            type: string
      responses:
        '200':
          content:
            application/json:
              schema: {}
          description: The action is still valid (the live revalidation document)
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContractDetailError'
          description: Bearer token missing (400) or invalid (401)
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContractDetailError'
          description: Action not found
        '409':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContractDetailError'
          description: >-
            The action drifted from, or was superseded by, the live state (the
            conditional payload names which)
        '410':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContractDetailError'
          description: The action expired
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '503':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContractDetailError'
          description: >-
            The cluster agent is unavailable, or AI inference is not configured
            on this deployment
components:
  schemas:
    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
    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

````