Skip to main content
GET
/
v1
/
repo
/
{repo_name}
/
tree
Get Repo Tree
curl --request GET \
  --url http://localhost:8080/v1/repo/{repo_name}/tree \
  --header 'Authorization: Bearer <token>'
{
  "base_model": "<string>",
  "bakes": {},
  "edges": [
    [
      "<string>"
    ]
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-User-Id
string | null

User ID override via header (requires master API key)

Path Parameters

repo_name
string
required

Query Parameters

user_id
string | null

User ID override (requires master API key)

Response

Successful Response

Complete model lineage tree for a repository.

Provides a full view of all bakes in the repository and their parent-child relationships, showing the complete model evolution tree.

base_model
string
required

Base model name (e.g., 'Qwen/Qwen3-32B')

bakes
Bakes · object
required

Dictionary of all bakes in the repository

edges
string[][]
required

List of parent-child edges: [source_type, source_name, target_type, target_name]