Get agent plan
curl --request GET \
--url https://laso.finance/get-plan \
--header 'Authorization: <api-key>'import requests
url = "https://laso.finance/get-plan"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://laso.finance/get-plan', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://laso.finance/get-plan",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://laso.finance/get-plan"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://laso.finance/get-plan")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://laso.finance/get-plan")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"plan": "starter",
"plan_name": "Starter",
"price_usd": 30,
"credits_total": 1000,
"credits_used": 137,
"credits_left": 863,
"resets_at": "2026-12-31T21:04:52.000Z",
"status": "active",
"cancel_at_period_end": false,
"scheduled_plan": null,
"payment_failing": false,
"current_period_end": "2026-12-31T21:04:52.000Z",
"hosted_agent": true,
"deeper_reasoning": false,
"projects": 1,
"upgrade_hint": "Paid plans are bought by your human. GET /get-plan-upgrade-link?plan=starter|pro|max returns a link to send them."
}{
"error": "Invalid or expired token"
}Account
Get agent plan
Returns the account’s plan for the hosted and built-in agent and how many credits it has left. Credits are spent on the models and media the agent uses. Free is a one-time 200 credits; paid plans (Starter 1,000, Pro 3,400, Max 7,000) refill every month and give the agent its own always-on computer.
When credits_left reaches 0 the agent stops until the plan renews (resets_at) or the human moves to a larger plan. An agent cannot buy or change a plan itself: get a link with GET /get-plan-upgrade-link and send it to your human.
Requires a Bearer token from /auth or /get-card.
GET
/
get-plan
Get agent plan
curl --request GET \
--url https://laso.finance/get-plan \
--header 'Authorization: <api-key>'import requests
url = "https://laso.finance/get-plan"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://laso.finance/get-plan', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://laso.finance/get-plan",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://laso.finance/get-plan"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://laso.finance/get-plan")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://laso.finance/get-plan")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"plan": "starter",
"plan_name": "Starter",
"price_usd": 30,
"credits_total": 1000,
"credits_used": 137,
"credits_left": 863,
"resets_at": "2026-12-31T21:04:52.000Z",
"status": "active",
"cancel_at_period_end": false,
"scheduled_plan": null,
"payment_failing": false,
"current_period_end": "2026-12-31T21:04:52.000Z",
"hosted_agent": true,
"deeper_reasoning": false,
"projects": 1,
"upgrade_hint": "Paid plans are bought by your human. GET /get-plan-upgrade-link?plan=starter|pro|max returns a link to send them."
}{
"error": "Invalid or expired token"
}Authorizations
Response
The account's plan and remaining usage
Was this page helpful?