Skip to main content
get/knowledge-fs/spaces/{knowledge_base_id}/settings/migrations/{migration_id}
Request example
Response
get/knowledge-fs/spaces/{knowledge_base_id}/settings/migrations/{migration_id}

Authorization

Authorizationstringheaderrequired#

Every request authenticates with an API key: Authorization: Bearer {API_KEY}. App endpoints take an app API key; knowledge endpoints take a knowledge base API key (Get Started).

Keep keys server-side; never embed them in client code. Requests with a missing or invalid key fail with HTTP 401 (unauthorized).

Path parameters

knowledge_base_idstringrequired#
Knowledge base ID: the last segment of the Service API endpoint shown in the knowledge base's API Access dialog (…/knowledge-fs/spaces/<knowledge base ID>), and the segment after /datasets/new/ in the address bar.
migration_idstringrequired#
Migration ID: migration.id from the 202 response of Update Knowledge Base Settings. No other operation returns it.

Responses

application/json
The migration.
candidate_publication_fingerprintstring#
Internal. Not needed to follow the migration.
changed_kindstring#
What the change touched: embedding or retrieval.
checkpointstring#
Last step reached: queued, candidate-built, evaluated, or activated. To tell when the migration ends, read run_state.
completed_atstring#
When the migration ended (succeeded, failed, or canceled), ISO 8601. null while it runs.
created_atstring#
When the migration started, ISO 8601.
error_codestring#
Code of the last failure, for example PROFILE_MIGRATION_ATTEMPTS_EXHAUSTED or VECTOR_SPACE_QUOTA_EXCEEDED. null when none.
evaluation_summaryobject#
Flat map of results recorded for the migration. Not needed to follow the migration. null when none was recorded.
idstring#
Migration ID. Pass it to Get Settings Migration.
knowledge_space_idstring#
Internal ID of the knowledge base. Not the knowledge base ID in the path.
rebuild_scopestring#

What the migration rebuilds:

  • full-vector-space: an embedding model change re-embeds every document.
  • clone-publication: any retrieval change reuses the current index.
  • full-page-index-summary-outline: deprecated. Older migrations may still report it; a reasoning model change reports clone-publication.
run_statestring#

Progress of the migration:

  • queued, running: in progress.
  • succeeded: the new settings are in effect.
  • failed: stopped. error_code says why. Check the models in Get Knowledge Base Settings before trying the change again.
  • canceled: a newer change of the same kind replaced this migration before it finished. Follow the newer one.
updated_atstring#
When the migration last changed, ISO 8601.