DeepFellow DOCS
DeepFellow API ReferenceVector store migration

Retry the project's permanently-failed vector store embedding migration

POST
/v1/migrate/retry

Resume the caller's project's permanently-failed (or stuck cutting-over) migration.

Re-processes only files that have not yet succeeded; already re-embedded files are left untouched. Also re-attempts cutover if every file had already succeeded (the failure was cutover's own, or the migration was stuck in cutting_over). There is no limit on how many times this may be called.

Authorization

headerAuthorizationBearer <token>

Header Parameters

OpenAI-Organization?|

Organization Id from OpenAi compatible endpoint. Required to organization access or project access (with OpenAI-Project header) when logged as User or Admin User.

OpenAI-Project?|

Project Id from OpenAi compatible endpoint. Required to project access for organization api key or User / Admin User access with OpenAI-Organization

Response Body

Successful Response

application/json
  1. response

Response body for GET /v1/migrate/status.

project_id*string

A 24-character hexadecimal MongoDB ObjectId string.

Match^[0-9a-fA-F]{24}$
status*MigrationState

Aggregate status of a project's vector store migration.

Value in"idle""migrating""failed""cutting_over""cancelling""done"
error?|

Set when the migration as a whole failed for a reason that isn't any single file's fault.

file_counts?

Aggregate per-file progress counts for a migration.

Default
{  "pending": 0,  "in_progress": 0,  "completed": 0,  "failed": 0,  "total": 0}
failed_files?array<>

Detail on every permanently-failed file, so a caller can see why without digging through logs.

Default[]
stalled_files?array<>

Files still pending when the migration reached failed - never actually attempted this run because another file's failure ended the migration first. A retry will re-dispatch these too.

Default[]
Example Request
curl -X POST 'https://deepfellow-server-host/v1/migrate/retry'
Example Response
{  "project_id": "5eb7cf5a86d9755df3a6c593",  "status": "idle",  "error": "string",  "file_counts": {    "pending": 0,    "in_progress": 0,    "completed": 0,    "failed": 0,    "total": 0  },  "failed_files": [],  "stalled_files": []}

We use cookies on our website. We use them to ensure proper functioning of the site and, if you agree, for purposes such as analytics, marketing, and targeting ads.