# List project relationships

Canonical page: https://docs.ovok.com/api/sub-project/list-project-relationships-3

`GET /v1/sub-project`

Returns where your current project sits in the project hierarchy: its parent and its direct children.

**Auth:** bearer token of a project admin (`ProjectMembership.admin`).
**Scope:** the caller's project (from the token).

## Behaviour

- `parentProjectId` is `null` for a project with no parent.
- `subProjectIds` lists direct children only.
- The result is cached for up to 5 minutes. Creating or deleting a child through Ovok clears the cache; other changes can take that long to show.

## Example

```bash
curl -X GET 'https://api.sandbox.ovok.com/v1/internal/sub-project' \
  -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE3NjcyNjg4MDAsImV4cCI6MTc2NzI3MjQwMH0.Ql3B_ztDvctlyZ2z0vp4sl3ExXRQGkzmxdmTAqxNzZk'
```
