Usage Meters

Our Commitment

MountDev Ops is built security first. Your business data belongs to you, and you can export all of it at any time. We never use analytics or tracking of any kind inside MountDev Ops.

What a Usage Meter Is

A usage meter is one thing you count for your clients, such as reports run, lookups made, or credits spent. You describe it once, and it counts each client's use, can stop the next use when a limit is reached, and never charges anything.

A meter counts a use of your own service by your own client. It is not a limit on your workspace: what your workspace uses stays included and is never stopped, slowed, or blocked (Usage).

Nothing here is made for one kind of business. Any account sets up its own meters the same way, and its own AI agent can help.

A client with a workspace sees its own meters under Usage on its Services page. A client at 80 percent or its limit can ask you for more.

The other tools for counting are your own workflow, with the step Use a Client's Meter, and your own API key.

On the Screen

Usage Meters is in the Subscriptions menu, after Services You Sell and before Settings. It lists your meters with their state, how often they start over, the default limit, and how many clients are near the limit (80 percent) or at it.

Add a Meter opens a pop up with:

  1. Label. What you count, such as Reports Run, up to 80 characters.
  2. What a client sees under it. One plain sentence, up to 240 characters.
  3. Unit, one and Unit, many. The word in the singular and the plural, such as report and reports.
  4. Starts over. Every month starts fresh on the first of each month in UTC, the same as Usage, and keeps the earlier months. In total never starts over.
  5. Default limit. A whole number. Leave it empty and the meter only counts and never stops anything.

See What a Client Sees is shown under the fields as you type: the words a client will read, with made-up numbers. A meter that has counted a use keeps how it starts over, so make a new meter if you need the other kind.

A meter's page (Clients on its row) shows a row for each client with a count or a limit of its own: used, limit, how many are left, Running low from 80 percent, Limit reached at the limit, and the date of the last use. Type 2 or more letters to search by name.

  • Set Limit gives one client its own limit, which replaces the default for that client: for this month only, or from now on. It lets more use through and charges nothing, so it is for people who may set limits (action subscriptions.meters.limit).
  • Add a Use is for a correction. It takes a quantity and a short reason, counts by the same rules as any use, and keeps the reason in your Activity Log. The reason is never shown to a client (action subscriptions.meters.add_use).

What a Client Sees

Each client with a workspace is sent only its own meters, in the message you already send it with its services: its count, its limit, when it starts over, and its last 10 uses (a date and a quantity each). It sees a bar and a line such as "42 of 50 Reports Run used this month. 8 left. Starts over on December 1.", Running low from 80 percent and Limit reached at the limit. A meter with no limit says "42 Reports Run this month." The client's owners and admins get one notice on their bell at 80 percent and one at the limit, once each for each meter and month, and never an email. See Usage Meters in the client's docs.

  • A client is sent only meters that are On and that it has a count or a limit of its own for. A Draft or Off meter shows nothing.
  • It is sent at most once a minute for each client, and at once when a use reaches the limit or you set a limit. A month meter's new numbers are sent on the first of the month in UTC.
  • A client with no workspace gets no screen. It is still counted and limited.
  • You never read the client's records, settings, or people, and no client sees another's meters.

When a Client Asks for More

A client with the permission to ask sees Ask for More at 80 percent or at its limit, and sends one request with an optional sentence of up to 300 characters. It arrives on the same card a refused use makes, so there is one card for each client, meter, and period, with how many uses were refused and what the client asked. The card is under Waiting for You on Usage Meters, and on Needs You Today for the people who may set limits (words and numbers only: never what the client typed).

  • Raise the Limit takes a new whole number, more than what is already used, for this month only or for this client from now on (action subscriptions.meters.answer). It lets the next use through. It changes nothing already counted, does not run a use that was stopped, and charges nothing. The client is sent its new limit at once.
  • Leave It closes the card and keeps the limit (the same action). A refusal after Leave It adds to no new card for that month.
  • Only people who may set limits see the cards and answer them (subscriptions.meters_limit, subscriptions.meters.asks). An AI agent never reads what a client typed and never answers.

Draft, On, and Off

A new meter is a Draft, and so is every one your AI agent saves. A Draft or Off meter counts nothing, refuses every use with "This meter is not turned on, so nothing was counted.", and shows nothing to any client.

Turn On shows a card first with exactly what clients will see, and a person says yes. A change by a person applies at once. A change by your AI agent to a meter that is On waits for a person, with the before and after. A meter is never deleted: Turn Off keeps every count and use, and you can turn it on again.

Counting a Use

One action counts: subscriptions.meters.use. It takes the meter, the client company, a quantity (a whole number from 1 to 1,000,000), and a reference of up to 80 letters, numbers, and the characters : _ . -. The reference is yours and is unique for the meter and the client, so a retry of the same reference returns the first answer and counts nothing twice.

The answer says whether the use is allowed, plus how many are used, the limit, and how many are left.

  • A use is allowed when the meter is On and there is no limit, or the count plus the quantity is not more than the limit.
  • A use that would go over the limit is refused whole. Nothing is counted, and the answer says how many are left.
  • The check and the count happen in one step, so two uses at the same moment cannot both take the last one.
  • A refused use makes one card per client and period on Needs You Today for the people who may set limits, with a count of how many uses were refused. Raising the limit settles it. The use that was stopped is not run again by itself.
  • Counting and refusing never charge, never email anyone, and never call a payment service. Only Invoices charges.

Counting From a Workflow

Use a Client's Meter is a step in the Action Catalog. It takes the meter, the client company, a quantity (1 if left out), and a reference. Left out, the reference is made from the run and the step, so a retried step counts nothing twice. Its answer is allowed (yes or no), used, limit, left, a reason (empty, limit, or not_on), and a plain message. A test run counts nothing: it only says whether the use would be allowed. The step has no flag, because it never charges or emails anyone.

The step counts and answers. It does not stop anything by itself. Your workflow stops the use by ending the run when allowed is no. Use three steps:

  1. Use a Client's Meter with its id, for example meter.
  2. A Condition on steps.meter.allowed being yes. Then go to your work. Otherwise go to end.
  3. Your work, which only runs when the use was allowed.

When the use is refused, nothing is counted, the run ends at the Condition, and the card on Needs You Today is made as for any refused use.

Counting With an API Key

A key counts a use with POST /account/api/v1/actions/subscriptions.meters.use and the body { "meter": "...", "company_id": 123, "quantity": 1, "ref": "your-own-reference" }. The answer is the same as the step's. The key must be an admin level key, because counting is held by owners and admins. A member level key is refused, and so is a key with No access to Subscriptions. A key can count and nothing else here: it cannot set a limit, add a use for a correction, or see client names. Reading counts, and everything an AI agent does, are as described below.

Who Can Do What

PermissionWhat it allowsWho has it at first
Set up usage meters and turn them onAdd and change meters, turn them on or off, see countsOwners and admins, or anyone whose role allows it
Count a client's use of a meter (subscriptions.meters_use)Count a use, and Add a Use for a correctionOwners and admins, or anyone whose role allows it
Set a client's limit and say yes to a request for more (subscriptions.meters_limit)Set or raise a limit for one clientOwners and admins, or anyone whose role allows it

Your AI Agent and Usage Meters

Your own AI agent can read your meters and counts and save meters, through five tools. It never counts a use, sets or raises a limit, or answers a request.

ToolWhat it does
usage_meters_list (action subscriptions.meters.list)The meters, with state, unit, period, default limit, and how many clients are near or at the limit
usage_meter_save (action subscriptions.meters.save)Add a meter (always a Draft) or change one. A change to a meter that is On waits for a person
usage_meter_enable (action subscriptions.meters.enable)Turn a meter off now, or ask to turn it on, which waits for a person
usage_meter_counts (action subscriptions.meters.counts)Counts and limits for each client and period, one page, numbers only
usage_meter_check (action subscriptions.meters.check)Whether a use of a given size would be allowed for a client, counting nothing

The page of clients with names and last uses (action subscriptions.meters.clients) is for people only.

Export and Privacy

Meters, limits, counts, uses, and requests are in Export Everything on their own sheets. A meter keeps only the counts you recorded yourself. It never reads a client's records, settings, or people, and no other client ever sees any of it.

Where to Find It

Subscriptions, then Usage Meters. Owners and admins see it.

!The Usage Meters page.

!The Usage Meters page, in dark mode.

!The Usage Meters page, on a phone.

!The Usage Meters page, on a phone in dark mode.