Check Once
Monitoring
Check Once
Perform a single synchronous condition check on a YouTube Live stream
POST
Check Once
Runs one immediate condition check and returns a single result.
Use this when you need a fast yes/no answer now, or when validating a condition before long-running jobs.
How It Differs From Async Jobs
POST /check-onceis synchronous and returns one result.POST /live-monitorcreates/streams a monitoring job.POST /live-digestcreates/streams summary windows.
Suggested Flow
- Validate stream liveness: Validate Stream
- Test condition wording:
POST /check-once - Move to monitor/digest only when wording is reliable.
Response Semantics
The response is immediate and includes:triggered: boolean decisionexplanation: human-readable reason tied to visible evidencelatency_ms: end-to-end request latencyframe_b64: optional frame payload when requested
- if
triggered = true, execute your success path - if
triggered = false, refine condition or continue monitoring workflow
Related
- Workflow selection: Choose Your Workflow
- Condition quality: Writing Reliable Conditions
- Continuous detection: Live Monitor
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Request for a single synchronous check.
YouTube Live URL or RTSP stream
Required string length:
1 - 500Condition to check
Required string length:
1 - 1000Include base64 frame in response
Input mode: 'frames' for single frame, 'clip' for video clip, 'hybrid' for frame+clip combined
Available options:
frames, clip, hybrid Duration of video clip in seconds (used when input_mode is 'clip' or 'hybrid')
Required range:
1 <= x <= 10