{"uid":"cap_1b3EUSa3B9zLDns02GdZg","slug":"rqm-signal-gate-validate-signal-capture-against-metric-rules-96449b2f","name":"RQM Signal Gate — Validate Signal Capture Against Metric Rules","description":"Problem: Accept or reject this bounded signal capture against the caller-supplied metric rules and return every measurement and violation. Input: JSON with sample rate hz, channels, rules. Result: measurements, violations and checksummed artifacts. Limits: maximum artifact bytes: 2097152, maximum channels: 8, maximum request bytes: 1048576, maximum samples per channel: 1024, maximum total artifact bytes: 6291456, maximum total samples: 8192, timeout seconds: 8. Bounded deterministic reference pr","url":"https://api.rqm-relay.com/v1/capabilities/gate-signal-capture-v1/run","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"object","title":"GateSignalCaptureRequest","required":["sample_rate_hz","channels","rules"],"properties":{"rules":{"type":"array","items":{"type":"object","title":"SignalGateMetricRule","required":["rule_id","channel_id","metric"],"properties":{"metric":{"enum":["sample_count","sample_rate_hz","duration_seconds","minimum","maximum","mean","rms","standard_deviation","peak_to_peak","frequency_resolution_hz","nyquist_frequency_hz","dominant_frequency_hz","dominant_amplitude"],"type":"string","title":"Metric"},"maximum":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Maximum","default":null},"minimum":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Minimum","default":null},"rule_id":{"type":"string","title":"Rule Id","pattern":"^[A-Za-z0-9._-]+$","maxLength":64,"minLength":1},"channel_id":{"type":"string","title":"Channel Id","maxLength":64,"minLength":1}},"additionalProperties":false},"title":"Rules","maxItems":32,"minItems":1},"channels":{"type":"array","items":{"type":"object","title":"SignalChannelRequest","required":["channel_id","samples"],"properties":{"role":{"enum":["signal","i","q"],"type":"string","title":"Role","default":"signal"},"samples":{"type":"array","items":{"type":"number"},"title":"Samples","maxItems":1024,"minItems":16},"channel_id":{"type":"string","title":"Channel Id","pattern":"^[A-Za-z0-9._-]+$","maxLength":64,"minLength":1}},"additionalProperties":false},"title":"Channels","maxItems":8,"minItems":1},"signal_kind":{"enum":["scalar","multichannel","iq"],"type":"string","title":"Signal Kind","default":"multichannel"},"sample_rate_hz":{"type":"number","title":"Sample Rate Hz","maximum":1000000000,"exclusiveMinimum":0}},"additionalProperties":false},"quoteId":{"type":"string","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Obtain a fresh quote from POST /v1/quote for this capability; never reuse an example quote."},"idempotencyKey":{"type":"string","maxLength":200,"minLength":8,"description":"A unique key for a new purchase; retain it unchanged for every retry."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.007","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.007/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.007","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.007","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_xpdWKb9WY1QnLLsepHhSq","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.007","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Accepts a bounded multi-channel signal capture, evaluates every channel against caller-supplied metric rules (e.g. RMS, peak-to-peak, dominant frequency), and returns all measurements plus any rule violations with checksummed artifacts.","exampleAgentPrompt":"I have 8 seconds of multichannel sensor data sampled at 44100 Hz — can you run it through the signal gate, checking that RMS on channel 'ch1' stays between 0.01 and 0.9 and dominant frequency on 'ch2' stays under 2000 Hz, and tell me which rules pass or fail along with all the measurements?","exampleUseCases":[{"title":"Audio quality gate for recording pipeline","prompt":"I've captured a stereo audio signal sampled at 48000 Hz and need to verify that both channels have an RMS above 0.05, peak-to-peak below 1.9, and that the dominant frequency on the left channel is between 80 and 8000 Hz — can you run the signal gate and tell me which rules are violated?"},{"title":"RF IQ capture compliance check","prompt":"I have an IQ signal pair sampled at 1000000 Hz and need to confirm that the I channel's dominant amplitude is above 0.1 and the dominant frequency stays below 500000 Hz — please gate the capture and return all the measurements and any violations."},{"title":"Vibration sensor threshold monitoring","prompt":"I've recorded 512 samples per channel from 4 vibration sensors at 10000 Hz and need to check that RMS on every channel is below 0.5 and standard deviation is under 0.2 — can you run the signal gate and give me the full measurement breakdown and flag any channels that fail?"}],"resultDescription":"Returns a structured response containing per-channel measurements (sample count, sample rate, duration, min, max, mean, RMS, standard deviation, peak-to-peak, frequency resolution, Nyquist frequency, dominant frequency, dominant amplitude) alongside a list of rule violations (which rule_id fired, on which channel, and the measured vs allowed value), plus checksummed artifact references for the processed capture.","failureModes":["Exceeding 8 channels returns a validation error","More than 1024 samples per channel is rejected","Request body over 1 048 576 bytes is rejected","Artifact output exceeding 2 097 152 bytes per artifact or 6 291 456 bytes total is rejected","Requests exceeding the 8-second timeout return a timeout error","Invalid rule_id or channel_id patterns (non-alphanumeric/dot/underscore/hyphen) return a schema validation error","Fewer than 16 samples per channel is rejected","Stale or reused quoteId returns a payment error"],"whenToPreferThis":"Choose this endpoint when you need deterministic, bounded validation of signal captures against explicit metric rules with full measurement output and checksummed artifacts. It is purpose-built for signal quality gating workflows (audio, RF, sensor, IQ) where you need both pass/fail verdicts and the underlying statistics in one call. Prefer it over generic analytics when rule-based compliance checking against signal metrics is the primary goal.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:33:55.058Z","isFirstParty":false}