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

# Heartbeat

> Called by frontend to prevent idle suspension during active VNC sessions



## OpenAPI

````yaml post /api/mig/setup/heartbeat
openapi: 3.1.0
info:
  title: Axion Backend API
  description: Backend API for Axion platform with desktop automation capabilities
  version: 1.0.0
servers:
  - url: https://api.getgranite.ai
    description: Production server
  - url: http://localhost:8000
    description: Local development server
security: []
tags:
  - name: Authentication
    description: User authentication and session management
  - name: Organizations
    description: Organization management and membership
  - name: Health
    description: API health and status monitoring
  - name: Automations
    description: Automation planning and execution
  - name: MIG
    description: Managed Instance Group operations
  - name: Agent
    description: Agent execution and streaming
  - name: Onboarding
    description: Organization onboarding flow
  - name: Organization Automations
    description: Organization automation endpoint management
  - name: Organization Endpoints
    description: Public endpoints for organization automations
  - name: Analytics
    description: Analytics and reporting endpoints
paths:
  /api/mig/setup/heartbeat:
    post:
      tags:
        - MIG
      summary: Update Installation VM activity timestamp
      description: Called by frontend to prevent idle suspension during active VNC sessions
      operationId: installationVMHeartbeat
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GenericSuccessResponse'
components:
  schemas:
    GenericSuccessResponse:
      properties:
        status:
          type: string
          title: Status
          description: Operation status
        message:
          type: string
          title: Message
          description: Status message
      type: object
      required:
        - status
        - message
      title: GenericSuccessResponse
      description: Generic success response

````