JavaScript
import Migma from 'migma'; const migma = new Migma('YOUR_API_KEY'); const { data, error } = await migma.projects.retryImport('PROJECT_ID');
{ "success": true, "data": { "status": "pending", "projectId": "<string>", "message": "<string>" }, "error": "<string>" }
Retry a failed or stuck import for the given project.
API key authentication. Use 'Authorization: Bearer YOUR_API_KEY' where YOUR_API_KEY is obtained from the Migma dashboard under Settings → API Integration.
Project ID (MongoDB ObjectId)
Retry initiated
Show child attributes
Was this page helpful?