---
title: "Webhook Rescan"
method: POST
path: "/api/v1/gateway/webhook/rescan"
tags: ["trust-gateway"]
---

# Webhook Rescan

`POST /api/v1/gateway/webhook/rescan`

## Request

- Base URL: `https://agentavow.com` (the document declares no server; this is the origin it was published from)
- URL: `https://agentavow.com/api/v1/gateway/webhook/rescan`
- Auth: none declared

Receive a rescan request from an external provider.

When MoltBridge detects a behavioral anomaly or another provider
detects a trust signal change, they POST here to trigger a fresh
security scan. The compound signal (behavioral anomaly + code
analysis) is more informative than either alone.

Example::

    POST /api/v1/gateway/webhook/rescan
    {"repo": "owner/repo", "reason": "behavioral_anomaly", "provider": "moltbridge"}

## Request body

- WebhookRescanRequest: Request from external provider to trigger a rescan.
  - `repo` string, required
  - `reason` string, required
  - `provider` string, required
  - `severity` string

## Response `200`

Successful Response

- WebhookRescanResponse: Response after processing a rescan webhook.
  - `accepted` boolean, required
  - `repo` string, required
  - `message` string, required
  - `scan_queued` boolean

## Other responses

- `422`: Validation Error

---

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