Use these snippets to connect an agent, ingestion job, or monitoring script to a hosted Memorylayer workspace.
Use MEMORYLAYER_URL, SLUG, and MEMORYLAYER_KEY across shell scripts and launchers.
Use Authorization bearer tokens or X-API-Key for every private workspace route.
Recipes cover bootstrap, MCP tools, ingest, usage, checkpointing, and curation.
Usage and audit feeds show which key called which route and when.
Each recipe maps to a concrete hosted feature.
A shared setup block for shell scripts and agent launchers.
Use these to build a client setup screen or agent launcher without hardcoding the service map.
A shorter preview of the API explorer fixtures.
/api/service/status
Check whether the hosted service is alive and read public counts.
/api/service/manifest
Load the route map and public integration counts for client setup screens.
/api/service/architecture
Read the concrete runtime, storage, model, limit, and surface contract.
/api/service/readiness
Run bounded checks for database, runtime cache, security posture, and public surface wiring.