List revenues with pagination
Retrieve revenue records for the authenticated developer with pagination support.
GET
/v1/revenuesAuthorizationBearer <token>
In: header
Query Parameters
limit?number
Maximum number of results to return (default: 100, max: 1000)
offset?number
Number of results to skip (default: 0)
Response Body
application/json
curl -X GET "https://api.getlens.ai/v1/revenues"[
{
"id": "RZJZTK6owKxeMELu3cGWWc",
"key": "revenue-2024-01-001",
"amount": "99.99",
"source": "Manual",
"agentKey": "support-agent",
"customerKey": "customer-abc",
"goalId": "MNOPQR123456789012345678",
"description": "Payment received for service",
"recordedAt": "2024-01-15T10:30:00.000Z",
"createdAt": "2024-01-15T10:30:00.000Z"
}
]