Skip to content
dimmiDocs

More

Get a migration

Reads one migration: how many records of each kind were applied, wait for another record, failed or are not supported yet, and the latest problems with why. Returns the migration with counts per kind and its latest problems.

GET/api/v1/migrations/{migration}

Authorization

Authorizationstringrequired

An API token, sent as Bearer <token>.

Needs the settings:write ability

Path parameters

migrationstringrequired

The migration's id (mig_...), as starting or listing migrations returns it. Such as mig_01jc8q3x7m2n4p5r6s7t8v9w0y.

Response 200

OK
dataobjectrequired
Show child attributes
countsobject[] | nullrequired

The migration's records per kind, by how they stand.

Show child attributes
appliedintegerrequired

Records applied, created or matched to what the workspace had.

Format: int64

conflictedintegerrequired

Records whose last sync left a teammate's change in place.

Format: int64

createdintegerrequired

Applied records the migration created, which an undo removes.

Format: int64

deferredintegerrequired

Records waiting for others they name.

Format: int64

failedintegerrequired

Records not applied because of an error.

Format: int64

kindstringrequired

The record kind counted, such as conversation.

unsupportedintegerrequired

Records dimmi cannot apply yet.

Format: int64

created_atstringrequired

When it was created, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.

Format: date-time

format_versionintegerrequired

The import format version the migration reads, 1 today.

Format: int32

idstringrequired

The id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.

last_record_atstring | nullrequired

When the migration last received a record. Null before the first.

Format: date-time

namestring | nullrequired

The migration's name, such as Intercom move. Null when none was given.

objectstringrequired

The kind of record this is, the same for every record of its kind, such as article.

problemsobject[] | nullrequired

The latest 50 records that failed, are unsupported or carry conflicts, newest first.

Show child attributes
conflictsobject[] | nullrequired

Fields a teammate changed in dimmi, which the last sync left as they are.

Show child attributes
dimmianyrequired

The value it holds in dimmi now, which the sync kept.

fieldstringrequired

The field a teammate changed in dimmi since the migration wrote it, such as status.

sourceanyrequired

The value the other tool sent, which was not applied.

errorobjectrequired
Show child attributes
codestringrequired

A stable code for why the record failed, such as company_exists.

fieldstring

The record field at fault, such as external_id. Null when no single field is.

messagestringrequired

What went wrong, in words for a person.

kindstringrequired

The record's kind.

source_idstringrequired

The record's id in the other tool.

statusstringrequired

failed or unsupported; applied when only conflicts make it a problem.

Available options:applieddeferredfailedunsupported

updated_atstringrequired

When it last changed, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.

Format: date-time

rollbackobjectrequired
Show child attributes
errorstring | nullrequired

Why the undo stopped. Null unless it failed.

finished_atstring | nullrequired

When the undo finished or stopped. Null while it runs.

Format: date-time

removedintegerrequired

How many records the undo removed so far.

Format: int32

requested_atstring | nullrequired

When the undo was asked for.

Format: date-time

sourcestringrequired

The short name of the tool the history comes from, such as intercom.

source_accountstringrequired

The id of the account in that tool. Starting again for it resumes this migration.

statusstringrequired

active while it takes records, rolling_back while it is undone, rolled_back once undone, or rollback_failed when the undo stopped and can be asked again.

Available options:activerolling_backrolled_backrollback_failed

updated_atstringrequired

When it last changed, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.

Format: date-time

Response error

Error
codestringrequired

Stable code for programs to tell errors apart, such as validation_failed or internal_error.

errorsobject

Each rejected field mapped to its messages. Only present when the input was invalid.

messagestringrequired

What went wrong, in words safe to show a person.