Cloud Workers allow you to run serverless functions in the cloud. They provide a way to execute code on Puter's infrastructure without managing servers. The Workers API allows you to create, manage, and execute workers.
puter.workers.create()
- Create a new workerputer.workers.delete()
- Delete a workerputer.workers.list()
- List all workersputer.workers.get()
- Get information about a specific workerputer.workers.exec()
- Execute a workerrouter
- The router object for handling HTTP requests