Skip to main content
GET
/
v1
/
repo
/
{repo_name}
/
recipe
/
{bake_name}
/
recreation-plan
Get Recreation Plan
curl --request GET \
  --url http://localhost:8080/v1/repo/{repo_name}/recipe/{bake_name}/recreation-plan \
  --header 'Authorization: Bearer <token>'
{
  "base_model": "<string>",
  "steps": [
    {
      "step": 123,
      "action": "<string>",
      "resource_type": "<string>",
      "resource_name": "<string>",
      "dependencies": [
        "<string>"
      ],
      "config": {}
    }
  ],
  "total_steps": 123,
  "resources": {
    "prompts": [
      "<string>"
    ],
    "targets": [
      "<string>"
    ],
    "bakes": [
      {
        "bake_name": "<string>",
        "model_names": [
          "<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
bake_name
string
required

Query Parameters

user_id
string | null

User ID override (requires master API key)

Response

Successful Response

Recreation plan for a bake.

A complete step-by-step plan to recreate a bake, including all dependencies in the correct execution order. The plan is topologically sorted to ensure dependencies are created before dependents.

base_model
string
required

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

steps
RecreationPlanStep · object[]
required

Ordered list of steps to recreate the bake

total_steps
integer
required

Total number of steps

resources
RecreationPlanResources · object
required

Summary of all resources