GET, POST
/api/public/v1/storage/backup-plans
LiveList or create a schedule + retention rule under a backup policy.
Parameters
| Name | In | Required | Description |
|---|---|---|---|
| policyId | query (GET) | false | Filter to one policy's plans. |
| policyId, frequency, retentionCount, priority | body (POST) | policyId, frequency, retentionCount required | frequency 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"