---
title: "Load Demo Lineage Endpoint"
method: POST
path: "/api/v1/auth/preferences/onboarding/demo-lineage"
tags: ["user-preferences"]
---

# Load Demo Lineage Endpoint

`POST /api/v1/auth/preferences/onboarding/demo-lineage`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/api/v1/auth/preferences/onboarding/demo-lineage`
- Auth: none declared

Load demo lineage data for onboarding walkthrough.

TECH-778: Creates pre-built lineage nodes and edges for the demo asset,
allowing users to experience lineage features without uploading a manifest file.
The user clicks "Load Sample Lineage" and we handle everything on the backend.

Returns:
    Sync statistics (nodes_created, edges_created) or error if demo asset not found.

## Headers

- `Authorization` string

## Response `200`

Successful Response

- StandardResponse: Standard API response wrapper.
  - `success` boolean, required
  - `data` unknown
  - `message` string, nullable
  - `error` string, nullable
  - `meta` object, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/anomalyarmor/apis/anomalyarmor-api.md) · [All operations](https://skmtc.dev/anomalyarmor/apis/anomalyarmor-api/llms.txt) · [OpenAPI document](https://skmtc.dev/anomalyarmor/apis/anomalyarmor-api/revisions/51c755fb5d0b?raw)
