POST/tenant/exportadmin
Export this tenant's own selves as one bundle (format living-worlds.tenant/1: each self as the self export gives it, with its whole hash-chained record, no authority). Dry run by default: counts only. A real export writes a receipt (counts, the bundle's hash) into the tenant's erasure chain. A member key is refused. Added in contract version 1, additive.
Body
dry_run | true (default) | false |
GET/tenant/erasuresadmin
The tenant's erasure chain, oldest first: every erasure and export receipt with its hash link, and broken_at (null when the chain verifies). Added in contract version 1, additive.
PATCH/tenantadmin
Tenant settings.
Body
contentPolicy | {minors: allow|refuse, real_persons: refuse|consented_only, deceased: allow|refuse, restricted: [words]} or null: what personas and days of this project may describe (added in contract version 1, additive); with none set, minors and deceased persons are allowed and a real person always needs consent_ref |
budgets | {self?: {day?, life?}, world?: {life?}, run?: {life?}} of ceilings by meter, or null to clear (added in contract version 1, additive; see the note budgets): self meters calls, tokens_in, tokens_out, seconds; world meter ticks; run meter any cost key a run is charged under; none set means no ceiling |
models | {chat?: {rungs?: [rung names], model?, effort?}, voice?: {rungs?, model?, effort?} (what voices population members; chat when unset), embed?: {rung?, model?}} or null: which of this core's rungs and models answer this tenant; never a URL or key |
timezone | IANA |
vocabulary | {organisation: how your selves refer to you, e.g. the house} |
program | {orient|read|reflect|context|swarm: {instruction}}: your own logic for each step |
policy | {ratersToPromote, retireAfter, recordBudget, recordsConfirm (its own records confirm lessons), confirmGraceDays, heldBudget, candidateBudget, perPersonCap, procedureTrials, procedureBudget} |
identityKinds | your own identity kinds beyond the core's |
battery | {version, items} |
dailyCalls | tenant-wide ceiling |
webhook | {url, handles?, kinds?} to set (secret returned once; see the webhooks note) or null to remove |
tools | {mcp_url, auth: {tokenEnv: a variable granted to this tenant (LW_SECRET_<TENANT>_*)} | {tokenFile} | null, dialect?: standard|praecise, host?, effects?: [tool names that have effects], timeout_ms? 100..30000 (15000), max_output? 200..20000 chars (4000), budget? 1..12 calls per run (4)} or null: the tenant MCP endpoint its selves may call during work; a raw secret is refused |
GET/tenant/toolsmember
The tenant's own tools: its endpoint setting (the credential never shown; auth.via env|file) and the tools it lists, each with effects (bool) and the selves allowed it. ?refresh=1 skips the cache.
GET/tenantmember
This tenant: name, timezone, settings (a webhook secret never), what its model calls resolve to, and its members.
GET/tenant/membersmember
Who may manage this tenant: the owner of record, admins and members, by account id with the email beside it.
POST/tenant/keysadmin
Mint a narrower key, shown once: role member with a subject (it reaches that subject's selves and person only, enforced by the core) or role aggregate (aggregate routes only, counts never rows). Added in contract version 1, additive.
Body
role | member | aggregate |
subject | your own id for the person (member keys from this route) |
label | a name for the key |
GET/tenant/keysadmin
The tenant's keys by prefix: role, label, subject, when made and revoked. Never the keys themselves. Added in contract version 1, additive.
DELETE/tenant/keys/:prefixadmin
Revoke a subject or aggregate key by its prefix (admin keys are revoked on the platform). Added in contract version 1, additive.