Memorylayer exposes plain HTTP endpoints for service discovery, workspace memory, ingestion, and the hosted MCP bridge. These fixtures show the contract without needing a live key.
request and response fixtures
auth modes: public discovery and workspace key
no required vendor SDK or local daemon
These examples are stable enough for docs, generated clients, and agent setup screens.
Check whether the hosted service is alive and read public counts.
/api/service/status
Load the route map and public integration counts for client setup screens.
/api/service/manifest
Discover grouped tools, auth headers, and workspace bridge URL templates.
/api/mcp/manifest
Fetch workspace-specific URLs, headers, starter skills, and tool discovery.
/api/workspaces/{slug}/bootstrap
Return a normalized client profile with endpoints, MCP config, skills, and startup calls.
/api/workspaces/{slug}/connect
Return a plain text env block for local scripts, workers, and agent launchers.
/api/workspaces/{slug}/env
Ask the bridge for compact context before an agent starts work.
/api/workspaces/{slug}/mcp
Save a compact handoff after meaningful work or deployment.
/api/workspaces/{slug}/mcp
Import notes, transcripts, reports, or pipeline output as memories.
/api/workspaces/{slug}/ingest
Read recent API calls, per-route totals, and key activity.
/api/workspaces/{slug}/usage
Export the latest workspace memories for backup, inspection, or migration checks.
/api/workspaces/{slug}/export/recent
All service errors return a direct detail message that clients can show or log.
/api/workspaces/{slug}/mcp
Start with `/api/service/manifest`, then choose either direct workspace routes or the MCP bridge. Keep workspace keys server-side when possible.