---
title: "set failover drill policy"
method: POST
path: "/platform/deployments/custom/{id}/failover-standby/drill-policy"
tags: ["Platform"]
---

# set failover drill policy

`POST /platform/deployments/custom/{id}/failover-standby/drill-policy`

## Request

- Base URL: `https://api.imprezahost.com/v1`
- URL: `https://api.imprezahost.com/v1/platform/deployments/custom/{id}/failover-standby/drill-policy`
- Auth: API key in header `X-API-Key` and API key in header `X-API-Secret`

Set how often the cold standby is re-copied and verified, from 60 to 10080 minutes, or null to stop. Manage scope. Each drill backs up the primary, restores that copy over the standby in its country, waits for a healthy redeploy and records the verified copy; it never switches traffic. The first drill is one interval away. Hosted MCP requires an account credential without resource confinement. Available only when the failover_enabled feature gate is enabled. Resources must belong to the authenticated account; confined credentials are rejected. A disabled gate returns 404. Review validity, same-account pairing and current state are checked again by the server.

## Path parameters

- `id` string, required

## Request body

- FailoverSetFailoverDrillPolicyInput
  - `interval_minutes` integer, nullable, required

## Response `200`

Saved failover state

- FailoverStandbyResponse
  - `success` true, required
  - `data` FailoverStandby, required
    - `source_deployment_id` string, required
    - `target_deployment_id` string, required
    - `mode` 'cold', required
    - `state` string, required
    - `source_country` string, required
    - `target_country` string, required
    - `source_country_basis` string, required
    - `target_country_basis` string, required
    - `source_country_notice` string, nullable, required
    - `target_country_notice` string, nullable, required
    - `last_sync_at` string, nullable, required
    - `last_verified_at` string, nullable, required
    - `sync_receipt` object, nullable, required
    - `drill` object, required
      - `interval_minutes` integer, nullable, required
      - `next_at` string, nullable, required
      - `active_drill_id` string, nullable, required
      - `last` object, nullable, required
  - `meta` Meta, required
    - `request_id` string
    - `timestamp` string, date-time

## Other responses

- `400`: Malformed arguments, missing explicit confirmation, or invalid digest
- `401`: Authentication required
- `403`: Insufficient scope, account ownership, or unsupported credential confinement
- `404`: Gate disabled or resource not found on this account
- `409`: State, replay, concurrency, or review conflict
- `422`: Unsupported deployment or unmet workflow prerequisite
- `503`: Failover service unavailable

---

[API](https://skmtc.dev/imprezahost/apis/impreza-host-public-api.md) · [All operations](https://skmtc.dev/imprezahost/apis/impreza-host-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/imprezahost/apis/impreza-host-public-api/revisions/db86511f604f?raw)
