Reply
anawast
Microsoft Employee
Microsoft Employee

Fabric API does not return the schedule associated with a pipeline

The get item API for a Fabric Pipeline doesn't return the schedule associated with a pipeline. 

API being used: 
GET https://api.fabric.microsoft.com/v1/workspaces/<your WS Id>/items/<pipeline id>

 

Is there anyway to get the schedule associated with a pipeline via automation?

1 ACCEPTED SOLUTION
6 REPLIES 6

Hi @Saiteja_M 

 

Thank you. I verified that using "Pipeline" as jobtype does work! 

 

Is there a list of all supported valid job types? I didn't find anything similar on the documentations. I used another API to list data pipelines, and it gives me a type "DataPipeline" which is not supported in this API either. Hadn't thought "Pipeline" is the key! 

 

Best Regards,
Jing

Hi Jing,

 

I do not have a complete list but for DataPipelines you can use "Pipeline" and for Dataflows you can use "Refresh"

 

Best Regards

Saiteja

Thank you very much!

 

Best Regards,
Jing

v-jingzhan-msft
Community Support
Community Support

Hi @anawast 

 

I tried Job Scheduler - List Item Schedules today but got an InvalidJobType error "The requested job type is invalid". I used "DefaultJob" type which was got from the example code in the documentation. I tried Job Scheduler - Get Item Schedule but also failed.

 

From this documentation, it doesn't mention that these two job scheduler APIs could be applied to Data pipelines. It seems that these Job Scheduler APIs are not supported for data pipelines currently.

 

Best Regards,
Jing
If this post helps, please Accept it as Solution to help other members find it. Appreciate your Kudos!

v-jingzhan-msft
Community Support
Community Support

Hi @anawast 

 

Have you tried Job Scheduler - Get Item Schedule?

GET https://api.fabric.microsoft.com/v1/workspaces/{workspaceId}/items/{itemId}/jobs/{jobType}/schedules/{scheduleId}

 

Best Regards,
Jing
If this post helps, please Accept it as Solution to help other members find it. Appreciate your Kudos!

avatar user

Helpful resources

Announcements
MarchFBCvideo - carousel

Fabric Monthly Update - March 2025

Check out the March 2025 Fabric update to learn about new features.

March2025 Carousel

Fabric Community Update - March 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors (Last Month)
Top Kudoed Authors (Last Month)