---
title: "Source Tree"
method: GET
path: "/v1/organizations/{organization_id}/sources/tree"
tags: ["Sources"]
---

# Source Tree

`GET /v1/organizations/{organization_id}/sources/tree`

## Request

- Base URL: `https://api.usealmanac.com`
- URL: `https://api.usealmanac.com/v1/organizations/{organization_id}/sources/tree`
- Auth: HTTP bearer

## Path parameters

- `organization_id` string, required

## Response `200`

Successful Response

- SourceTree
  - `folders` SourceFolder[], required
    - `name` string, required
    - `parent` string, nullable, required
    - `path` string, required
    - `source_count` integer, required
  - `sources` Source[], required
    - `created_at` string, required
    - `folder` string, required
    - `mime_type` string, nullable, required
    - `name` string, required
    - `original_filename` string, required
    - `path` string, required
    - `sha256` string, required
    - `size_bytes` integer, required
    - `source_id` string, required
    - `updated_at` string, required

## Other responses

- `400`: Invalid request

---

[API](https://skmtc.dev/usealmanac/apis/almanac-v1-api.md) - [All operations](https://skmtc.dev/usealmanac/apis/almanac-v1-api/llms.txt) - [OpenAPI document](https://skmtc.dev/usealmanac/apis/almanac-v1-api/revisions/2874ff06ed74?raw)
