GET
/
migrations
/
{migration_id}
Get the status of a migration
curl --request GET \
  --url https://api.togai.com/migrations/{migration_id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "mig.20aUyEZSuYq.SoGbS",
  "type": "PRICE_PLAN",
  "updatedAt": "2080-10-04T00:00:00Z",
  "status": "COMPLETED",
  "sourceId": "pp.njrjk314hfr",
  "targetId": "pp.rhk32h4dsfq",
  "totalMigrationEntries": 100,
  "pendingMigrationEntries": 40,
  "failedMigrationEntries": 20,
  "completedMigrationEntries": 40
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

migration_id
string
required
Example:

"mig.20aUyEZSuYq.SoGbS"

Response

200
application/json

Response for get migration status request

The response is of type object.