---
title: "List Sections"
method: GET
path: "/v1/projects/{project_id}/context/sections"
tags: ["project-context"]
---

# List Sections

`GET /v1/projects/{project_id}/context/sections`

## Request

- Base URL: `https://api.sonenta.dev`
- URL: `https://api.sonenta.dev/v1/projects/{project_id}/context/sections`
- Auth: none declared

The context sections, ordered by position (Viewer+). LIGHT — no bodies, so
the list stays cheap in tokens; fetch a single section for its body. Pass
`language` to get the effective context for a target language in one call.

## Path parameters

- `project_id` string, required

## Query parameters

- `language` string, nullable: Return only sections that APPLY to this target language — the all-languages sections PLUS this code's (the effective context).

## Response `200`

Successful Response

- SectionsListOut
  - `v` integer
  - `items` SectionLightOut[], required
    - `uuid` string, required
    - `title` string, required
    - `type` string, required
    - `languages` string[], required
    - `position` integer, required
    - `updated_at` string, date-time, nullable
  - `total` integer, required

## Other responses

- `422`: Validation Error

---

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