[SOLVED] Catching task upid


New Member
Jul 26, 2016
Hi there,
I'm currently creating a web interface to create and configure containers automaticly, I'm using this php API https://github.com/CpuID/pve2-api-php-client
I need to create a function that wait the task of creating a container to start it.
To do so I want to access the task status via it's upid with GET /api2/json/nodes/{node}/tasks/{upid}/status or
GET /api2/json/nodes/{node}/tasks/{upid}/log.
My problem is : How do I catch this {upid} ? I can't figure out how to check the status of the task without knowing the upid and on top of that I don't understand how to catch the value of this upid.

Every piece of help is really appreciated !


Proxmox Staff Member
Staff member
Jan 7, 2016


The Proxmox community has been around for many years and offers help and support for Proxmox VE and Proxmox Mail Gateway. We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get your own in 60 seconds.

Buy now!