List all Alembic revisions.
Returns all migration revisions from both core and dynamic directories with their application status.
Only superadmins can access this endpoint.
cURL
curl --request GET \ --url https://api.example.com/api/v1/migrations
{ "revisions": [ { "revision": "<string>", "description": "<string>", "is_applied": true, "is_head": true, "is_dynamic": true, "down_revision": "<string>", "branch_labels": [ "<string>" ], "created_at": "<string>" } ], "total": 123, "current_revision": "<string>" }
Successful Response
Response schema for listing all migrations.
List of all revisions
Show child attributes
Total number of revisions
Current database revision