Portals And API Keys
Use the user portal for your team workspace and the separate private control portal for deployment administration. Browser interfaces are first-party product surfaces; external memory integrations use MCP.
Portal Responsibilities
%%{init: {"flowchart": {"curve": "linear"}}}%%
flowchart LR
User["User or team manager"] --> UI["Main listener /ui"]
UI --> Recall["Search memory"]
UI --> Topics["Manager Topics workspace"]
UI --> Access["Connect, credentials and permitted team management"]
Operator["Private operator"] --> Control["Separate control portal"]
Control --> Admin["Teams, credentials, settings and security"]
Control --> Diagnose["Remember, conflicts, maintenance and logs"]| Portal | Default local URL | Authentication |
|---|---|---|
| User | http://127.0.0.1:8080/ui | API key, opt-in API-key portal session, or configured SSO. |
| Control | http://127.0.0.1:8090/ | Control-plane token or configured administrative SSO. |
A user credential does not grant control access. Keep the control listener private. Request Lifecycle And Security owns the authentication and authorization rules.
Sign In And Connect
- Open
/uiand sign in with an API key or an available SSO provider. - Select an entitled team when using SSO.
- Open Connect and copy the full team UUID and MCP endpoint.
- Configure your MCP host with a bearer API key or supported OAuth token, or use browser sign-in; a browser cookie is not an MCP credential.
The API-key login can opt into Keep me signed in for 7 days. The portal exchanges the validated key for an opaque session. Logout clears that session. Cookie/CSRF behavior is defined in Request Lifecycle And Security.
| First-party session route | Purpose |
|---|---|
POST /ui/api/session | Exchange direct bearer authentication, with exactly {"remember":true} or {"remember":false}. |
GET /ui/api/session | Current team, membership, optional credential, entitled teams, personal credentials, memory_access, and configured MCP base. |
POST /ui/api/session/logout | End the API-key portal session. |
The connection URL uses MCP_PUBLIC_BASE_URL when configured. Otherwise the UI labels a browser-origin fallback. An SSO team switch refreshes team and endpoint together. Configure the canonical HTTPS origin in production; see Configuration.
Credentials And API Keys
| Concept | Behavior |
|---|---|
| Credential identity | Stable credential/API-client membership with a separate private space. |
| Raw key | Returned once on creation/rotation; retain it privately. |
| Role | Member or manager; controls permitted team administration. |
| Scopes | Read/write grants; shared writes still require current write permission. |
memory_access | Effective private/shared read/write capability shown by the portals. |
Credentials issued by one SSO user have independent private spaces. The issuing user's SSO/OAuth membership-private space remains separate. No memory-binding selector is needed or accepted.
Create And Rotate
- In the control portal, select a team and create a credential, or use permitted same-team credential management in
/ui. - Choose bounded scopes, role, expiry, and rate policy appropriate to the caller.
- Save the one-time raw key privately and connect a client.
- Rotate the selected credential when needed, then replace its key in clients.
- Verify client access before revoking an unrelated credential.
Rotation replaces key material in place, preserving identity and private-space ownership. The previous raw key becomes invalid. An existing API-key portal session follows the stable credential ID and survives rotation, subject to current authorization. Built-in OAuth connections approved with the key do not survive: rotation, revocation, deletion, or expiry ends them, and their hosts must sign in again with a current key. See Connected apps.
Team managers use /ui/api/team/credentials and its per-credential routes. A current API-key credential can rotate through POST /ui/api/credential/rotate. Control administration uses /control/api/teams/{teamId}/credentials and per-credential routes.
SSO-Owned Credentials
SSO members use My credentials; managers use Team. Operations address a selected stable credential ID, not an arbitrary newest key.
Route under /ui/api/sso | Purpose |
|---|---|
GET /credentials | List owned credentials in the selected team. |
POST /credentials | Create an owned credential and return its key once. |
GET /credentials/{credentialId} | Inspect one owned credential. |
POST /credentials/{credentialId}/rotate | Rotate the selected writable credential. |
DELETE /credentials/{credentialId} | Disable it and queue private-space erasure/retirement. |
Creation and rotation cannot exceed current membership grants. Team-read-only members can create read-only credentials and write their own private memory; existing rotation/deletion routes retain their required write scopes. API-key portal sessions do not mint SSO-owned credentials.
IdP configuration, claim/group mapping, directory provisioning, and entitled-team selection belong to User Portal SSO.
Connected Apps
Release v2.9.2 introduces this tab; see implementation status. Account → Connected apps lists the MCP hosts you authorized through browser sign-in for the selected team. Every role can use it, including read-only members and SSO managers.
| Shown | Meaning |
|---|---|
| Client | Host name from its registration or client metadata document. |
| Resource | Connection URL the grant is bound to, such as /mcp/c/research. |
| Scopes and source | Granted scopes and whether a team API key or SSO approved it. |
| Created, last used, expires | Grant timestamps; last use is written at most about once a minute. |
The list contains only your grants: those approved with the API credential you signed in with, or with your SSO membership. A manager cannot see or revoke another member's grants here, and another user's grant ID returns 404. Revoke asks for confirmation and immediately ends that grant's access and refresh tokens; the host must sign in again. Operator-wide review and revocation are in Operations Runbook.
Route under /ui/api/oauth | Purpose |
|---|---|
GET /grants | List your active grants in the selected team. |
DELETE /grants/{grantId} | Revoke one of your grants. |
Private-Memory Erasure
%%{init: {"flowchart": {"curve": "linear"}}}%%
flowchart TB
Owner["Authorized owner request<br/>Retained key + irreversible acknowledgement"] --> Queue["202: durable erasure operation"]
Queue --> Seal["Seal/fence exact private target"]
Seal --> Holds{"Applicable legal hold?"}
Holds -->|"Yes"| Wait["Remain visibly blocked"]
Holds -->|"No"| Purge["Purge covered data and verify"]
Purge --> Done["Completed operation status"]| Route | Target |
|---|---|
DELETE /ui/api/credential/private-memory | Current credential's private memory. |
DELETE /ui/api/sso/private-memory | Selected SSO membership's private memory. |
GET /ui/api/private-memory/erasures/{operationId} | Owner-visible operation status. |
Erasure and SSO-owned credential deletion require a retained Idempotency-Key and exactly {"acknowledge_irreversible":true}. Poll the returned owner-visible erasure operation until its terminal status; this is separate from synchronous Remember/session processing.
Deleting a credential disables that credential and retires its own private space. It does not erase the issuing user's separate space or team-shared memory. Expiry alone does not erase history. Retention, migration-copy lineage, and applicable holds are handled by the privacy owner; see Operations Runbook.
Control Workspace
| Task | Canonical procedure |
|---|---|
| Configure providers, maintenance, public origins, or telemetry | Configuration |
| Diagnose Remember or search convergence | Operations Runbook |
| Inspect Evidence conflicts | Conflicts And Corrections |
| Review operation logs, protected captures, and metrics | Telemetry |
| Review or revoke MCP OAuth connections | Operations Runbook |
| Organize shared Evidence | Topics And Organization |
The control portal also manages teams, security settings/bans, retention, legal holds, and administrative audit access. It has no factual graph explorer, Dream workspace, or mutable RRF policy editor.