Skip to content

List exposed ports

View .md
GET

The ports this sandbox exposes and their URLs. Empty when none were exposed.

Authorization

  • Authorizationheaderrequired

    Bearer YOUR_API_KEY. Create a key in the dashboard.

Path parameters

  • sandboxIdstringrequired

    Sandbox ID.

Responses

200Ports.
  • itemsobject[]required
    3 properties
    • portintegerrequired
    • urlstring<uri>required

      HTTPS URL on zavu.run that reaches the port, WebSockets included. Calling this again for the same port returns the same URL. It keeps working across a stop and resume; while the sandbox is stopped it answers 503, and once the sandbox is deleted it answers 404.

    • publicbooleanrequired
401Unauthorized.
  • codestringrequired
  • messagestringrequired
  • detailsobject
404Sandbox not found, or it belongs to another project.
  • codestringrequired
  • messagestringrequired
  • detailsobject