Cloudflare D1 · Example Payload

D1 Time Travel Restore

DatabaseSQLiteServerlessEdge ComputingSQLCloudflareWorkers

D1 Time Travel Restore is an example object payload from Cloudflare D1, with 4 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

summaryoperationIdrequestresponse

Example Payload

Raw ↑
{
  "summary": "Restore a D1 database to a previous point in time",
  "operationId": "d1-time-travel-restore",
  "request": {
    "method": "POST",
    "url": "https://api.cloudflare.com/client/v4/accounts/{account_id}/d1/database/{database_id}/time_travel/restore",
    "headers": {
      "Authorization": "Bearer <api_token>",
      "Content-Type": "application/json"
    },
    "body": {
      "timestamp": "2026-06-12T08:00:00Z"
    }
  },
  "response": {
    "status": 200,
    "body": {
      "success": true,
      "errors": [],
      "messages": [],
      "result": {
        "bookmark": "0000000000001-0000000001",
        "uuid": "7b162190-cb3e-4d7b-a862-9f5a69e36a62",
        "name": "my-production-db",
        "version": "production",
        "num_tables": 5,
        "file_size": 204800,
        "created_at": "2026-03-01T00:00:00Z"
      }
    }
  }
}