---
title: "Get Sec 13F Debug"
method: GET
path: "/api/admin/sec-13f-debug"
tags: ["Admin"]
---

# Get Sec 13F Debug

`GET /api/admin/sec-13f-debug`

## Request

- Base URL: `https://api.xfinlab.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.xfinlab.com/api/admin/sec-13f-debug`
- Auth: none declared

2026-08-26 (debugging Berkshire's 0-holdings result -- confirmed
reproducible: 3 manual refreshes, Berkshire fails all 3 times while
Pershing Square/Scion succeed every time, so this is specific to
Berkshire's filing, not a flaky network issue). Runs the exact same
3-step pipeline services.sec_ownership_service.refresh_filer() uses
(submissions.json -> filing index.json -> info table XML), but
returns each intermediate result instead of just persisting/failing
silently, so we can see exactly which step breaks for this CIK.

## Query parameters

- `token` string, required
- `cik` integer, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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