Skip to main content

Goal

Validate a stream, run one synchronous check, then start async monitoring and read job status.

Prerequisites

Step 1: Validate Stream Liveness

If this fails, resolve URL issues first before starting jobs.

Step 2: Run One Immediate Check

The response includes:
  • triggered: boolean
  • explanation: model explanation
  • latency_ms: request latency

Step 3: Start Continuous Monitoring

You receive a job_id and status.

Step 4: Poll Job Status

Terminal statuses are completed, stopped, and failed.

Step 5: Stop Early (Optional)

What You Just Completed

  • Pre-flight URL validation
  • One synchronous condition check
  • One async monitoring job
  • Job lifecycle tracking via /jobs/{job_id}

Next Steps