Managing Pods
How to get pods, statuses and delete instances
Instances -> Read
permission (or Read and Write
if you want to Delete
instances)Retrieving Existing Pods
To view a list of active instances, use the Get Pods endpoint.
This is a paginated request, with a default limit
of 100 results. To adjust the number of results per page, use query parameters:
This will return a JSON object containing the total number of instances (total_count
), the specified limit
and offset
and the list of pods under data
(check out Pod schema for details)
Retrieving a Specific Pod
If you know the podId
, you can retrieve details for that specific pod:
Checking Pod Status
After provisioning an instance, retrieve its status to obtain port mappings and connection details using the Get Pod Status endpoint. This request also supports checking multiple instance statuses simultaneously:
It returns a data
with the list of object like:
If the instance has additional open ports, these will be listed under primePortMapping
.
installationFailure
will be set. Our system will attempt automatic retries, but issues related to the image or configuration may require further action.Deleting a Pod
To delete an instance you no longer need, use the Delete Pod endpoint.
Once a pod is terminated, it is moved to history and becomes inaccessible via the standard Get Pod or Get Pods endpoints. To view historical data, use the Get Pods History endpoint.