---
title: "List VPCs."
method: GET
path: "/v1/vpc"
tags: ["VPC"]
---

# List VPCs.

`GET /v1/vpc`

## Request

- Base URL: `https://api.scalix.world`
- URL: `https://api.scalix.world/v1/vpc`
- Auth: HTTP bearer

Returns all VPCs belonging to the caller's project.

## Response `200`

All VPCs for the caller's project

- VpcJson[]
  - `id` string, required
  - `tenant_id` string, required
  - `name` string, required
  - `cidr` string, required
  - `private_key` string, required
  - `public_key` string, required
  - `listen_port` integer, required
  - `endpoint` string, nullable
  - `status` string, required: One of `provisioning`, `active`, `degraded`, `deleting`.
  - `created_at` string, required

## Other responses

- `401`: Missing or invalid credentials
- `403`: Token lacks the vpc:read scope
- `500`: Internal error

---

[API](https://skmtc.dev/scalix/apis/scalix-cloud-api.md) · [All operations](https://skmtc.dev/scalix/apis/scalix-cloud-api/llms.txt) · [OpenAPI document](https://skmtc.dev/scalix/apis/scalix-cloud-api/revisions/2c04ca0a90bb?raw)
