---
title: "List all areas"
method: GET
path: "/api/analytics/areas"
tags: ["analytics"]
---

# List all areas

`GET /api/analytics/areas`

## Request

- Base URL: `https://codescene.io` (the document declares no server; this is the origin it was published from)
- URL: `https://codescene.io/api/analytics/areas`
- Auth: none declared

## Query parameters

- `pageSize` integer
- `pageToken` string
- `sort` string

## Response `200`

- object
  - `areas` object[], required
    - `id` integer, required
    - `name` string, required
    - `parentAreaId` integer, nullable
    - `areas` unknown[]
      - unknown
    - `projects` unknown[]
      - unknown
  - `nextPageToken` string: Opaque cursor for the next page. Absent on the last page or when all results fit in one page.

## Other responses

- `400`
- `401`
- `403`
- `404`

---

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