5-Minute Integration
Bill your AI agents in minutes
Three steps from zero to billing. No credit card. No complex setup. Just working code.
1
Get your API key
Takes about 10 seconds
Your API Key
—
2
Send your first meter event
Copy, paste, and run — works in seconds
Add this after your AI agent processes a request. Replace YOUR_API_KEY with the key from Step 1.
curl -X POST https://rev.polsia.app/v1/meter \\
-H "Authorization: Bearer YOUR_API_KEY" \\
-H "Content-Type: application/json" \\
-d '{
"agent_id": "agent-001",
"action": "chat",
"tokens": 3200,
"outcome": "success",
"customer_id": "customer-123"
}'
For more actions (completion, tool_call, image_gen, search) and outcome-based billing, see the full API docs.
3
Watch revenue roll in
Live usage, earnings, and agent performance
Revenue dashboard — live data after your first meter event
Revenue Dashboard →
Usage, earnings, agent breakdown, real-time events
→
You're billing. Now explore.
Deep-dive into what's possible with Rev