We don’t have support for this yet in the Platform SDK.
As you’ve probably seen, we have Create Check and Delete Check. Get Check (for an individual check rid) is coming very soon.
After that, we are also planning support for getting all checks for a given subject (eg, Get Checks for Dataset, Get Checks for Schedule) in the coming weeks.
We can look into the feasibility of getting all checks for a given space but implementation of that may be further off.
Thanks @tompp this is a great update for our use cases. I’ve been looking at this endpoint closely, if you could ping when this is available I would greatly appreciate it.
Two follow-up questions:
Is it possible to programmatically get all schedules in a project?
Datasets are more straightforward.
Have you considered incorporating the DevOps/Marketplace APIs in the Platform SDK?
It would be really valuable to walk between installed products → installation health (via data health checks).
I think the only way to do this at the moment would be to use List Children Of Folder recursively, starting from the project, and for each dataset you find, call Get Dataset Schedules. So yes, technically it’s possible to do it programmatically but not with a single API call.
We have definitely considered this and know that it would be a very useful feature of the Platform SDK. However, there are quite a lot of complexities involved so I don’t have a timeline, I’m afraid.
Thank you! I’ve started using these. Any plans to enable retrieval of a check’s runs?
For example: GET /api/v2/dataHealth/checks/{checkRid}/runs
Similar idea to retrieving the runs of a schedule, i.e. https://www.palantir.com/docs/foundry/api/v2/orchestration-v2-resources/schedules/list-runs-of-schedule/.