Dokumentation
IntegrationAPI Reference

API Reference

Endpoint

GET https://noisegate.ai/api/v1/filters

Authentication

Include your API key in the Authorization header:

Authorization: Bearer ng_live_xxxxxxxxxxxx

Query Parameters

ParameterTypeDefaultDescription
categoriesstringallComma-separated filter categories
minConfidencenumber0.5Minimum confidence threshold (0-1)
includeCustombooleantrueInclude your custom patterns

Categories

  • BROWSER_EXTENSION — Errors from browser extensions
  • THIRD_PARTY_SCRIPT — Third-party script errors
  • BOT_TRAFFIC — Bot and crawler noise
  • NETWORK_ISSUE — Network-related errors
  • KNOWN_LIBRARY — Known library bugs
  • OTHER — Miscellaneous patterns

Response Format

{
  "patterns": [
    {
      "id": "sig_abc123",
      "pattern": "ResizeObserver loop",
      "category": "BROWSER_EXTENSION",
      "confidence": 0.95
    },
    {
      "id": "custom_xyz789",
      "pattern": "MyApp: Expected error",
      "category": "OTHER",
      "confidence": 1.0
    }
  ]
}

Response Fields

FieldTypeDescription
patternsarrayList of filter patterns
patterns[].idstringUnique pattern identifier
patterns[].patternstringThe match pattern (case-insensitive substring)
patterns[].categorystringPattern category
patterns[].confidencenumberConfidence score (0-1)

Example Requests

Basic request

curl -H "Authorization: Bearer ng_live_xxxx" \
  "https://noisegate.ai/api/v1/filters"

Filter by category

curl -H "Authorization: Bearer ng_live_xxxx" \
  "https://noisegate.ai/api/v1/filters?categories=BROWSER_EXTENSION,BOT_TRAFFIC"

High confidence only

curl -H "Authorization: Bearer ng_live_xxxx" \
  "https://noisegate.ai/api/v1/filters?minConfidence=0.9"

Exclude custom patterns

curl -H "Authorization: Bearer ng_live_xxxx" \
  "https://noisegate.ai/api/v1/filters?includeCustom=false"

Caching

Responses include cache headers:

Cache-Control: public, max-age=300

Patterns are stable and change infrequently. We recommend caching for 5-15 minutes client-side.

Error Responses

401 Unauthorized

{ "error": "Missing or invalid Authorization header" }
{ "error": "API key required" }
{ "error": "Invalid API key" }

Rate Limits

  • 1000 requests/minute per API key
  • Cached responses don't count against limits
  • Use client-side caching to stay well under limits