Lucius API

API Reference

Complete reference for the Lucius Billing API endpoints.

Browse the full API reference below. All endpoints require API key authentication.

Usage

Submit and query metered usage events.

How events are rated, including fee_amount and empty-metric contracts: Usage events.

Contracts

Create a test contract from a customer UUID, then list contracts and inspect pricing.

Metric catalog

Company event names for usage billing. Apply appends missing metrics and does not rename live slugs. Guide: Metric catalog.

Customers

Create a customer and store your own external_id. Only name is required. registration_number is optional and is not a join key. Guide: Customers.

Invoices

List and inspect generated invoices with line items. Create a draft for a billing period.