Start a Dynamic Entities Migration

post

/api/v1/bots/{botId}/metadataMigration/dynamicEntitiesMigrationRequests

Migrates dynamic entities from a source skill to a target skill. As part of the migration process, it will create dynamic entity push requests with the copy query parameter set to false, which means it clears all values in the target entity, uploads all values in the push request, and then starts the training. If any of the push requests fail during the training step, all push requests (and the parent migration request) will complete with an error and no changes will be made to the target skill.

Request

Path Parameters
Query Parameters
  • The ID of the skill that contains the entities to be migrated. This skill must have the same name as the target, have been versioned from it, and use the same multilingual mode. If using native multilingual mode, the primary native language should also be the same as the target.

There's no request body for this operation.

Back to Top

Response

Supported Media Types

201 Response

Migration request created.
Body ()
Root Schema : DynamicEntitiesMigrationRequest
Type: object
Dynamic Entities Migration Request
Show Source

400 Response

There was a problem with the request. Take action based on the error message.
Body ()
Root Schema : RestError
Type: object
Show Source
Nested Schema : o:errorDetails
Type: array
Show Source
Nested Schema : Location
Type: object
Show Source
Nested Schema : Context
Type: object
Show Source

404 Response

Can't create the migration request because either the source or the target skill doesn't exist.
Body ()
Root Schema : RestError
Type: object
Show Source
Nested Schema : o:errorDetails
Type: array
Show Source
Nested Schema : Location
Type: object
Show Source
Nested Schema : Context
Type: object
Show Source

412 Response

A push request for one of the affected entities in the target skill is already in progress.
Body ()
Root Schema : RestError
Type: object
Show Source
Nested Schema : o:errorDetails
Type: array
Show Source
Nested Schema : Location
Type: object
Show Source
Nested Schema : Context
Type: object
Show Source
Back to Top