---
title: "Run Security Scan Now"
method: POST
path: "/api/admin/security-scan/run"
tags: ["Admin"]
---

# Run Security Scan Now

`POST /api/admin/security-scan/run`

## 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/security-scan/run`
- Auth: none declared

Manual "Run Scan Now" trigger for the admin panel. Runs synchronously
(skips the slow pip-audit dependency scan so this stays fast enough
for a single HTTP request -- the in-process 6-hourly job still runs
the full scan including dependency CVEs) and persists the result
like every other run, so it immediately shows up in get_security_scan
and in the history list too.

## Query parameters

- `token` string, 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)
