Know the shape before you wire it.
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
Start with service, capability, MCP, SDK, playbook, and fixture JSON before wiring a client.
Use batch ingest for notes, reports, transcripts, and handoffs that should become workspace memory.
Call search, recent memory, or `recall_context` so agents start with relevant prior state.
Store decisions, project updates, negative knowledge, and checkpoints through the bridge.
Request fixtures
These examples are stable enough for docs, generated clients, and agent setup screens.
Service status
Check whether the hosted service is alive and read public counts.
/api/service/status
Service manifest
Load the route map and public integration counts for client setup screens.
/api/service/manifest
Service architecture
Read the concrete runtime, storage, model, limit, and surface contract.
/api/service/architecture
Service readiness
Run bounded checks for database, runtime cache, security posture, and public surface wiring.
/api/service/readiness
MCP manifest
Discover grouped tools, auth headers, and workspace bridge URL templates.
/api/mcp/manifest
Workspace bootstrap
Fetch workspace-specific URLs, headers, starter skills, and tool discovery.
/api/workspaces/{slug}/bootstrap
Connection kit
Return a normalized client profile with endpoints, MCP config, skills, and startup calls.
/api/workspaces/{slug}/connect
Env template
Return a plain text env block for local scripts, workers, and agent launchers.
/api/workspaces/{slug}/env
Agent config bundle
Fetch Codex profile text, Claude skill markdown, env output, curl setup commands, and endpoint URLs.
/api/workspaces/{slug}/agent-config
Ingest preview
Preview how a payload will split before writing anything to memory.
/api/workspaces/{slug}/ingest/preview
Recall context
Ask the bridge for compact context before an agent starts work.
/api/workspaces/{slug}/mcp
Session checkpoint
Save a compact handoff after meaningful work or deployment.
/api/workspaces/{slug}/mcp
Batch ingest
Import notes, transcripts, reports, or pipeline output as memories.
/api/workspaces/{slug}/ingest
Usage feed
Read recent API calls, per-route totals, and key activity.
/api/workspaces/{slug}/usage
Observability
Read latency, failure rate, slow routes, top routes, runtime cache, and recent ingest runs.
/api/workspaces/{slug}/observability
Recent export
Export the latest workspace memories for backup, inspection, or migration checks.
/api/workspaces/{slug}/export/recent
Error shape
All service errors return a direct detail message that clients can show or log.
/api/workspaces/{slug}/mcp
Client rule
Start with `/api/service/manifest`, then choose either direct workspace routes or the MCP bridge. Keep workspace keys server-side when possible.