---
title: "Rebuild From Source"
method: POST
path: "/admin/rebuild-from-source"
tags: ["admin"]
---

# Rebuild From Source

`POST /admin/rebuild-from-source`

## Request

- Base URL: `https://api.zyberno.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.zyberno.com/admin/rebuild-from-source`
- Auth: none declared

Re-derive the working list from `data/source/sec_universe.json`.

Use this to:
  - Undo recent runtime deletions (SPACs/shells/bad-CIKs pruned by the
    EDGAR cycle-restart block) — every stock comes back with zeroed
    counters and gets re-attempted on the next cycle.
  - Pick up a fresh SEC universe just-committed via
    `scripts/refresh_sec_universe.py`.

Equivalent to running `scripts/rebuild_working_list.py` + reloading
the background service — but in-process and instant, no redeploy.

Note: a `flyctl deploy` also resets the working list to the bundled
version, so this endpoint is purely a convenience for skipping the
deploy cycle.

## Headers

- `x-admin-key` string

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/zyberno/apis/sec-edgar-financial-data-api.md) · [All operations](https://skmtc.dev/zyberno/apis/sec-edgar-financial-data-api/llms.txt) · [OpenAPI document](https://skmtc.dev/zyberno/apis/sec-edgar-financial-data-api/revisions/d453fad027b2?raw)
