Cohesity Site Continuity API

Site Continuity is Cohesity's disaster-recovery orchestration service, exposed as a 25-operation REST API on the Helios control plane. It models sites, applications and DR plans, runs health checks that validate a plan without executing it, and performs and tracks failover and failback actions. It is the one Cohesity surface that publishes an enumerated error-code vocabulary (kNoError, kValidationError, kInternalError).

Operations 25

GET /sites Returns a list of sites. #
POST /sites Creates a new site. #
GET /sites/{id} Returns a site by ID. #
DELETE /sites/{id} Deletes a site by ID. #
PUT /sites/{id} Updates a site by ID. #
POST /applications Creates a new application. #
GET /applications Returns a list of applications. #
GET /applications/{id} Returns an application by ID. #
PUT /applications/{id} Updates an application by ID. #
DELETE /applications/{id} Deletes an application by ID. #
GET /applications/{id}/versions Returns a list of application versions. #
GET /applications/{id}/replicated-snapshots Returns list of replicated snapshots for an application. #
POST /dr-plans Creates a DR plan. #
GET /dr-plans Returns a list of DR plans. #
GET /dr-plans/{id} Returns a DR plan by ID. #
DELETE /dr-plans/{id} Deletes a DR plan by ID. #
PUT /dr-plans/{id} Updates a DR Plan by ID. #
POST /health-checks Initiates a health check. #
POST /dr-plans/{id}/actions Performs an action on a DR plan. #
GET /actions Returns a list of actions. #
GET /actions/{id} Returns an action by ID. #
POST /actions/{id}/operations Performs operations on a DR plan action. #
POST /objects/operations Initiates asynchronous operations. #
GET /objects/operations/{operationId} Returns an operation by ID. #
POST /stats Returns detailed statistics. #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/site-continuity-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

cohesity-site-continuity-openapi.yml Raw ↑
swagger: "2.0"
info:
  version: 1.0.0
  description: 'Public APIs for Site Continuity v2 service.


    # Getting Started

    These APIs provides operations for interfacing with the Site Continuity
    v2 service.

    ## Base URL


    * The base URL for making API calls is
    `https://helios.cohesity.com/v2/mcm/site-continuity/v2` <br>

    * An apiKey is needed in order to authenticate the requests to the
    Site Continuity service. To create an apiKey, please visit this webpage:

    https://developer.cohesity.com/docs/helios-getting-started <br>

    ---

    > NOTE: The apiKey has no expiration and is valid until deleted
    explicitly.

    ---

    ## Data Protection APIs


    * Site Continuity v2 workflows need to invoke Helios Data Protection APIs
    at various instances during creation of Sites, Applications and DR plans.

    * Please refer following webpage for the reference to Helios Data Protection
    APIs: <br> <br>

    Refer following for v2 APIS:
    https://developer.cohesity.com/apidocs/helios/v2-api/#/http/getting-started <br> <br>
    Refer following for v1 APIs:
    https://developer.cohesity.com/apidocs/helios/v1-api/#/http/getting-started
    '

  title: Site Continuity v2 Service APIs
  termsOfService: https://cohesity.com
  contact:
    email: support@cohesity.com

host: helios.cohesity.com
basePath: /v2/mcm/site-continuity/v2
schemes:
  - https

securityDefinitions:
  ApiKeyAuth:
    type: apiKey
    in: header
    name: apiKey
security:
  - ApiKeyAuth: []

paths:
  /sites:
    get:
      description: |-
        Privileges: DRAAS_VIEW

        Returns a list of available sites based on the defined
        filter criteria.
      tags:
      - Sites
      summary: Returns a list of sites.
      operationId: SCGetSites

      parameters:
        - name: siteIds
          description: Specifies Ids to filter sites response.
          in: query
          type: array
          items:
            type: integer
            format: int64
        - name: siteNames
          description: Specifies site names to filter the sites response. This
            is case insensitive and supports substring search.
          in: query
          type: array
          items:
            type: string
      responses:
        200:
          $ref: "#/responses/SCGetSitesResponse"
        default:
          $ref: "#/responses/SCErrorResponse"
    post:
      description: |-
        Privileges: DRAAS_MODIFY

        Creates a new site with for a given cluster.
      tags:
        - Sites
      summary: Creates a new site.
      operationId: SCCreateSite

      parameters:
        - name: body
          description: Specifies the parameters to create a site.
          in: body
          schema:
            $ref: "#/definitions/SCCommonSite"
          required: true
      responses:
        201:
          $ref: "#/responses/SCCreateSiteResponse"
        default:
          $ref: "#/responses/SCErrorResponse"
  /sites/{id}:
    get:
      description: |-
        Privileges: DRAAS_VIEW

        Gets a site's information using its ID.
      tags:
        - Sites
      summary: Returns a site by ID.
      operationId: SCGetSiteById

      parameters:
        - name: id
          description: Specifies the ID of the site.
          in: path
          type: integer
          format: int64
          required: true
      responses:
        200:
          $ref: "#/responses/SCGetSiteByIdResponse"
        default:
          $ref: "#/responses/SCErrorResponse"
    delete:
      description: |-
        Privileges: DRAAS_MODIFY

        Deletes a site using its ID.
      tags:
        - Sites
      summary: Deletes a site by ID.
      operationId: SCDeleteSiteById

      parameters:
        - name: id
          description: Specifies the ID of the site.
          in: path
          type: integer
          format: int64
          required: true
      responses:
        204:
          description: No content
        default:
          $ref: "#/responses/SCErrorResponse"
    put:
      description: |-
        Privileges: DRAAS_MODIFY

        Updates a site's information using its ID. The user can only
        update the name and location of the sites. The updated name should be
        unique among already existing sites. We do not support updating
        onPremParams and the type of site.
      tags:
        - Sites
      summary: Updates a site by ID.
      operationId: SCUpdateSiteById

      parameters:
        - name: id
          description: Specifies the ID of the site.
          in: path
          type: integer
          format: int64
          required: true
        - in: body
          name: body
          description: Specifies the parameters to update a site.
          schema:
            $ref: "#/definitions/SCCommonSite"
          required: true
      responses:
        200:
          $ref: "#/responses/SCUpdateSiteResponse"
        default:
          $ref: "#/responses/SCErrorResponse"
  /applications:
    post:
      description: |-
        Privileges: DRAAS_MODIFY

        Creates a new application consisting of objects, delays and
        scripts.
      tags:
        - Applications
      summary: Creates a new application.
      operationId: SCCreateApp

      parameters:
        - name: body
          description: Specifies the parameters to create an application.
          in: body
          schema:
            $ref: "#/definitions/SCAppCreateOrUpdateParams"
          required: true
      responses:
        201:
          $ref: "#/responses/SCCreateAppResponse"
        default:
          $ref: "#/responses/SCErrorResponse"
    get:
      description: |-
        Privileges: DRAAS_VIEW

        Returns a list of applications based on the defined filter
        criteria.
      tags:
        - Applications
      summary: Returns a list of applications.
      operationId: SCGetApps

      parameters:
        - name: appIds
          description: Specifies IDs to filter the applications response.
          in: query
          type: array
          items:
            type: integer
            format: int64
        - name: appNames
          description: Specifies app names to filter the applications
            response. This is case insensitive and supports substring search.
          in: query
          type: array
          items:
            type: string
        - name: siteIds
          description: Specifies site IDs to filter the applications response.
          in: query
          type: array
          items:
            type: integer
            format: int64
        - name: statuses
          description: Specifies the application statuses to filter the
            applications response.
            'NotReady' status specifies that application is currently not
            ready to be used for DR operations.<br><br>
            'Ready' status specifies that application is ready for performing
            DR operations.<br><br>
          in: query
          type: array
          items:
            type: string
            enum:
              - NotReady
              - Ready
        - name: includeSummary
          description: Specifies the parameter to include summary information
            for application response. This must be passed as true to include
            the summary in the response.
          type: boolean
          in: query
      responses:
        200:
          $ref: "#/responses/SCGetAppsResponse"
        default:
          $ref: "#/responses/SCErrorResponse"
  /applications/{id}:
    get:
      description: |-
        Privileges: DRAAS_VIEW

        Gets application information using its ID.
      tags:
        - Applications
      summary: Returns an application by ID.
      operationId: SCGetAppById

      parameters:
        - name: id
          description: Specifies the ID of the application.
          in: path
          type: integer
          format: int64
          required: true
      responses:
        200:
          $ref: "#/responses/SCGetAppByIdResponse"
        default:
          $ref: "#/responses/SCErrorResponse"
    put:
      description: |-
        Privileges: DRAAS_MODIFY

        Updates application's information using its ID.
      tags:
        - Applications
      summary: Updates an application by ID.
      operationId: SCUpdateAppById

      parameters:
        - name: id
          description: Specifies the ID of the application.
          in: path
          type: integer
          format: int64
          required: true
        - in: body
          name: body
          description: Specifies the parameters to update an application.
          schema:
            $ref: "#/definitions/SCAppCreateOrUpdateParams"
          required: true
      responses:
        200:
          $ref: "#/responses/SCUpdateApplicationResponse"
        default:
          $ref: "#/responses/SCErrorResponse"
    delete:
      description: |-
        Privileges: DRAAS_MODIFY

        Deletes an application using its ID. Delete
        operation will not be allowed if the application is currently used by
        a DR plan.
      tags:
        - Applications
      summary: Deletes an application by ID.
      operationId: SCDeleteAppById

      parameters:
        - name: id
          description: Specifies the ID of the Application.
          in: path
          type: integer
          format: int64
          required: true
      responses:
        204:
          description: No content
        default:
          $ref: "#/responses/SCErrorResponse"
  /applications/{id}/versions:
    get:
      description: |-
        Privileges: DRAAS_VIEW

        Get list of versions associated with the application.
      tags:
        - Applications
      summary: Returns a list of application versions.
      operationId: SCGetVersionsForApp

      parameters:
        - name: id
          description: Specifies the ID of the application.
          in: path
          type: integer
          format: int64
          required: true
        - name: versions
          description: Specifies version numbers to filter specific
            versions of the application.
          in: query
          type: array
          items:
            type: integer
            format: int64
      responses:
        200:
          $ref: "#/responses/SCGetAppVersionsResponse"
        default:
          $ref: "#/responses/SCErrorResponse"
  /applications/{id}/replicated-snapshots:
    get:
      description: |-
        Privileges: DRAAS_VIEW

        Gets the replicated snapshot details for all objects from
        the latest application version. API will return the latest replicated
        snapshot for all objects when no filters are specified. These
        replicated snapshots are served from the internal cache and may be
        stale.
      tags:
        - Applications
      summary: Returns list of replicated snapshots for an application.
      operationId: SCGetSnapshotForAppId

      parameters:
        - name: id
          description: Specifies the ID of the application.
          in: path
          type: integer
          format: int64
          required: true
        - name: objectIds
          description: Specifies the list of objectIDs to filter the snapshot
            information. This list should only contain the list of objectIDs
            at the source site that were added while creating the application.
            'fromTimeUsecs' and 'toTimeUsecs' must be set to valid timestamps
            when using the 'objectIds' filter.
          in: query
          type: array
          items:
            type: integer
            format: int64
        - name: fromTimeUsecs
          description: Specifies the starting timestamp in Unix time epoch in
            microseconds to get the snapshots response. 'objectIds' filter must
            be specified with at least one ID when using 'fromTimeUsecs' filter.
          type: integer
          format: int64
          in: query
        - name: toTimeUsecs
          description: Specifies the ending timestamp in Unix time epoch in
            microseconds to get the snapshots response. 'objectIds' filter must
            be specified with at least one ID when using 'toTimeUsecs' filter.
          type: integer
          format: int64
          in: query
      responses:
        200:
          $ref: "#/responses/SCGetLatestSnapshotByAppIdResponse"
        default:
          $ref: "#/responses/SCErrorResponse"
  /dr-plans:
    post:
      description: |-
        Privileges: DRAAS_MODIFY

        Creates a new DR plan consisting of application, primary
        site, DR site and resource profile configuration.
      tags:
        - DRPlan
      summary: Creates a DR plan.
      operationId: SCCreateDRPlan

      parameters:
        - name: body
          description: Specifies the parameters to create a DR plan.
          in: body
          schema:
            $ref: "#/definitions/SCDRPlanCreateOrUpdateParams"
          required: true
      responses:
        201:
          $ref: "#/responses/SCCreateDRPlanResponse"
        default:
          $ref: "#/responses/SCErrorResponse"
    get:
      description: |-
        Privileges: DRAAS_VIEW

        Returns a list of DR Plans based on the defined filter
        criteria.
      tags:
        - DRPlan
      summary: Returns a list of DR plans.
      operationId: SCGetDrPlans

      parameters:
        - name: drPlanIds
          description: Specifies IDs to filter the DR plans response.
          in: query
          type: array
          items:
            type: integer
            format: int64
        - name: drPlanNames
          description: Specifies DR plan names to filter the DR plans
            response. This is case insensitive and supports substring search.
          in: query
          type: array
          items:
            type: string
        - name: appIds
          description: Specifies application IDs to filter the DR plans
            response.
          in: query
          type: array
          items:
            type: integer
            format: int64
        - name: states
          description: Specifies list of states to filter the DR plans
            response.
          in: query
          type: array
          items:
            type: string
            enum:
              - Created
              - Active
              - Deleted
              - Failed
              - Completed
        - name: primarySiteIds
          description: Specifies primary site IDs to filter the DR plans
            response.
          in: query
          type: array
          items:
            type: integer
            format: int64
        - name: drSiteIds
          description: Specifies DR site IDs to filter the DR plans
            response.
          in: query
          type: array
          items:
            type: integer
            format: int64
        - name: statuses
          description: Specifies list of status to filter the DR plans
            response.
          in: query
          type: array
          items:
            type: string
            enum:
              - ActivationReady
              - ActivationInProgress
              - ActivationNotReady
              - ConfigurationError
              - FailoverNotReady
              - FailoverReady
              - FailoverInProgress
              - FailoverFailed
              - FailoverCompleted
              - PrepareForFailbackInProgress
              - FailbackNotReady
              - FailbackReady
              - FailbackInProgress
              - FailbackFailed
              - FailbackCompleted
              - TeardownInProgress
              - CancellationInProgress
              - TestFailoverInProgress
              - TestFailbackInProgress
              - PrepareForFailoverInProgress
              - SystemError
        - name: slaStatus
          description: Specifies the SLA status to filter the DR Plans
            response.
          in: query
          type: string
          enum:
            - Satisfied
            - NotSatisfied
        - name: includeSummary
          description: Specifies the filter to include the summary of the
            DR plans. This must be passed and set to true in order to get the
            summary.
          in: query
          type: boolean
      responses:
        200:
          $ref: "#/responses/SCGetDRPlansResponse"
        default:
          $ref: "#/responses/SCErrorResponse"
  /dr-plans/{id}:
    get:
      description: |-
        Privileges: DRAAS_VIEW

        Gets DR plan information using its ID.
      tags:
        - DRPlan
      summary: Returns a DR plan by ID.
      operationId: SCGetDRPlanById

      parameters:
        - name: id
          description: Specifies the ID of the DR plan.
          in: path
          type: integer
          format: int64
          required: true
      responses:
        200:
          $ref: "#/responses/SCGetDRPlanByIdResponse"
        default:
          $ref: "#/responses/SCErrorResponse"
    delete:
      description: |-
        Privileges: DRAAS_MODIFY

        Deletes a DR plan using its ID.
      tags:
        - DRPlan
      summary: Deletes a DR plan by ID.
      operationId: SCDeleteDRPlanById

      parameters:
        - name: id
          description: Specifies the ID of the DR plan.
          in: path
          type: integer
          format: int64
          required: true
      responses:
        204:
          description: No content
        default:
          $ref: "#/responses/SCErrorResponse"
    put:
      description: |-
        Privileges: DRAAS_MODIFY

        Updates DR plan's information using its ID.
      tags:
        - DRPlan
      summary: Updates a DR Plan by ID.
      operationId: SCUpdateDRPlanById

      parameters:
        - name: id
          description: Specifies the ID of the DR plan.
          in: path
          type: integer
          format: int64
          required: true
        - in: body
          name: body
          description: Specifies the parameters to update a DR plan.
          schema:
            $ref: "#/definitions/SCDRPlanCreateOrUpdateParams"
          required: true
      responses:
        200:
          $ref: "#/responses/SCUpdateDRPlanResponse"
        default:
          $ref: "#/responses/SCErrorResponse"
  /health-checks:
    post:
      description: |-
        ROLES: DRAAS_MODIFY

        Initiates an on demand health check on the specified DR plans.
      tags:
        - HealthChecks
      summary: Initiates a health check.
      operationId: SCInitiateHealthCheck

      parameters:
        - name: body
          description: Specifies the parameters to initiate a health check.
            If the API request succeeds, clients should query the respective
            resource to track the status of the health check.
            For example - if the health check was triggered on a
            DR plan, then a subsequent GET API call on DR plans will
            return the latest status associated with the health check.
          in: body
          schema:
            $ref: "#/definitions/SCInitiateHealthCheckParams"
          required: true
      responses:
        204:
          $ref: "#/responses/NoContentResponse"
        default:
          $ref: "#/responses/SCErrorResponse"
  /dr-plans/{id}/actions:
    post:
      description: |-
        Privileges: DRAAS_MODIFY

        Performs actions such as activate, failover, failback, etc
        on a given DR plan.
      tags:
        - DRPlan
      summary: Performs an action on a DR plan.
      operationId: SCPerformActionOnDRPlan

      parameters:
        - name: id
          description: Specifies the ID of the DR plan.
          in: path
          type: integer
          format: int64
          required: true
        - name: body
          description: Specifies the parameters to perform action on DR plan.
          in: body
          schema:
            $ref: "#/definitions/SCPerformActionOnDrPlanParams"
          required: true
      responses:
        202:
          $ref: "#/responses/SCPerformActionDrPlanResponse"
        default:
          $ref: "#/responses/SCErrorResponse"
  /actions:
    get:
      description: |-
        Privileges: DRAAS_VIEW

        Returns a list of actions on DR plans based on the defined
        filter criteria.
      tags:
        - DRPlan
      summary: Returns a list of actions.
      operationId: SCGetActions

      parameters:
        - name: actionIds
          description: Specifies IDs to filter the actions response.
          in: query
          type: array
          items:
            type: integer
            format: int64
        - name: statuses
          description: Specifies list of statuses to filter the actions
            response.
          in: query
          type: array
          items:
            type: string
            enum:
              - Running
              - Completed
              - Failed
              - Canceled
              - Canceling
        - name: types
          description: Specifies list of types to filter the actions
            response.
          in: query
          type: array
          items:
            type: string
            enum:
              - Activate
              - PrepareForFailover
              - PrepareForFailback
              - TestFailover
              - TestFailback
              - Failover
              - Failback
              - Teardown
        - name: drPlanIds
          description: Filter the actions response by DR plan IDs.
          type: array
          items:
            type: integer
            format: int64
          in: query
        - name: fromTimeUsecs
          description: Specifies the starting timestamp in Unix time epoch in
            microseconds to get actions response. This filter will return the
            actions having start time greater than equal to this value.
          type: integer
          format: int64
          in: query
        - name: toTimeUsecs
          description: Specifies the ending timestamp in Unix time epoch in
            microseconds to get actions response. This filter will return the
            actions having finish time less than equal to toTimeUsecs.
          type: integer
          format: int64
          in: query
        - name: includeStepDetails
          description: Specifies the filter to include step level details for
            attempts associated with every DR action. This must be passed as
            true to include the step details in attempts.
          type: boolean
          in: query
      responses:
        200:
          $ref: "#/responses/SCGetActionsResponse"
        default:
          $ref: "#/responses/SCErrorResponse"
  /actions/{id}:
    get:
      description: |-
        Privileges: DRAAS_VIEW

        Gets action information performed on DR plan using its action
        ID.
      tags:
        - DRPlan
      summary: Returns an action by ID.
      operationId: SCGetActionById

      parameters:
        - name: id
          description: Specifies the ID of the action.
          in: path
          type: integer
          format: int64
          required: true
        - name: includeStepDetails
          description: Specifies the filter to include step level details for
            attempts associated with DR action. This must be passed as
            true to include the step details in attempts.
          type: boolean
          in: query
      responses:
        200:
          $ref: "#/responses/SCGetActionByIdResponse"
        default:
          $ref: "#/responses/SCErrorResponse"
  /actions/{id}/operations:
    post:
      description: |-
        Privileges: DRAAS_MODIFY

        Perform operations like cancel, resume and force finish
        on a DR plan action. The provided operation will be validated and error
        will be returned if operation cannot be performed at that time. Resume
        and force finish creates a new attempt on the DR plan action. Cancel
        cancels the latest attempt on the DR plan action. An attempt details
        must be accessed using the GET actions API by providing the the same
        action ID as provided here.
      tags:
        - DRPlan
      summary: Performs operations on a DR plan action.
      operationId: SCPerformOperationOnDrPlanAction

      parameters:
        - name: id
          description: Specifies the ID of the action on which the operation
            needs to be performed.
          in: path
          type: integer
          format: int64
          required: true
        - name: body
          description: Specifies the parameters to perform the operation on a
            DR plan action.
          in: body
          schema:
            $ref: "#/definitions/SCOperationOnActionParams"
          required: true
      responses:
        204:
          $ref: "#/responses/NoContentResponse"
        default:
          $ref: "#/responses/SCErrorResponse"
  /objects/operations:
    post:
      description: |-
        Privileges: DRAAS_MODIFY

        Initiate operations to check, gather information and
        perform computations using objects.
      tags:
        - Objects
      summary: Initiates asynchronous operations.
      operationId: SCCreateObjectsOperation

      parameters:
        - name: body
          description: Specifies the parameters to perform operation using objects.
          in: body
          schema:
            $ref: "#/definitions/SCCreateObjectsOperationParams"
          required: true
      responses:
        201:
          $ref: "#/responses/SCCreateObjectsOperationResponse"
        default:
          $ref: "#/responses/SCErrorResponse"
  /objects/operations/{operationId}:
    get:
      description: |-
        Privileges: DRAAS_VIEW

        Get results of operation using objects.
      tags:
        - Objects
      summary: Returns an operation by ID.
      operationId: SCGetObjectsOperationResults

      parameters:
        - name: operationId
          description: Specifies the operation id to track the progress
            of operation performed using objects.
          in: path
          type: string
          required: true
      responses:
        200:
          $ref: "#/responses/SCGetObjectsOperationResultsResponse"
        default:
          $ref: "#/responses/SCErrorResponse"
  /stats:
    post:
      description: |-
        Privileges: DRAAS_VIEW

        Fetch detailed stats about DR Plans, sites and applications
        to power custom dashboards.
      tags:
        - Stats
      summary: Returns detailed statistics.
      operationId: SCGetStats

      parameters:
        - name: body
          description: Specifies the parameters to get the stats.
          in: body
          schema:
            $ref: "#/definitions/SCGetStatsParams"
          required: true
      responses:
        200:
          $ref: "#/responses/SCGetStatsResponse"
        default:
          $ref: "#/responses/SCErrorResponse"

definitions:
  SCInitiateHealthCheckParams:
    description: Specifies the parameters required to initiate a health
      check.
    type: object
    required:
      - checkType
    properties:
      checkType:
        description: Specifies the type of the resource on which the
          health check should be initiated.
        type: string
        enum:
          - DRPlan
        x-nullable: true
      drPlanHealthCheckParams:
        description: Specifies the parameters required for initiating health
          check on a DR plan.
        type: object
        $ref: "#/definitions/SCDRPlanHealthCheckParams"
        x-nullable: true
  SCDRPlanHealthCheckParams:
    description: Specifies the parameters associated with DR plan health
      check.
    type: object
    required:
      - drPlanId
    properties:
      drPlanId:
        description: Specifies the unique identifier for the DR plan.
        type: integer
        format: int64
        x-nullable: true
  SCGetStatsResponse:
    description: Specifies the various stats about DR Plans, sites and applications.
      Based on the passed statTypes, appropriate stats data will be returned in the
      response.
    type: object
    properties:
      numActivePlans:
        description: Specifies the total number of active DR plans. This
          includes the plans that are either currently active, completed or
          failed due to an error.
        type: integer
        format: int32
        x-nullable: true
      numCompletedPlans:
        description: Specifies the total number of completed DR plans. This
          will include the plans that are currently either failover completed
          or failback completed.
        type: integer
        format: int32
        x-nullable: true
      numReadyPlans:
        description: Specifies the total number of DR plans that are either
          ready for failover or failback.
        type: integer
        format: int32
        x-nullable: true
      numNotReadyPlans:
        description: Specifies the total number of DR plans that are neither
          ready for failover nor failback.
        type: integer
        format: int32
        x-nullable: true
      numErrorPlans:
        description: Specifies the total number of plans that either failed a
          failover or failback operation, or have some configuration error.
        type: integer
        format: int32
        x-nullable: true
      numRunningPlans:
        description: Specifies the total number of plans that are currently
          in the running state as a result of executing one of the actions
          from activate, failover, failback, teardown or cancel.
        type: integer
        format: int32
        x-nullable: true
      readyPlanStats:
        description: Specifies the stats for DR plans that are either ready
          for failover or failback.
        type: object
        $ref: "#/definitions/SCReadyPlanStats"
        x-nullable: true
      slaStats:
        description: Specifies the SLA stats for active DR plans.
        type: object
        $ref: "#/definitions/SCSLAStatsResponse"
        x-nullable: true
      activityStats:
        description: Specifies the activity stats for the specific time interval.
        type: object
        $ref: "#/definitions/SCActivityStatsResponse"
        x-nullable: true
      siteConnectivityStats:
        description: Specifies the connectivity stats for the sites.
        type: object
        $ref: "#/definitions/SCSiteConnectivityStatsResponse"
        x-nullable: true
  SCReadyPlanStats:
    description: Specifies the stats for all the DR plans that are ready
      for either failover or failback.
    type: object
    properties:
      numFailoverReadyPlans:
        description: Specifies the total number of DR plans ready for failover.
        type: integer
        format: int32
        x-nullable: true
      numFailbackReadyPlans:
        description: Specifies the total number of DR plans ready for failback.
        type: integer
        format: int32
        x-nullable: true
  SCSLAStatsResponse:
    description: Specifies the SLA stats for active DR plans.
    type: object
    properties:
      numSLASatisfiedPlans:
        description: Specifies the total number of active DR plans where SLA
          is satisfied.
        type: integer
        format: int32
        x-nullable: true
      numSLANotSatisfiedPlans:
        description: Specifies the total number of active DR plans where SLA
          is not satisfied.
        type: integer
        format: int32
        x-nullable: true
  SCActivityStatsResponse:
    description: Specifies the activity stats for the specific time interval.
    type: object
    properties:
      numTotalActivities:
        description: Specifies the total number of activities performed during the
          mentioned time interval.
        type: integer
        format: int32
        x-nullable: true
      numSuccessfulTestActivities:
        description: Specifies the total number of successful test activities that
          will be created as a result of test failover and test failback
          operations on DR plans.
        type: integer
        format: int32
        x-nullable: true
      numFailedTestActivities:
        description: Specifies the total number of failed test activities that
          will be created as a result of test failover and test failback
          operations on DR plans.
        type: integer
        format: int32
        x-nullable: true
      numSuccessfulActualActivities:
        description: Specifies the total number of successful activities created
          for actual failover and failba

# --- truncated at 32 KB (134 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/cohesity/refs/heads/main/openapi/cohesity-site-continuity-openapi.yml