Copy
Ask AI
LAGO_URL="https://api.getlago.com"
API_KEY="__YOUR_API_KEY__"
curl --location --request GET "$LAGO_URL/api/v1/billable_metrics/:code" \
--header "Authorization: Bearer $API_KEY"
This endpoint retrieves an existing billable metric that represents a pricing component of your application. The billable metric is identified by its unique code.