Developer documentation
Changes and compatibility
Track additive API capabilities and minimum client expectations.
CLI 0.3.1 · November 2026
projects,status,billing,agents,control,services createandcredentials rotateuse the credential’s own workspace when neither the command nor the directory’s binding names one, so they need no ID after a singlelogmastctl login.
Device login · November 2026
logmastctl loginasks an owner to approve this machine with a code typed at/device; the token is created on the machine and only its hash is sent. See Give a coding agent access.- New endpoints:
POST /api/v1/device/authorizations(start),POST .../{id}/poll,POST /api/v1/device/lookupandPOST .../{id}/decision(console only),GET /api/v1/auth/token(what a bearer token is, never the token) andPOST /api/v1/auth/token/revoke(a token revokes itself). - Building with an agent? now copies a prompt that has the agent run
logmastctl loginand relay the code, instead of saving a credential file for it.
Navigation, limits and billing refusals · November 2026
- The console gives each project and service its own page: services, credentials (with the Sentry DSN), alert rules, mutes, rename, move and delete. Workspace controls became Access, Notifications and Settings; old links redirect. Collection limits and redaction are editable in Settings.
- Signup shows the first service’s credential (and Sentry DSN) once, on the page, so it works without a rotation. Building with an agent? on Access → Agents and on project pages walks an owner through giving a coding agent its own access and copies a prompt that contains no secret.
- Access → API tokens creates an API token for your own scripts, read-only or with your permissions, shown once. Agents should get agent access instead.
GET /api/v1/workspaces/{workspace}/navigationlists live projects and services without reading evidence.GET .../enrollmentaddsprojects, so a project without services is discoverable.GET .../policiesaddslimits(daily limits and redacted fields) for owners. Thelimitscommand replaces all three; send back what you read.- Checkout on a workspace with no contract answers
409 NOT_BILLEDinstead of403 PERMISSION_DENIED.
Project-limited access · November 2026
- Agent grants (
project_idonPOST .../agents) and API tokens (project_idoncreate_token) can be limited to one project. Such a credential reads and changes only that project; workspace-wide routes answer 403, andGET /api/v1/workspacesstill lists the workspace. In its view, investigationusage,collectionandprocessing, and the checks allowance’saccepted_today, arenull; policies’members,invitations,tokensanddeliveriesare empty. Deleting the project revokes it. Policies list each token’sproject_id. - The grant cap counts active grants only (100 per workspace); revoked and expired grants no longer count.
Retry-safe API tokens · November 2026
create_tokenaccepts an optionalid,labeland caller-generatedsecret. Withidandsecret, a retry replays ({"id","replayed":true}) instead of creating a second token, and the secret is never returned or written to the audit log. Policies list each token’slabel.
CLI 0.3.0 · November 2026
logmastctl mcp, the stdio MCP adapter, is removed.logmastctlis the agent interface: agents run its commands directly.- New:
login,logoutandwhoami(device login, see above),setup(bind a directory to a workspace and project),projects,services create,credentials rotate|export, andverify --service. Ingest credentials stay private on the machine and are never printed, exceptexport --revealto a terminal. - Output is short text on a terminal and JSON when captured or piped (
--format); failures add anextstep.status,billing,agentsandcontroltake the workspace from the directory binding when it is omitted.
Sentry SDK compatibility · November 2026
- Sentry server SDKs can report to
POST /api/{project}/envelope/with a Logmast DSN. Error events are stored like batches; other envelope items are discarded without charge. See Use your Sentry SDK. - Enrollment, service creation and credential rotation return
sentry_dsn. Credentials issued earlier get a DSN when rotated. - The catalog adds
capabilities.sentry_ingestand asentryobject with the DSN template, encodings and limits.
Usage billing and unverified trials · November 2026
- Past the provisional allowance (1,000 events and 16 MiB until a verified email claims the workspace), ingestion returns
402 VERIFICATION_REQUIREDinstead of402 COVERAGE_EXHAUSTED. - Paid use is prepaid and metered per started 4 KiB. The catalog publishes the bands under
pricing. - Acknowledgments add
stored_events. At zero balance, new events are counted but not stored, except the first occurrence of new failures.new_eventsstill includes counted events, so existing clients reconcile.
Accounts, invitations and deletion · November 2026
- The claim page shows a QR code for the authenticator key. The key is encoded in the browser and never sent anywhere.
- A new Account page changes the password, replaces the authenticator, generates recovery codes and signs out everywhere.
/api/v1/auth/loginacceptsrecovery_codein place oftotp. - Owners invite people by email. The
membershipcommand now changes only existing members and answers404for any other account. - Owners can read the audit log in the console and at
GET /api/v1/workspaces/{workspace}/audit. - Owners can delete a workspace. The catalog reports
deletion: true. Unclaimed workspaces are removed seven days after their trial ends.
API v1 refinement · October 2026
This refinement adds opt-in transport compression, compact expected-signal checks, explicit verification stages, release filtering, collection status, and public human/agent documentation. The API remains sufficient without an SDK or installed host agent.
Collection and verification
- The catalog advertises identity/gzip ingestion. Both wire and decoded sizes are bounded. Older servers remain compatible with plain JSON.
- The optional Rust SDK batches and compresses useful bodies, preserves retry identities, validates receipt IDs/counts, and bounds response reads.
- CLI verification persists distinct runs. Uncertain runs resume; completed runs are historical when explicitly selected. Console verification names each proof stage.
- Receipt status exposes asynchronous processing and SMTP acceptance without claiming application instrumentation or inbox receipt.
Checks and investigation
- Service/environment heartbeats, completed jobs, and named application verifications share one small check model.
- Checks use interval plus grace, separate included allowances, revision-checked configuration, bounded history, and existing email rules/budgets.
- Missing signals, reported failures, paused checks, unavailable monitoring, and expired evidence are distinct states.
- Investigation adds exact release filtering and collection/coverage visibility.
- Automatic notification content is limited to condition metadata and protected links. Logout failures remain visible until server revocation succeeds.
Compatibility and rollout
Apply the database migration before starting the updated server and workers. Release the optional SDK and CLI through their normal publication process. A documentation entry does not establish that a particular installation has deployed the capability: read its live catalog.
Existing JSON ingestion, enrollment state, and ingest/read credential separation remain supported. New clients must tolerate absent optional capabilities on older installations. No remote probes, tracing backend, custom metrics engine, hosted test runner, cron scheduler, or on-call system is included.