Get a single instance

How to view an existing instance with the FluidStack API

Call the Fetch a single user instance endpoint:

GET
1curl https://platform.fluidstack.io/instances/{instance_id} \
2 -H "api-key: <api-key>"

You must provide your own API key in the header of the request.

Example response:

Response
1{
2 "id": "i-1234567890",
3 "status": "running",
4 "username": "ubuntu",
5 "ssh_port": "22",
6 "ssh_keys": [
7 "my_ssh_key"
8 ],
9 "ip_address": "192.0.2.0",
10 "name": "my_instance_name",
11 "current_rate": 1,
12 "configuration": {
13 "id": "c-1234567890",
14 "gpu_model": {
15 "name": "RTX_A5000_24GB",
16 "memory_size_gb": 24
17 },
18 "cpu_model": "generic",
19 "gpu_count": 1,
20 "cpu_count": 8,
21 "nvme_storage_size_gb": 200,
22 "memory_size_gb": 30,
23 "estimated_provisioning_time_minutes": 5
24 },
25 "created_at": "2024-01-15T09:30:00Z"
26}

If your request succeeds, the endpoint will respond with a JSON containing one object.

Each object contains the details for an instance belonging to the user whose API key was provided in the header.

For further details, see the API Reference.