capabilities.work

Import SQL into a D1 database

One step with Cloudflare. We can help you get access.

Get something done

Import SQL into a D1 database

Use Cloudflare: its Cloudflare D1 Import/Export API lets you import SQL into a D1 database in a single step (POST /accounts/{account_id}/d1/database/{database_id}/import). capabilities.work can help you get signed up and connected.

  • Can I load a SQL file into an existing D1 database?
  • Where do I upload SQL when importing into D1?
Say it to your AI assistant
  • Import SQL into D1 database {database_id} in account {account_id}.
  • Start a SQL import into {database_id} and give me the upload URL.
For your developer

POST /accounts/{account_id}/d1/database/{database_id}/import in Cloudflare D1 Import/Export API. Full spec on APIs.io.