Create Task
Create a new task definition.
Required Role: OPERATOR, ADMIN, or OWNER
Tier Limits:
- Free Tier: Maximum 2 tasks
- Pro Tier: Maximum 50 tasks
A task is a blueprint for a transfer operation between two locations. Tasks can be executed on-demand or run on a schedule.
Example request body:
{
"name": "S3 to R2 Daily Backup",
"description": "Daily sync from production S3 to Cloudflare R2 backup",
"task_type": "sync",
"source_location_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"destination_location_id": "7b9c12e8-4a3f-4d5e-8c6b-9f2a1e3d4c5b",
"source_path": "/prod/data",
"destination_path": "/backup",
"rclone_config": {
"bwlimit": "100M",
"transfers": 4,
"checkers": 8,
"filters": {
"filter": ["+ *.jpg", "+ *.png", "- *.bak", "- *.tmp"],
"max_age": "30d"
},
"checksum": true,
"fast_list": true
},
"is_scheduled": true,
"schedule_cron": "0 2 * * *"
}
Documentation Index
Fetch the complete documentation index at: https://docs.dataraven.io/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Body
Schema for creating a new task.
Task name
1 - 255"S3 to R2 Daily Backup"
Type of transfer (copy or sync)
copy, sync "sync"
Source location ID
Destination location ID
Task description
2000"Daily sync from production S3 to Cloudflare R2 backup"
Path within source bucket (optional, defaults to root)
1000"/prod/data"
Path within destination bucket (optional, defaults to root)
1000"/backup"
RClone configuration options
Whether this task runs on a schedule
true
false
UNIX cron expression (5 fields: minute hour day month weekday). Evaluated in UTC.
100"0 2 * * *"
Response
Successful Response
Full task response with rclone config (for CRUD and detail endpoints).
Task operation types.
copy, sync Source location display name
Source location bucket name
Source location provider type
Destination location display name
Destination location bucket name
Destination location provider type
Task definition status.
enabled, disabled, archived 2000Path within source bucket
1000"/prod/data"
Path within destination bucket
1000"/backup"
100Last scheduled execution time
RClone configuration options (includes provider-specific defaults)