Skip to content

Update from code changes: document false positive rate metrics API - #208

Open
mintlify[bot] wants to merge 1 commit into
mainfrom
mintlify/aa67cb17
Open

mintlify[bot] wants to merge 1 commit into
mainfrom
mintlify/aa67cb17

Conversation

@mintlify

@mintlify mintlify Bot commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Adds an API reference page for POST /metrics/false-positive-rate, which is now available to all authorized API callers.

Changes

  • New external-api/metrics-false-positive-rate page (OpenAPI-driven), added to the Metrics nav group
  • Covers slug / slugs (1–200, mutually exclusive), per-slug authorization, pooled total, byOrganization (null rate at 0 blocks), and byAssetType
  • Mentions the metrics_false_positive_rate MCP tool

Context

  • chainpatrol/chainpatrol-web#9033: False positive rate API accepts multiple org slugs, drops feature flag

Note

Low Risk
Documentation and navigation only; no runtime or API behavior changes in this repo.

Overview
Documents POST /metrics/false-positive-rate in the API Reference by adding an OpenAPI-backed page under the Metrics nav (via docs.json).

The new page explains how to query false-positive share for one org (slug, optional for org-scoped keys) or up to 200 orgs (slugs, mutually exclusive with strict per-slug access), how the date range relates to block time vs current reversal status, and the pooled total, byOrganization, and byAssetType response shape. It includes a curl example and notes parity with the MCP metrics_false_positive_rate tool.

Reviewed by Cursor Bugbot for commit 2805bf7. Bugbot is set up for automated code reviews on this repo. Configure here.

@mintlify

mintlify Bot commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor Author

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
chainpatrol 🟢 Ready View Preview Oct 27, 2026, 1:10 PM

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved. Cursor Bugbot completed successfully with no findings, and this PR only adds documentation for POST /metrics/false-positive-rate plus a nav update. No approval policy requires human review.

Open in Web View Automation 

Sent by Cursor Approval Agent: Pull Request Router

This branch was successfully deployed

1 active deployment
staging — 2805bf79 Deployed Oct 27, 2026 by mintlify[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants