Skip to main content
GET
/
usage
List Usage Records
curl --request GET \
  --url https://mcp.closedloop.sh/usage \
  --header 'Authorization: <api-key>'
{
  "success": true,
  "data": {
    "usage": [
      {
        "id": "usage_123456789",
        "type": "call_analysis",
        "credits": 5,
        "description": "Analyzed 30-minute Gong call",
        "metadata": {
          "callDuration": 1800,
          "participants": 3,
          "integrationType": "gong"
        },
        "timestamp": "2025-01-27T10:30:00Z"
      }
    ],
    "pagination": {
      "page": 1,
      "limit": 20,
      "total": 150,
      "pages": 8
    }
  }
}

Authorizations

Authorization
string
header
required

API key for authentication (format: Bearer YOUR_API_KEY)

Query Parameters

page
integer
default:1

Page number for pagination

Required range: 1 <= x <= 1000
limit
integer
default:20

Number of usage records to return

Required range: 1 <= x <= 100

Response

List of usage records

success
boolean
Example:

true

data
object