Forum Discussion
re-trigger Fabric pipeline job using REST API
- 9 months ago
Hi AyusmanBasu0604,
I'm not aware of a way to re-run a specific instance of a job.
I think you would need to start a new job instance using the same payload. See this helpful post about the API:
Fabric REST API — Data pipelines. This post outlines the various Fabric… | by Aitor Murguzur | Medium.You can also use the newer Scheduler API to start a new on demand job instance:
Job Scheduler - Run On Demand Item Job - REST API (Core) | Microsoft Learn
With this you can include execution data:
POST https://api.fabric.microsoft.com/v1/workspaces/4b218778-e7a5-4d73-8187-f10824047715/items/431e8d7b-4a95-4c02-8ccd-6faef5ba1bd7/jobs/instances?jobType=DefaultJob { "executionData": { "tableName": "Table1", "optimizeSettings": { "vOrder": true } } }If you found this helpful, consider giving some Kudos. If I answered your question or solved your problem, mark this post as the solution.
Hi AyusmanBasu0604,
I'm not aware of a way to re-run a specific instance of a job.
I think you would need to start a new job instance using the same payload. See this helpful post about the API:
Fabric REST API — Data pipelines. This post outlines the various Fabric… | by Aitor Murguzur | Medium.
You can also use the newer Scheduler API to start a new on demand job instance:
Job Scheduler - Run On Demand Item Job - REST API (Core) | Microsoft Learn
With this you can include execution data:
POST https://api.fabric.microsoft.com/v1/workspaces/4b218778-e7a5-4d73-8187-f10824047715/items/431e8d7b-4a95-4c02-8ccd-6faef5ba1bd7/jobs/instances?jobType=DefaultJob
{
"executionData": {
"tableName": "Table1",
"optimizeSettings": {
"vOrder": true
}
}
}
If you found this helpful, consider giving some Kudos. If I answered your question or solved your problem, mark this post as the solution.