Report client attributes
Your software already checks in with LaaSio on every lookup. It can bring along a few facts about itself: the engine version, the signature date, the OS, free disk space. LaaSio keeps each client’s latest value and shows you how your installed base is spread: which versions are still out there, how many clients run stale signatures, whether an ARM build is worth it.
This is a snapshot of your fleet, not a telemetry store: one current value per client and attribute, plus a nightly snapshot for the trend over time.
How it works
Section titled “How it works”- On your application’s page in the console, add the attributes you want to collect, each with a name and a type. Only declared attributes are stored, at most 10 per application, on every plan.
- Your software sends their values in the body of
POST /api/v1/lookup, withapp. - LaaSio stores each client’s latest values and answers exactly as the lookup does.
- Reports → Client Attributes shows how your clients are spread, and lists the clients behind every bar.
Attributes
Section titled “Attributes”name: the key your software sends, in snake_case (lowercase letters, digits and single underscores, starting with a letter), unique within the application.type: how values are read, checked and grouped (below).display_name: the label in the console. You can change it at any time.
The name and type are fixed once created. To rename or retype an attribute, delete it and add a new one. Deleting an attribute deletes every value stored for it, and its trend history.
| Type | Your software sends | Stored and grouped as |
|---|---|---|
| Text | a string or number, up to 255 characters | the exact text, e.g. Windows 11 |
| Version | 1 to 4 numeric parts, an optional leading v and an optional - or + suffix, e.g. v5.2.1-beta |
by major, minor or full version, sorted numerically (5.10 after 5.2); missing parts are 0, so 5 is 5.0.0 |
| Number | a number or numeric string, e.g. free disk space in MB | in ranges, with lowest, median, 90th percentile and highest |
| Date | YYYY-MM-DD or an ISO 8601 date-time (its UTC date is kept) |
by age: today, 1 day, 2 days, 3 to 7, 8 to 30, over 30 days |
| Yes / No | true or false (also 1/0 and "true"/"false") |
true and false |
Send values
Section titled “Send values”Add attributes to the body of POST /api/v1/lookup. app is required: attributes belong to an application.
{ "org": "lzo_YOUR_ORG_ID", "client": "PC-123", "app": "YOUR_APPLICATION_ID", "attributes": { "engine_version": "5.2.1", "sig_date": "2026-11-12", "free_disk_mb": 48210, "os": "Windows 11" }}curl -s -X POST 'https://laasio.functual.com/api/v1/lookup' \ -H 'Accept: application/json' \ -H 'Content-Type: application/json' \ -d '{"org":"lzo_YOUR_ORG_ID","client":"PC-123","app":"YOUR_APPLICATION_ID","attributes":{"engine_version":"5.2.1","sig_date":"2026-11-12","free_disk_mb":48210,"os":"Windows 11"}}'// Node.js 18+ (built-in fetch), save as attributes.mjsconst LAASIO_URL = "https://laasio.functual.com";const ORG_ID = "lzo_YOUR_ORG_ID";const APP_ID = "YOUR_APPLICATION_ID";
/** Report this client's attributes with its lookup; returns the signed license entries. */export async function reportAttributes(clientId, attributes) { const response = await fetch(`${LAASIO_URL}/api/v1/lookup`, { method: "POST", headers: { Accept: "application/json", "Content-Type": "application/json" }, body: JSON.stringify({ org: ORG_ID, client: clientId, app: APP_ID, attributes }), }); if (!response.ok) throw new Error(`LaaSio ${response.status}`); return (await response.json()).data; // verify these as in the lookup examples}
const entries = await reportAttributes("PC-123", {"engine_version":"5.2.1","sig_date":"2026-11-12","free_disk_mb":48210,"os":"Windows 11"});console.log("OK:", entries.length, "license entries");# pip install requestsimport requests
LAASIO_URL = "https://laasio.functual.com"ORG_ID = "lzo_YOUR_ORG_ID"APP_ID = "YOUR_APPLICATION_ID"
def report_attributes(client_id, attributes): """Report this client's attributes with its lookup; returns the signed license entries.""" body = {"org": ORG_ID, "client": client_id, "app": APP_ID, "attributes": attributes} response = requests.post(f"{LAASIO_URL}/api/v1/lookup", json=body, headers={"Accept": "application/json"}, timeout=10) response.raise_for_status() return response.json()["data"] # verify these as in the lookup examples
entries = report_attributes("PC-123", {"engine_version": "5.2.1", "sig_date": "2026-11-12", "free_disk_mb": 48210, "os": "Windows 11"})print("OK:", len(entries), "license entries")// .NET 6+using System.Net.Http.Json;using System.Text.Json.Nodes;
var entries = await Attributes.ReportAsync("PC-123", new Dictionary<string, object>{ ["engine_version"] = "5.2.1", ["sig_date"] = "2026-11-12", ["free_disk_mb"] = 48210, ["os"] = "Windows 11",});Console.WriteLine($"OK: {entries.Count} license entries");
public static class Attributes{ const string LaasioUrl = "https://laasio.functual.com"; const string OrgId = "lzo_YOUR_ORG_ID"; const string AppId = "YOUR_APPLICATION_ID"; static readonly HttpClient Http = new();
/// <summary>Report this client's attributes with its lookup; returns the signed license entries.</summary> public static async Task<JsonArray> ReportAsync(string clientId, Dictionary<string, object> attributes) { var body = new { org = OrgId, client = clientId, app = AppId, attributes }; var response = await Http.PostAsJsonAsync(LaasioUrl + "/api/v1/lookup", body); response.EnsureSuccessStatusCode(); // Verify these as in the lookup examples return (await response.Content.ReadFromJsonAsync<JsonObject>())!["data"]!.AsArray(); }}package main
import ( "bytes" "encoding/json" "fmt" "net/http")
const ( laasioURL = "https://laasio.functual.com" orgID = "lzo_YOUR_ORG_ID" appID = "YOUR_APPLICATION_ID")
// ReportAttributes reports this client's attributes with its lookup and returns the signed license// entries (verify them as in the lookup examples).func ReportAttributes(clientID string, attributes map[string]any) ([]map[string]any, error) { payload, _ := json.Marshal(map[string]any{"org": orgID, "client": clientID, "app": appID, "attributes": attributes}) req, _ := http.NewRequest("POST", laasioURL+"/api/v1/lookup", bytes.NewReader(payload)) req.Header.Set("Accept", "application/json") req.Header.Set("Content-Type", "application/json") resp, err := http.DefaultClient.Do(req) if err != nil { return nil, err } defer resp.Body.Close() if resp.StatusCode != http.StatusOK { return nil, fmt.Errorf("LaaSio %d", resp.StatusCode) } var answer struct { Data []map[string]any `json:"data"` } err = json.NewDecoder(resp.Body).Decode(&answer) return answer.Data, err}
func main() { entries, err := ReportAttributes("PC-123", map[string]any{ "engine_version": "5.2.1", "sig_date": "2026-11-12", "free_disk_mb": 48210, "os": "Windows 11", }) if err != nil { panic(err) } fmt.Println("OK:", len(entries), "license entries")}<?php// PHP 8+ with the curl extensionconst LAASIO_URL = "https://laasio.functual.com";const ORG_ID = "lzo_YOUR_ORG_ID";const APP_ID = "YOUR_APPLICATION_ID";
/** Report this client's attributes with its lookup; returns the signed license entries. */function reportAttributes(string $clientId, array $attributes): array{ $ch = curl_init(LAASIO_URL . "/api/v1/lookup"); curl_setopt_array($ch, [ CURLOPT_POST => true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => ["Accept: application/json", "Content-Type: application/json"], CURLOPT_POSTFIELDS => json_encode(["org" => ORG_ID, "client" => $clientId, "app" => APP_ID, "attributes" => $attributes]), CURLOPT_TIMEOUT => 10, ]); $response = curl_exec($ch); $status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE); if ($status !== 200) { throw new RuntimeException("LaaSio $status"); } return json_decode($response, true)["data"]; // verify these as in the lookup examples}
$entries = reportAttributes("PC-123", ["engine_version" => "5.2.1", "sig_date" => "2026-11-12", "free_disk_mb" => 48210, "os" => "Windows 11"]);echo "OK: ", count($entries), " license entries\n";The answer is the lookup’s answer, so the POST can replace the GET lookup entirely. Verify its entries as described in Verify signatures.
- Each client keeps its latest value. Send
null(or"") to remove one; an attribute you leave out keeps its last value. Values that haven’t changed cost nothing extra. - Nothing is stored without
app, from theGETlookup, or for an unknown client (unless the lookup auto-provisions it). - Send only what you need to see across your fleet. Don’t send personal data, such as user names, email addresses or host names.
The report
Section titled “The report”Reports → Client Attributes, on every plan. Pick an application and an attribute:
- Clients seen in the last 7, 30 or 90 days: only clients that checked in within that time are counted, so old installs don’t skew the picture.
- Bars per value, version group, number range or age, with counts and shares. Click a bar to open the Clients tab with exactly those clients and their values. For example, every client whose signatures are over 30 days old.
- Not reported: clients of the application seen in that time without a value, usually software that doesn’t send it yet.
- Over time (text, version and yes/no attributes): a nightly snapshot (UTC) of the distribution, per day, month or year, kept for 13 months. Part of the Trends report, from the Indie plan.
Both parts export as CSV on plans with CSV export.