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

# Get Failover Service Status

> Checks the status of the WAN Failover service for a specific site, returning the subscription ID if it is active.



## OpenAPI

````yaml /api/en/wan-failover.yaml get /failover/{site_id}/configs
openapi: 3.0.3
info:
  title: Altostrat WAN Failover API
  version: 1.0.0
  description: >-
    Manage SDX WAN failover service state and WAN tunnel configuration through
    the portal-facing `/failover` and `/wan` gateway paths.
servers:
  - url: https://v1.api.altostrat.io
security:
  - BearerAuth: []
tags:
  - name: Failover Service
    description: Activate and manage the WAN Failover service for a specific site.
  - name: WAN Tunnels
    description: >-
      Manage individual WAN connections (tunnels) for a site's failover
      configuration.
  - name: Helper Endpoints
    description: >-
      Utility endpoints for discovering router information to aid in
      configuration.
paths:
  /failover/{site_id}/configs:
    get:
      tags:
        - Failover Service
      summary: Get Failover Service Status
      description: >-
        Checks the status of the WAN Failover service for a specific site,
        returning the subscription ID if it is active.
      operationId: getFailoverStatus
      parameters:
        - $ref: '#/components/parameters/SiteId'
      responses:
        '200':
          description: The current status of the failover service for the site.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FailoverSubscription'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
components:
  parameters:
    SiteId:
      name: site_id
      in: path
      required: true
      description: The unique identifier for the site.
      schema:
        type: string
        format: uuid
        example: 9c69345c-8d39-4786-9f17-8153c988c89a
  schemas:
    FailoverSubscription:
      type: object
      properties:
        subscription_id:
          type: string
          format: uuid
          description: >-
            The unique identifier for the activated Failover service
            subscription on this site. Will be `null` if the service is not
            active.
          nullable: true
          example: 9c693485-0552-474c-a7c8-7b969a5330a1
    ErrorResponse:
      type: object
      properties:
        type:
          type: string
          description: A broad category for the error (e.g., 'invalid_request_error').
          example: invalid_request_error
        code:
          type: string
          description: A short, unique string identifying the specific error.
          example: parameter_invalid
        message:
          type: string
          description: A human-readable description of what went wrong.
          example: The value for 'type' must be one of the supported connection types.
        doc_url:
          type: string
          description: >-
            A direct link to the documentation page for this specific error
            code.
          example: https://docs.altostrat.io/errors/parameter_invalid
  responses:
    Unauthorized:
      description: Unauthorized - The API key is missing or invalid.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    NotFound:
      description: >-
        Not Found - The requested resource (e.g., site_id, tunnel_id) does not
        exist.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: 'Enter your JWT in the format: Bearer <token>'

````