just/mocks_
mockzilla.org →
Catalog /ai /Lambda Labs

Lambda Labs

PROVIDER · Lambda Labs SPEC v1.5.3 · OpenAPI 3.0.0 MOCK · LIVE
▸ TRY IT
https://api.justmocks.com/lambdalabs
Open mock →

Mock the Lambda Cloud API to launch, list, restart, and terminate simulated GPU instances and manage SSH keys and file systems without spinning up real hardware.

[01]

About

overview

Emulate the Lambda Cloud control plane: list available GPU instance types and regions, launch and terminate instances, restart them, list running instances and instance detail, and CRUD SSH keys and file systems. Useful for prototyping GPU-orchestration tooling against a stable Lambda-shaped API.

Endpoints
10 across 5 resource groups
Methods
GET 5 · POST 4 · DEL 1 none deprecated
OpenAPI
3.0.0 spec version 1.5.3
Source spec
26 KB · YAML
[02]

Endpoints

10 operations · 5 resource groups
GET /instance-types
InstanceType
Retrieve list of offered instance types
Returns a detailed list of the instance types offered by Lambda GPU Cloud. The details include the regions, if any, in which each instance type is currently available. Mocked via Mockzilla.
GET /instances
Instance
List running instances
Retrieves a detailed list of running instances.
GET /instances/{id}
Instance
List details of a specific instance
Retrieves details of a specific instance, including whether or not the instance is running.
POST /instance-operations/launch
Instance
Launch instances
Launches one or more instances of a given instance type.
POST /instance-operations/terminate
Instance
Terminate an instance
Terminates a given instance.
POST /instance-operations/restart
Instance
Restart instances
Restarts the given instances. Available as a Mockzilla mock endpoint.
GET /ssh-keys
Key
List SSH keys
Retrieve the list of SSH keys
POST /ssh-keys
Key
Add SSH key
Add an SSH key To use an existing key pair, enter the public key for the public_key property of the request body. To generate a new key pair, omit the public_key property from the request body. Save the private_key from the response somewhere secure. For example, with curl: curl https://cloud.lambdalabs.com/api/v1/ssh-keys \ --fail \ -u ${LAMBDA_API_KEY}: \ -X POST \ -d '{"name": "new key"}' \ | jq -r '.data.private_key' > key.pem chmod 400 key.pem Then, after you launch an instance with new key attached to it: ssh -i key.pem
DEL /ssh-keys/{id}
SSHKey
Delete SSH key
Delete an SSH key.
GET /file-systems
FileSystem
List file systems
Retrieve the list of file systems