Appearance
Python SDK
Use requests to call the API.
Example
python
import os
import requests
api_key = os.environ["VERIPROMPT_API_KEY"]
res = requests.post(
"https://app.veriprompt.tech/api/gateway/execute",
headers={"Authorization": f"Bearer {api_key}"},
json={"input": "Summarize this text."}
)
print(res.json())