---
title: "Get the accessible root project for a repository project"
method: GET
path: "/v1/projects/{projectId}/root"
tags: ["Projects"]
---

# Get the accessible root project for a repository project

`GET /v1/projects/{projectId}/root`

Returns the root project for the same repository, preferring the same workspace. The result is null when no root project is accessible.

## Path parameters

- `projectId` string, uuid, required

## Headers

- `Authorization` string

## Response `200`

Default Response

- object
  - `links` object, required
    - `self` string, uri, required
  - `data` object, required
    - `id` string, uuid, required
    - `type` 'project-root', required
    - `attributes` object, required
      - `rootProjectId` string, uuid, nullable, required

## Other responses

- `401` — Unauthorized
- `403` — Default Response
- `404` — Not Found
- `500` — Internal Server Error

## Changes

- **2026-10-07** `9a8fc7f1fea0` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/tessl/apis/tessl-api/changes/v1/projects/:projectId/root/get.md)

---

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