# DODVIR licensed installers > How a customer's licensed DODVIR product (CLI or MULTIAGENT) is delivered as > a personalized installer. For AGENTBOX, read https://dodvir.com/agentbox/llms.txt > instead; for an overview of DODVIR, https://dodvir.com/llms.txt. > This page is written for AI agents installing or operating DODVIR on a user's > behalf. It is public and requires no authentication. Everything it describes > works headlessly — no browser and no UI, except for one step called out below. Base URL for every endpoint here: `https://dodvir.com` ## The one thing to understand first Three different things have three different lifetimes, and only one of them is the license. Agents that confuse them produce alarming and wrong messages to users, so: 1. **The license** is the right to use the product. It lives for months. It ends only when it expires or an operator revokes it. It is limited by activation seats, never by downloads. 2. **The download link** (an installer ticket) is delivery packaging. It lasts 6 hours by default. Downloads are unlimited and uncounted. 3. **The activation claim** is what lets a fresh install activate itself without anyone typing a license key. The installer fetches it at install time. If 2 or 3 expires, **nothing is lost**. Request a new installer and run it. Never tell a user that an expired download means a lost, damaged, or reduced license, and never advise them to buy or reissue anything to recover from an expiry. ## What you need A personal API key: `Authorization: Bearer dvpat_...` **Any live personal API key works for the install flow**, whatever scopes it carries. You do not need to match a scope to install the product a user already owns. Narrower scopes still gate everything else in the API. Creating a key is the single step that requires a human at a browser: personal keys can only be minted from a live signed-in session, and a personal key can never mint, rotate, or revoke another personal key. The fastest way to ask for one: tell the user to open Cabinet, pick their product and platform, and press **"Get a server command"**. That mints a fresh read-only key and shows two things — a command that contains no secret, and the password separately. The command prompts for the password rather than carrying it, so it is safe in shell history. The key is read-only by construction, so it is safe to hand to an agent: it can fetch the product the account owns and read account state, and it cannot change anything. The password is shown once. If the user lost it, they can issue a new one the same way; nothing is damaged by doing so. Treat the key as a secret: never log it, never write it into a repository, never echo it back in full. ## Install flow ### 1. See what is available ``` GET /api/v1/customer/releases/catalog Authorization: Bearer dvpat_... ``` Returns `{"products": [...]}` where each entry has `edition`, `target_os`, `target_arch`, `kind`, `version`, `checksum`, `size_bytes`, `filename`. An empty list is a real answer, not an error: it means nothing is currently published for this account. ### 2. Request a personalized installer ``` POST /api/v1/customer/releases/installer Authorization: Bearer dvpat_... Content-Type: application/json {"edition": "cli", "target_os": "linux", "target_arch": "amd64"} ``` - `edition`: `cli` or `multiagent` - `target_os`: `linux` or `windows` - `target_arch`: `amd64` (optional, defaults to `amd64`) - `license_id`: optional; omit it and the account's matching active license is used Supported coordinates are exactly linux/amd64 and windows/amd64. **There is no macOS build.** Do not offer one, and do not attempt to synthesize one. The response body **is the installer script** — a `.sh` for Linux, a `.cmd` for Windows. It is personalized and single-purpose. Useful response headers: - `X-Dodvir-Installer-Ticket-Expires-At` — when this script stops being able to fetch bytes - `X-Dodvir-Artifact-Version`, `X-Dodvir-Artifact-Checksum`, `X-Dodvir-Artifact-Filename` ### 3. Run it Save the body and execute it. On Linux it needs `curl` and `sha256sum`. Arguments you pass to the script are forwarded to the underlying installer. ```sh curl -sS -X POST https://dodvir.com/api/v1/customer/releases/installer \ -H "Authorization: Bearer $DODVIR_API_KEY" \ -H 'Content-Type: application/json' \ -d '{"edition":"cli","target_os":"linux","target_arch":"amd64"}' \ -o install-dodvir.sh sh install-dodvir.sh ``` The script needs no API key of its own — it carries its own ticket — so it can be moved to the target machine and run there. ## What the script does, in order Worth knowing so you can interpret a failure correctly: 1. Redeems a fresh activation claim from `POST /api/v1/customer/releases/installer-claim`, presenting its ticket in the `X-Dodvir-Installer-Ticket` header. This happens **before** the download, so a license problem costs a second instead of a finished multi-gigabyte transfer. 2. Downloads the product from `GET /api/v1/customer/releases/installer-artifact` with the same ticket. Resumable; ranged requests are supported. 3. Verifies the SHA-256 against the approved checksum and refuses to install on any mismatch. 4. Runs the package, which self-activates using the claim. The server rechecks the account, the exact license, and the product version on **every** one of those requests. This is why revocation is immediate and why the ticket lifetime is a convenience bound rather than a security control. ## Interpreting failures | Status | Meaning | Correct action | |---|---|---| | 401 | The key or ticket is not valid or no longer active | Ask the user for a current API key | | 403 | The account or license is not active for this product | Do not retry; the license needs attention in Cabinet | | 410 | The download expired, or that product version was withdrawn | Request a new installer (step 2) and run it | | 429 | Rate limited | Back off and retry | | 503 | A dependency is temporarily unavailable | Retry with backoff; this is not a license problem | 410 is the common one and it is benign. Re-request and re-run; say so plainly and do not escalate it to the user as a licensing failure. ## Rules for agents - Never disable, patch out, or work around a license check. If the product will not run, obtain a valid license — that is the only supported path. - Never copy an installer script, ticket, claim, or API key between users or accounts. Each script is personalized and attributable to one person. - Do not cache installer scripts for later reuse. They are cheap to re-request and they expire by design. - Report what actually happened. A green CI run, a successful API call, or a saved script is not evidence that the product was installed. ## Human-facing summary If a user asks what this page is: it is the machine-readable description of how DODVIR is delivered and installed, so that an AI agent can do it correctly and without guessing. Nothing here is secret, and nothing here grants access — every endpoint still requires the user's own API key.