RunpodR
Runpod3d ago
10 replies
jamiem

Programmatic listing of jobs for a serverless endpoint

Is there any way to get a list of all job_ids or request_ids associated with a serverless endpoint? Either a curl/REST call or via python API is fine. Once I have the list, I can then use /status to check the status of each job, but without that list, I don't see any way to iterate over the jobs and check status.
The UI presents such a list, but I can't find any way to get this info myself for serverless instances. In this particular situation, multiple people are kicking off the runs from different machines and the only solution appears to be depositing every id in a central database, which isn't ideal for us. Also seems redundant since the info must be available if the web UI is able to show it.
Thanks!
Was this page helpful?