GET, POST

/api/public/v1/storage/backup-plans

Live

List or create a schedule + retention rule under a backup policy.

Parameters

NameInRequiredDescription
policyIdquery (GET)falseFilter to one policy's plans.
policyId, frequency, retentionCount, prioritybody (POST)policyId, frequency, retentionCount requiredfrequency is one of daily/weekly/monthly/longTerm.

Response

GET: { plans: [...] } (each with a computed health field). POST: { plan: {...} }.

Example

curl -H "Authorization: Bearer $INAYA_API_KEY" \
  "https://app.inaya.network/api/public/v1/storage/backup-plans"