Miosa.Tenant (Miosa v1.0.0)

Copy Markdown View Source

Current tenant info — plan limits and live usage counters.

Example

client = Miosa.client(System.fetch_env!("MIOSA_API_KEY"))

{:ok, plan} = Miosa.Tenant.current(client)
IO.inspect(plan["plan"])

Summary

Functions

Get the current tenant's plan, limits, and live usage counters.

Functions

current(client)

@spec current(Miosa.Client.t()) :: Miosa.Client.result(map())

Get the current tenant's plan, limits, and live usage counters.