Skip to content

List applied migration versions

get/v1/projects/{ref}/database/migrations

OAuth scopes

  • database:read

The fine-grained token must include the following permissions to access this endpoint:

  • database_migrations_read

Path parameters

  • ref
    Required
    string

    Project ref

Response codes

  • 200
  • 401
  • 403
  • 429
  • 500

Response (200)

[
{
"version": "lorem",
"name": "lorem"
}
]
{
"type": "array",
"items": {
"type": "object",
"properties": {
"version": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"version"
]
}
}