Base URL
Authentication
Every request authenticates with your API key in thex-api-key header. Create a
key at Settings → API keys, then paste it into the
Authorization field of any playground on this tab to send live requests.
The flow
- Create a migration —
POST /migrations - Upload files —
POST /migrations/{id}/files - Generate a preview —
POST /migrations/{id}/runswith{ "kind": "generate" } - Review —
GET /migrations/{id}/preview - Execute —
POST /migrations/{id}/runswith{ "kind": "execute" } - Export —
GET /migrations/{id}/exports/{slug}.csv