Get this layer's protection manifest
Returns the agent-scope protection spec as authored. Response is content-negotiated — YAML by default, or JSON with Accept: application/json. Pass ?include_composition=true to include the _composition metadata block describing which scopes were merged. Pass ?include=sources (see ADR-053) for the scope-resolution envelope — the contributing layers plus the composed result; the envelope shape is scope-specific (the four-scope {teams[], agent} body is the agent variant consumed by the dashboard editor). ETag is computed from content_hash (cards-as-primitive Phase 1); If-None-Match returns 304. For the composed view across scopes, use the /effective sub-resource (Wave 2).
Request
- Base URL: https://api.mnemom.ai/v1
- URL: https://api.mnemom.ai/v1/protection/agent/{agent_id}
- Auth: one of:
- HTTP bearer
- API key in header X-Mnemom-Api-Key
- API key in cookie mnemom_session
Path parameters
Agent identifier (e.g. smolt-abc123)
Query parameters
Include the _composition metadata block on the response body.
When sources, returns the four-scope envelope {platform, org, teams[], agent, composed, composed_stale, my_role} (see ADR-053). The envelope is JSON-only.
Headers
Response format. YAML is canonical; JSON is returned only on explicit application/json. The ?include=sources envelope is JSON-only.
Response
Protection manifest at this scope.
Changes
No recorded changes to this operation across all 1 revision of this API.