Page 1 of 1
Accessing species restrictions and project stats via API
Posted: Sun Apr 13, 2025 5:37 am
by arisu
Is there a way with the API to determine stats (like how many WUs are available, WU throughput etc) and hardware-based restrictions (like species for GPU clients)? I want a way to tell how many WUs of a certain project are in circulation, and the ability to know what kind of systems they are whitelisted for, but the API seems undocumented.
I know of
https://assign1.foldingathome.org/api/project/summary and
https://api.foldingathome.org/project
Re: Accessing species restrictions and project stats via API
Posted: Sun Apr 13, 2025 7:25 am
by muziqaz
I don't think that is accessable to public.
Number of WUs is researchers best guess and changes very often, there is no breakdown in numbers.
And species constraints are again not revealed to the public, as there definitely is no need for that. However when projects go to Beta, researchers create a thread announcement with some constraint info from time to time
Re: Accessing species restrictions and project stats via API
Posted: Sun Apr 13, 2025 7:46 am
by arisu
That's unfortunate, since it's not sensitive information. Is there any other way to determine whether or not being stuck in assign wait is a shortage (a WU or two might get downloaded) or a complete lack of WUs for a particular configuration (no use at all enabling it at the moment)?
Basic stats about WUs that are out there can be obtained. I was able to write a script that used the API to get an approximation of the number of WUs in circulation for a given project using divide-and-conquer, but it was only an approximation. It would be easy to fully enumerate them all from my script, but that would hammer the API server which wouldn't be nice. It's disappointing because it could be done easily with a single SQL query and returned in one request.
I get that the average person doesn't need to know anything more than "is the machine folding right now?" but I'm a stats nerd.

Re: Accessing species restrictions and project stats via API
Posted: Sun Apr 13, 2025 9:16 am
by muziqaz
Information about if your hardware in particular doesn't have assignments or is it a shortage is not priority and doubt it anything will be implemented for that. you have server stats page, which shows how many jobs are available. Seeing if it is species restrictions that's keeping you away is not in the plans
Re: Accessing species restrictions and project stats via API
Posted: Mon Apr 14, 2025 3:44 am
by arisu
I have a species 4 AMD GPU (I thought it was species 3 but apparently not) and it's getting no projects at all. Despite being crippled by OpenCL this GPU gets nearly half a million PPD. And yet my ancient GTX mobile GPU that gets under 100k PPD gets work whenever it wants it.
I'll write a request to have its species bumped up in another thread, along with supporting evidence.
Re: Accessing species restrictions and project stats via API
Posted: Mon Apr 14, 2025 4:36 am
by muziqaz
Your GPU will not be bumped up to new species

No need for another thread for that