Everything you need to integrate Venty4 in minutes.
Register at venty4.com/register. Your API key will appear on your dashboard immediately after signup.
Paste this once in your code, right after you call your AI. Every time your code runs, this will automatically log the call.
import requests # Paste this once, right after your AI call: requests.post( "https://venty4.com/api/log", headers={"X-API-Key": "your_api_key"}, json={ "caller_id": "my_app", # your app name "provider": "openai", # openai / anthropic / etc "model": "gpt-4o", # model name "input": prompt, # what you sent to the AI "output": response, # what the AI replied "duration_ms": 500, # response time in ms "input_tokens": 100, # optional "output_tokens": 200, # optional "cost": 0.002 # optional, USD } )
Login to your dashboard to search logs, filter by caller, verify the hash chain, and export to CSV.
Authenticate with your API key in the X-API-Key header.
| Field | Type | Required | Description |
|---|---|---|---|
| caller_id | string | required | Your app or service name |
| provider | string | required | AI provider (openai, anthropic...) |
| model | string | required | Model name (gpt-4o, claude...) |
| input | string | required | Prompt sent to the AI |
| output | string | required | AI response |
| duration_ms | integer | required | Response time in milliseconds |
| input_tokens | integer | optional | Input token count |
| output_tokens | integer | optional | Output token count |
| cost | float | optional | Cost in USD |
Free tier: 1,000 logs per day. Need more? Email us at annieyu0425@gmail.com
Your data is isolated and never shared. Read our privacy policy →