Skip to main content
POST
/
api
/
v1
/
backup-schedules
Create backup schedule
curl --request POST \
  --url https://api.rafftechnologies.com/api/v1/backup-schedules \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --header 'X-Project-ID: <x-project-id>' \
  --data '
{
  "vm_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "type": "daily",
  "time": "8am",
  "keep_count": 2,
  "day_of_week": "Monday"
}
'
{
  "success": true,
  "data": {
    "id": 123,
    "name": "<string>",
    "type": "daily",
    "keep_count": 123,
    "account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "project_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "created_by": "<string>",
    "region": "us-east",
    "product_vm": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "runtime": "<string>",
    "price_per_hour": "<string>",
    "size": "<string>",
    "created_at": "2023-11-07T05:31:56Z"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.rafftechnologies.com/llms.txt

Use this file to discover all available pages before exploring further.

Updated May 8, 2026

Authorizations

X-API-Key
string
header
required

API key for authentication. Each key is bound to a specific account.

Headers

X-Project-ID
string<uuid>
required

Project ID. Required for all mutating operations (create, delete, power actions, resize).

Body

application/json
vm_id
string<uuid>
required

Target VM UUID

type
enum<string>
required

Schedule frequency

Available options:
daily,
weekly
time
string
required

Time of day to run the backup (e.g. 8am, 13:00)

Example:

"8am"

keep_count
integer
required

Number of backups to retain before auto-pruning

Required range: x >= 1
day_of_week
enum<string>

Day of week. Required when type is weekly.

Available options:
Monday,
Tuesday,
Wednesday,
Thursday,
Friday,
Saturday,
Sunday

Response

Backup schedule created

success
boolean
data
object
Last modified on May 8, 2026