UsageRail API
    • HTTP check
      • Check a request
        POST
    • Customers
      • Create a customer
        POST
      • Get a customer
        GET
      • Claim an email or external ID
        POST
      • Get a customer's usage
        GET
    • Keys
      • Create a key
        POST
      • Revoke a key
        DELETE
    • Billing
      • Change a customer's plan
        POST
      • Open Stripe Checkout
        POST
      • Adjust a prepaid balance
        POST
    • Portal
      • Create a portal sign-in link
        POST
    • Schemas
      • Error
      • CheckRequest
      • CheckResult
      • Consumer
      • Usage

    Usage

    {
        "days": 0,
        "retention_days": 0,
        "timezone": "string",
        "unit_mode": "string",
        "daily": [
            {
                "day": "2019-08-24",
                "requests": "string",
                "billable_requests": "string",
                "billable_units": "string"
            }
        ],
        "endpoints": [
            {
                "method": "string",
                "route": "string",
                "requests": "string",
                "billable_requests": "string",
                "billable_units": "string"
            }
        ]
    }
    Built with