Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
TheBanker
Frequent Visitor

Subscription History thru API

Hi All,

I'm trying to get the subscription history of report builder on our report server.
I saw that there was a "SubscriptionHistory" model on the swagger https://app.swaggerhub.com/apis/microsoft-rs/PBIRS/2.0#/SubscriptionHistory .

TheBanker_0-1705422549212.png
However, I don't know how to use it ☹️
I tried to do a get like this:
"https://mycorporatesite.com/SSRSReports/api/v2.0/SubscriptionHistory?SubscriptionID=33b5b19f-9965-47..."
but it didn't work 😞.
Can you help me please ?

NB: I am not a server administrator, so I cannot request job tasks

thank you

 

 

2 REPLIES 2
Anonymous
Not applicable

Hi @TheBanker ,

The SubscriptionHistory API requires the ID parameter, as well as the type parameter, the start and end times of the subscription, and the status and content of the subscription.

This can only be run by a member with the admin role.

Below is the official link will help you:

Develop with the REST APIs for Power BI Report Server - Power BI | Microsoft Learn

Best Regards,

Xianda Tang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @Anonymous ,
Thank for your answer.

I am used to using the services "/Reports", "/CatalogItems", "/Subscriptions", "/CacheRefreshPlans", "/PowerBIReports"... and I am able to obtain the data I want.

Does SubscriptionHistory require rights other than those which allow me to obtain data from for example the "/Reports" API?

you said "The SubscriptionHistory API requires the ID parameter, as well as the type parameter, the start and end times of the subscription, and the status and content of the subscription."
Are these parameters mandatory?
What I would like to get is simply the subscription history for a specific subscription (eg for SubscriptionID=33b5b19f-9965-47d6-a3ba-19f92f16085a).
Do you have an example of syntax to obtain the history of a subscription please?

Thank you

David

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.