---
title: "List all frontends in a project"
method: GET
path: "/projects/{id}/frontends"
tags: ["Frontends"]
---

# List all frontends in a project

`GET /projects/{id}/frontends`

## Request

- Base URL: `https://api.volcano.dev`
- URL: `https://api.volcano.dev/projects/{id}/frontends`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Supports two mutually exclusive pagination modes. Offset mode uses `page`
and `limit` and returns `next` (URL). Cursor mode uses `cursor` and
`limit`, supports `search` (case-insensitive name match), and returns
`next_cursor`. Sending both `page` and `cursor` (or `page` and `search`)
returns 400.

## Path parameters

- `id` string, uuid, required

## Query parameters

- `page` integer
- `limit` integer
- `cursor` string
- `ending_before` string
- `offset` integer
- `search` string

## Response `200`

Successful response

- PaginatedFrontends
  - `data` Frontend[], required
    - `variable_scope` 'all' | 'shared' | 'scoped': All preserves access to all project variables. Shared includes the project frontend shared-variable list. Scoped includes only explicitly declared variables in builds and runtime. Omission preserves the stored selection.
    - `declared_variables` string[]: Names selected when variable_scope is scoped. Missing declared values reject deployment. Omission preserves the stored list; an empty list clears it.
    - `id` string, uuid, required
    - `project_id` string, uuid, required
    - `name` string, required
    - `framework` 'nextjs', required
    - `app_root` string: Optional relative POSIX path from the uploaded archive root to the Next.js app that is deployed.
    - `status` 'provisioning' | 'active' | 'degraded' | 'failed' | 'deleting', required: Frontend lifecycle status. `degraded` means the regional runtime remains available but edge synchronization exhausted its immediate retries; Volcano retries edge recovery without rebuilding the frontend, and stops once a new deployment is queued or the retry budget runs out, leaving the frontend `degraded` until the next redeploy. A redeploy that fails over a serving frontend stays `active` on the previous deployment, so `failed` means no deployment is serving.
    - `provisioning_started_at` string, date-time: Timestamp when the current provisioning phase started
    - `deployed_regions` string[], required
    - `current_deployment_id` string, uuid: Identifier of the latest frontend deployment operation
    - `pending_deployment_id` string, uuid: Newest queued deployment that will run after the current operation
    - `site_url` string
    - `custom_domain` string: Active custom domain hostname when configured
    - `custom_domain_status` 'pending_verification' | 'provisioning' | 'active' | 'detaching' | 'failed' | 'deleted': Current custom domain lifecycle status
    - `function_routes` FrontendFunctionRoute[], required: Paths on this frontend that forward to a public function, ordered from most to least specific. Anyone who can load the frontend can reach the target function at these paths without a credential.
      - `id` string, uuid, required
      - `project_id` string, uuid, required
      - `frontend_id` string, uuid, required
      - `function_id` string, uuid, required
      - `path_prefix` string, required
      - `strip_prefix` boolean, required
      - `created_at` string, date-time, required
      - `updated_at` string, date-time, required
    - `frontend_routes` FrontendRoute[], required: Paths on this frontend served by another frontend in the project, ordered from most to least specific. Function and Frontend routes share one path namespace and the 64-route limit.
      - `id` string, uuid, required
      - `project_id` string, uuid, required
      - `frontend_id` string, uuid, required: The Frontend whose hostnames serve the route
      - `target_frontend_id` string, uuid, required: The mounted Frontend
      - `path_prefix` string, required
      - `created_at` string, date-time, required
      - `updated_at` string, date-time, required
    - `last_deployed_at` string, date-time: Recorded completion time of the most recent deploy or redeploy with status active. Omitted when no such deployment has a recorded completion time. Site traffic, pending deployments, degraded deployments, failed deployments, and deletion do not change this value.
    - `last_invoked_at` string, date-time
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, required
  - `page` integer, required: Current page number (1-indexed)
  - `limit` integer, required: Number of items per page
  - `total` integer, required: Total number of items across all pages
  - `has_more` boolean, required: Whether there are more pages available
  - `next` string: URL path to next page (offset pagination only; present if has_more is true)
  - `next_cursor` string: Opaque cursor for the next page (cursor pagination only; present if has_more is true)
  - `prev_cursor` string: Opaque cursor for the previous page (cursor pagination only; present when a previous page exists). Send as `ending_before`.

## Other responses

- `400`: Bad request - invalid project identifier
- `401`: Unauthorized - invalid or missing token
- `403`: Forbidden - project ownership required
- `404`: Project not found
- `500`: Internal server error

## Changes

- **2026-10-26** `4b0676e06128`: 1 info
  - added the required property `data/items/frontend_routes` to the response with the `200` status
- **2026-10-14** `d8d8f53d847b`: 1 info
  - added the optional property `data/items/last_deployed_at` to the response with the `200` status
- **2026-10-07** `23e7875e7c4c`: 4 info
  - the endpoint scheme security `ProjectAccessToken` was added to the API
  - added the optional property `data/items/declared_variables` to the response with the `200` status
  - added the optional property `data/items/variable_scope` to the response with the `200` status
  - added the required property `data/items/function_routes` to the response with the `200` status
- **2026-09-19** `3a6f365f3f35`: 7 breaking, 24 info
  - added the new path request parameter `id`
  - the response's body type changed from no type to `object` for status `200`
  - the response's body type changed from no type to `object` for status `400`
  - the response's body type changed from no type to `object` for status `401`
  - …27 more
- **2026-08-27** `bb44e98aba2e`: 16 breaking, 15 warning
  - the response's body type changed from `object` to no type for status `200`
  - the response's body type changed from `object` to no type for status `400`
  - the response's body type changed from `object` to no type for status `401`
  - the response's body type changed from `object` to no type for status `403`
  - …27 more

[Operation history](https://skmtc.dev/kong/apis/volcano-api/changes/projects/:id/frontends/get.md)

---

[API](https://skmtc.dev/kong/apis/volcano-api.md) - [All operations](https://skmtc.dev/kong/apis/volcano-api/llms.txt) - [OpenAPI document](https://skmtc.dev/kong/apis/volcano-api/revisions/84c4488f91e9?raw)
