Job Details: Insufficient Information

Good day All,

I auto started archive jobs for studies with lua script, Then I use an external script to poll for completed jobs, upon getting them, I can’t seem to find a way to get the study id, either by Resources key in /tools/create-archive or by giving a filename that has study id in it, in /jobs/{id}/archive the filename is always archive.zip.
Please, do anyone have an idea of how I can get past this?