Migrations
Archive a migration
Changed onArchives the migration, like Archive in the app — nothing is deleted. It drops out of GET /migrations (unless include_archived=true), stays readable and exportable, and every call that changes it (uploads, runs, answers, credentials, knowledge, the source connection, cancelling, PATCH) returns 409 with code: migration_archived. Restore it from the Archived page in Vern. Refused with 409 (code: imports_in_flight) while an import is in progress, including a preview waiting for approval — cancel the listed runs first. Archiving an archived migration is a no-op.
delete/migrations/{migration_id}
Request
- Base URLhttps://app.vern.so/api/v1
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
The archived migration (archived: true).
Changes
- info
endpoint added
- info