> For the complete documentation index, see [llms.txt](https://docs.suble.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.suble.io/floating-ip/get.md).

# Get

## Get

<mark style="color:blue;">`GET`</mark> `https://api.suble.io/projects/:projectId/floating_ips/:id`

Retrieve floating ip

#### Path Parameters

| Name      | Type   | Description               |
| --------- | ------ | ------------------------- |
| projectId | string | Unique id for the project |
| id        | string | Floating IP Id            |

#### Headers

| Name          | Type   | Description               |
| ------------- | ------ | ------------------------- |
| Authorization | string | User token or project key |

{% tabs %}
{% tab title="200 " %}

```
{
        "_id": ObjectId,
        "project": ObjectId,
        "ipv4": {
            "ip": String,
            "gateway": String,
            "subnet": String,
            "type": String
        },
        "ipv6: {
            "ip": String
        },
        "macaddress": String,
        "vms": [ObjectId], //Array
        "name": String,
        "purpose": String,
        "price": Integer,
        "connected": String
}
```

{% endtab %}

{% tab title="400 " %}

```
{
    "error": String
}
```

{% endtab %}
{% endtabs %}
