Alias
You can usesls as a shorthand for serverless:
Subcommands
List endpoints
List all your Serverless endpoints:Get endpoint details
Get detailed information about a specific endpoint:Get flags
Include template information in the output.
Include workers information in the output.
Create an endpoint
Create a new Serverless endpoint:Create flags
Name for the endpoint.
Template ID to use. Use
runpodctl template search to find templates.GPU type for workers. Use
runpodctl gpu list to see available GPUs.Number of GPUs per worker.
Compute type (
GPU or CPU).Minimum number of workers.
Maximum number of workers.
Comma-separated list of preferred datacenter IDs. Use
runpodctl datacenter list to see available datacenters.Update an endpoint
Update endpoint configuration:Update flags
New name for the endpoint.
New minimum number of workers.
New maximum number of workers.
New idle timeout in seconds.
Scaler type (
QUEUE_DELAY or REQUEST_COUNT).Scaler value.
Delete an endpoint
Delete an endpoint:Serverless URLs
Access your Serverless endpoint using these URL patterns:| Operation | URL |
|---|---|
| Async request | https://api.runpod.ai/v2/<endpoint-id>/run |
| Sync request | https://api.runpod.ai/v2/<endpoint-id>/runsync |
| Health check | https://api.runpod.ai/v2/<endpoint-id>/health |
| Job status | https://api.runpod.ai/v2/<endpoint-id>/status/<job-id> |