The CLIP Interrogator exposes a simple API to interact with the extension which is documented on the /docs page under /interrogator/* (using --api flag when starting the Web UI) ...