More
Start or resume a migration
Starts a migration of history from another tool for one account there, or returns the one under way for the same source and account. Records are sent by the dimmi CLI. Needs imports:manage. Returns the migration with its progress.
Authorization
AuthorizationstringrequiredAn API token, sent as Bearer <token>.
Needs the settings:write ability
Body
application/jsonnamestringThe name of the migration, at most 120 characters.
Maximum length: 120
sourcestringrequiredShort lowercase name of the tool the history comes from, such as intercom.
Maximum length: 40
source_accountstringrequiredId of the account in that tool. Starting again for the same account resumes its migration.
Maximum length: 255
Response 201
CreateddataobjectrequiredShow child attributesHide child attributes
countsobject[] | nullrequiredThe migration's records per kind, by how they stand.
Show child attributesHide child attributes
appliedintegerrequiredRecords applied, created or matched to what the workspace had.
Format: int64
conflictedintegerrequiredRecords whose last sync left a teammate's change in place.
Format: int64
createdintegerrequiredApplied records the migration created, which an undo removes.
Format: int64
deferredintegerrequiredRecords waiting for others they name.
Format: int64
failedintegerrequiredRecords not applied because of an error.
Format: int64
kindstringrequiredThe record kind counted, such as conversation.
unsupportedintegerrequiredRecords dimmi cannot apply yet.
Format: int64
created_atstringrequiredWhen it was created, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.
Format: date-time
format_versionintegerrequiredThe import format version the migration reads, 1 today.
Format: int32
idstringrequiredThe 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 | nullrequiredWhen the migration last received a record. Null before the first.
Format: date-time
namestring | nullrequiredThe migration's name, such as Intercom move. Null when none was given.
objectstringrequiredThe kind of record this is, the same for every record of its kind, such as article.
problemsobject[] | nullrequiredThe latest 50 records that failed, are unsupported or carry conflicts, newest first.
Show child attributesHide child attributes
conflictsobject[] | nullrequiredFields a teammate changed in dimmi, which the last sync left as they are.
Show child attributesHide child attributes
dimmianyrequiredThe value it holds in dimmi now, which the sync kept.
fieldstringrequiredThe field a teammate changed in dimmi since the migration wrote it, such as status.
sourceanyrequiredThe value the other tool sent, which was not applied.
errorobjectrequiredShow child attributesHide child attributes
codestringrequiredA stable code for why the record failed, such as company_exists.
fieldstringThe record field at fault, such as external_id. Null when no single field is.
messagestringrequiredWhat went wrong, in words for a person.
kindstringrequiredThe record's kind.
source_idstringrequiredThe record's id in the other tool.
statusstringrequiredfailed or unsupported; applied when only conflicts make it a problem.
Available options:applieddeferredfailedunsupported
updated_atstringrequiredWhen it last changed, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.
Format: date-time
rollbackobjectrequiredShow child attributesHide child attributes
errorstring | nullrequiredWhy the undo stopped. Null unless it failed.
finished_atstring | nullrequiredWhen the undo finished or stopped. Null while it runs.
Format: date-time
removedintegerrequiredHow many records the undo removed so far.
Format: int32
requested_atstring | nullrequiredWhen the undo was asked for.
Format: date-time
sourcestringrequiredThe short name of the tool the history comes from, such as intercom.
source_accountstringrequiredThe id of the account in that tool. Starting again for it resumes this migration.
statusstringrequiredactive 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_atstringrequiredWhen it last changed, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.
Format: date-time
Response error
ErrorcodestringrequiredStable code for programs to tell errors apart, such as validation_failed or internal_error.
errorsobjectEach rejected field mapped to its messages. Only present when the input was invalid.
messagestringrequiredWhat went wrong, in words safe to show a person.