{"version":"1.0","type":"rich","title":"Genie Job Heartbeat","description":"This example monitors the runtime status of a Netflix Genie job by emitting an audible beep each time the job is confirmed to be running. It shows a continuous polling loop that checks the job’s state through the Genie REST API, specifically querying the `/api/v3/jobs` endpoint with a size limit of 100 results. The script uses `curl` to fetch the JSON response and `jq` to filter the job list for the target job ID and its current status, grepping for the string “RUNNING” to trigger the terminal bell via `tput bel`. The loop repeats at a user-defined interval until the job leaves the running state.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-4536b6c03b904d0ad23889cb48b3df9b?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}