Mechanism◆Article
The new release adds a formalized API that lets you replace an existing database or add a new one via a curl POST request to the /-/upload-dbs endpoint.
Describes the new formalized API added in the release, showing the curl command used to replace or add a database. ✦ AI generated
Simon Willison · Simon Willison's Weblog · 2026-08-11 · original ↗
The new release adds a formalized API, so you can replace an existing database (or add a new one) like this: curl -X POST \ -H "Authorization: Bearer $API_TOKEN" \ -H "Accept: application/json" \ -F "db=@content.db" \ -F "db_name=content" \ https://your-instance.example.com/-/upload-dbs
Read full article ↗excerpt · fair-use quotation
- ·New formalized API in this release
- ·Replace an existing database or add a new one
- ·curl POST to /-/upload-dbs endpoint
- ·Uses Bearer auth, multipart db upload
- ·POST with Authorization Bearer token
- ·Attach db file and db_name via -F flags
- ·Endpoint: https://your-instance.example.com/-/upload-dbs
Around this claim