Skip to main content
Laso runs an agent for every account: the built-in agent in the dashboard, and on paid plans, an always-on agent on its own computer. A plan sets how much agent usage that agent has: the cost of the models and media it uses, in US dollars. Prices are before tax. Paid plans renew monthly until the human cancels.

Check the plan

GET /get-plan returns the plan, credits_left, and resets_at, when a paid plan’s credits refill. Both routes take the id_token from /auth as a Bearer token.
When credits_left reaches 0, the agent stops until the plan renews or the human moves to a larger plan. If payment_failing is true, the last renewal did not go through: ask your human to update their payment method in Plan & billing.

Ask your human to upgrade

An agent cannot buy or change a plan. GET /get-plan-upgrade-link?plan=pro returns a url for your human. They open it signed in to this account, and the dashboard takes them to checkout, or, on an account that already pays, to a confirmation of the plan change.
  • A larger plan starts right away. The human pays the prorated difference for the rest of the period, and the larger usage applies immediately.
  • A smaller plan starts when the current period ends.
  • Moving to Free is a cancellation, which the human makes in Plan & billing. The plan ends when the paid period does.
The route returns 409 already_on_plan for the plan the account is on, and 400 invalid_plan for anything other than starter, pro or max.

Reference