if you are looking to have simple checks on your requests you can use Portkey's guradrails that allow you to run async checks on your query and reponses LLM. you can find these in the guardrails section of the Portkey APP. This case for example could maybe use JSON validator and regex guardrails on your response.
here are the docs on to use guardrails:
https://portkey.ai/docs/product/guardrailsyou can run multiple calls using the API and check the output on the logs dashboard/track the status code of each request manually