{"version":"1.0","type":"rich","title":"Braze API Mockup for local dev","description":"This example shows a FastAPI-based mock server for the Braze user-tracking API, designed to support local development and testing. It defines a `/users/track/` endpoint that accepts POST requests, parses the incoming JSON body via FastAPI’s `Request.json()` method, and returns a fixed success response containing the count of processed attributes. The server also includes a root `/` endpoint returning a simple JSON greeting. The code includes commented-out options for randomly returning an error or forcing failures after a request threshold, though these are not active in the current behavior. Dependencies are FastAPI and Uvicorn, with the server run via `uvicorn main:app --reload`.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-f0617721b0716dc36c975cd1ae48abc7?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}