{"uid":"cap_hAckuUTAge_zZXp55kQOM","slug":"brainiac-physical-security-access-tailgating-signal-detect-c946b775","name":"BRAINIAC Physical Security Access Tailgating Signal Detect","description":"Pay-per-call APIs for AI agents: OFAC sanctions screening, compliance checks, token security, and Base chain data via x402. No account. Fixed USDC price. MCP-ready.","url":"https://www.brainiac.software/api/v1/physical-security/access-tailgating-signal-detect?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"csv":{"type":"string","maxLength":200000},"asOf":{"type":"string","maxLength":40},"file":{"type":"object","required":["fileBase64"],"properties":{"role":{"type":"string","maxLength":80},"filename":{"type":"string","maxLength":180,"minLength":1},"mediaType":{"enum":["text/plain","text/csv","application/json","application/octet-stream"],"type":"string"},"fileBase64":{"type":"string","maxLength":12000000,"minLength":1}},"additionalProperties":false},"json":{"type":"string","maxLength":200000},"text":{"type":"string","maxLength":200000},"files":{"type":"array","items":{"type":"object","required":["fileBase64"],"properties":{"role":{"type":"string","maxLength":80},"filename":{"type":"string","maxLength":180,"minLength":1},"mediaType":{"enum":["text/plain","text/csv","application/json","application/octet-stream"],"type":"string"},"fileBase64":{"type":"string","maxLength":12000000,"minLength":1}},"additionalProperties":false},"maxItems":20},"events":{"type":"array","items":{"type":"object","properties":{"at":{"type":"string","maxLength":40},"id":{"type":"string","maxLength":80},"unit":{"type":"string","maxLength":40},"zone":{"type":"string","maxLength":120},"value":{"type":"number","maximum":1000000000,"minimum":-1000000000},"doorId":{"type":"string","maxLength":120},"labels":{"type":"array","items":{"type":"string","maxLength":80},"maxItems":40},"source":{"type":"string","maxLength":200},"userId":{"type":"string","maxLength":120},"badgeId":{"type":"string","maxLength":120},"message":{"type":"string","maxLength":4000},"outcome":{"enum":["granted","denied","forced","held","alarm","clear","unknown"],"type":"string"},"baseline":{"type":"number","maximum":1000000000,"minimum":-1000000000},"building":{"type":"string","maxLength":120},"cameraId":{"type":"string","maxLength":120},"category":{"enum":["sensor","door","perimeter","camera","alarm","iot","access","other"],"type":"string"},"deviceId":{"type":"string","maxLength":120},"severity":{"type":"string","maxLength":40},"direction":{"enum":["in","out","unknown"],"type":"string"},"eventType":{"type":"string","maxLength":120},"threshold":{"type":"number","maximum":1000000000,"minimum":-1000000000},"deviceType":{"type":"string","maxLength":80},"relatedEventIds":{"type":"array","items":{"type":"string","maxLength":80},"maxItems":100}},"additionalProperties":false},"maxItems":20000},"anomalyStdev":{"type":"number","maximum":10,"minimum":1},"offlineMinutes":{"type":"number","maximum":10080,"minimum":1},"tailgateSeconds":{"type":"number","maximum":600,"minimum":1},"doorWindowMinutes":{"type":"number","maximum":10080,"minimum":1},"correlationWindowMinutes":{"type":"number","maximum":1440,"minimum":1}}},"responseSchema":{"type":"json","example":{"items":[{"id":"tailgate-lobby-A1","title":"Possible tailgating signal","lastAt":"2026-11-04T20:00:05.000Z","source":"Caller-supplied access/sensor events; local timing rules","status":"signal","firstAt":"2026-11-04T20:00:00.000Z","reasons":["ungated_second_passage","motion_after_single_badge","people_count_gt_badges"],"detector":"access-tailgating-signal-detect","evidence":[{"at":"2026-11-04T20:00:00.000Z","fact":"access; door=lobby; zone=lobby; outcome=granted","eventId":"A1","inference":"Tailgating is inferred from timing correlation, not visually confirmed.","confidence":"medium"},{"at":"2026-11-04T20:00:04.000Z","fact":"passage; door=lobby; zone=lobby","eventId":"A2","inference":"Tailgating is inferred from timing correlation, not visually confirmed.","confidence":"medium"},{"at":"2026-11-04T20:00:05.000Z","fact":"motion; device=pir-lobby; zone=lobby; value=2people","eventId":"M1","inference":"Tailgating is inferred from timing correlation, not visually confirmed.","confidence":"medium"}],"confidence":"medium","observedFacts":["Second door passage within 8s without badge/user id.","1 motion/occupancy event(s) near a single badge grant.","Occupancy/people-count ≥2 near a single grant."],"inferredThreat":"Access plus nearby motion/second passage may indicate tailgating.","relatedEventIds":["A1","A2","M1"],"confirmedIncident":false}],"status":"detected","findings":[{"code":"tailgating","kind":"conflict","detail":"Tailgating indicators: ungated_second_passage, motion_after_single_badge, people_count_gt_badges (confirmedIncident=false).","subject":"lobby"}],"checkedAt":"2026-11-04T21:00:00.000Z","itemCount":1,"limitations":["Physical/IoT event logs and telemetry are copied only from caller-supplied fields. Physical security systems are not contacted and devices are never controlled.","Temporal correlation and anomaly rules run locally over supplied records. Missing values are not invented.","Observed facts are separated from inferred threat hypotheses. Anomalies are not labeled confirmed physical incidents without sufficient multi-signal evidence.","Configurable windows/thresholds apply only when supplied; otherwise documented defaults are used.","No paid physical-security feed is used and no API key is required."],"apiKeyRequired":false,"networkAccessed":false,"tailgateSeconds":8,"deviceControlled":false,"paidProviderUsed":false,"physicalSystemConnected":false,"confirmedIncidentClaimed":false}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_sfdINgTX_ELYREUeKOKeb","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes access control and sensor event logs to detect potential tailgating incidents using temporal correlation and anomaly rules","exampleAgentPrompt":"Look at these access control events from our lobby door today and tell me if there are any tailgating signals — I have badge scan records showing one grant at 20:00:00 for user A1, then a second door passage at 20:00:04 without a badge, and a PIR sensor at pir-lobby showing 2 people at 20:00:05.","exampleUseCases":[{"title":"Corporate lobby tailgating audit","prompt":"I have a CSV export of all badge reader and motion sensor events from our headquarters lobby for the past 24 hours — can you run it through the tailgating detector and tell me which time windows show possible tailgating signals, with the confidence level and what evidence triggered each alert?"},{"title":"Secure server room access review","prompt":"We had a security review flagged for our server room on floor 3 — here are the JSON access logs for door SR-301 showing badge grants, door open/close events, and PIR sensor readings between 2pm and 6pm today. Check for any tailgating indicators and tell me if any are confirmed incidents or just signals."},{"title":"Multi-door perimeter monitoring","prompt":"I want to scan these access events from all five perimeter doors in building B for last Friday — the log has zone, doorId, userId, badgeId, outcome, and people-count fields. Flag any doors or zones where tailgating signals were detected and list the related event IDs so I can pull the camera footage."}],"resultDescription":"Returns a JSON object with a list of tailgating signal items, each containing an ID, title, first and last seen timestamps, status, confidence level, observed facts, inferred threat description, supporting evidence events with their own confidence and inference notes, related event IDs, and a confirmedIncident boolean. Also includes top-level findings with codes and details, a checkedAt timestamp, item count, and a limitations section clarifying that inferences are based on caller-supplied data and no physical systems are contacted.","failureModes":["Missing or malformed event timestamps cause timing correlation to fail","Events lacking doorId or zone fields reduce detection accuracy","Very small event windows with insufficient context produce low-confidence or no signals","Occupancy/people-count fields absent from events disable people-count-based detectors","Input exceeds maxLength limits causing request rejection","No tailgating signals found returns empty items array with status not-detected"],"whenToPreferThis":"Use this endpoint when you have structured access control event logs (badge reads, door open/close, motion/PIR sensors, people-count data) and need to identify potential tailgating or piggybacking incidents without integrating a full physical security platform. It is well-suited for post-hoc log analysis, security audits, and agent-driven security workflows where you can supply raw event data and want actionable tailgating signals with supporting evidence and confidence scores, all without an ongoing subscription or account.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-12T12:37:02.076Z","isFirstParty":false,"canonicalSlug":"brainiac-physical-security-access-tailgating-signal-detect-c946b775"}