Documentation Index
Fetch the complete documentation index at: https://docs.bread.com.ai/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Recipe endpoints provide insights into model lineage and dependencies. They help you understand how bakes relate to each other, what resources are needed to recreate a bake, and visualize the complete model evolution tree.SDK Guide: For detailed SDK examples, use cases, and workflows, see the Model Lineage & Recipes guide in the SDK section.
Endpoints
Get Dependency Graph
Get the dependency graph for a specific bake. Returns all resources (bakes, targets, prompts) and their dependencies needed to recreate this bake, including parent bakes and all transitive dependencies. Endpoint:GET /v1/repo/{repo_name}/recipe/{bake_name}/dependency-graph
Request:
SDK Usage:
- TypeScript:
client.recipes.getDependencyGraph('my_bake', { repo_name: 'my_repo' }) - Python:
client.recipes.get_dependency_graph('my_bake', repo_name='my_repo')
Repository name
Bake name
200 OK
base_model:string- Base model namebakes:object- Dictionary of bake configstargets:object- Dictionary of target configsprompts:object- Dictionary of prompt names to file pathsedges:Array<[source_type, source_name, target_type, target_name]>- List of dependency edges
Get Recreation Plan
Get a step-by-step plan to recreate a bake, including all dependencies. The plan includes all prompts, targets, and bakes needed, in the correct execution order. Endpoint:GET /v1/repo/{repo_name}/recipe/{bake_name}/recreation-plan
Request:
SDK Usage:
- TypeScript:
client.recipes.getRecreationPlan('my_bake', { repo_name: 'my_repo' }) - Python:
client.recipes.get_recreation_plan('my_bake', repo_name='my_repo')
Repository name
Bake name
200 OK
base_model:string- Base model name (e.g., ‘Qwen/Qwen3-32B’)total_steps:number- Total number of stepssteps:Array<RecreationPlanStep>- Ordered list of steps to recreate the bakestep:number- Step numbertype:string- Resource type: ‘prompt’, ‘target’, or ‘bake’name:string- Resource nameconfig:object- Resource configuration
resources:object- Summary of all resourcesprompts:Array<string>- List of prompt namestargets:Array<string>- List of target namesbakes:Array<BakeResource>- List of bake resources with model names
Get Repo Tree
Get the complete model lineage tree for a repository. Returns all bakes in the repository with their parent-child relationships, status, checkpoints, and full model paths. Endpoint:GET /v1/repo/{repo_name}/tree
Request:
SDK Usage:
- TypeScript:
client.repo.getTree('my_repo') - Python:
client.repo.get_tree('my_repo')
Repository name
200 OK
base_model:string- Base model name (e.g., ‘Qwen/Qwen3-32B’)bakes:object- Dictionary of all bakes in the repository, keyed by bake name- Each bake has:
status:string- Bake status: ‘complete’, ‘failed’, ‘running’, ‘pending’, or ‘unknown’model_name:Array<string>- List of full model paths with checkpoints (e.g.,["user/repo/bake_name/checkpoint"])checkpoints:Array<number>- List of checkpoint numbersconfig:object- Bake configuration (bake.yml)
- Each bake has:
edges:Array<[source_type, source_name, target_type, target_name]>- List of parent-child edges representing model lineage relationships