Protection

Get this layer's protection manifest

Returns the platform-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. 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).

get/protection/platform/{scope_id}

Request

  • Base URL: https://api.mnemom.ai/v1
  • URL: https://api.mnemom.ai/v1/protection/platform/{scope_id}
  • Auth: one of:
    • HTTP bearer
    • API key in header X-Mnemom-Api-Key
    • API key in cookie mnemom_session

Path parameters

scope_id'default' required

Always default — the platform scope is a singleton; any other value returns 400 with care-framed guidance pointing at default.

Query parameters

include_compositionboolean

Include the _composition metadata block on the response body.

include'sources'

When sources, returns the scope-resolution envelope for this scope (the contributing layers + the composed result); the envelope shape is scope-specific (see ADR-053). The envelope is JSON-only.

Headers

Accept'text/yaml' | 'application/yaml' | 'application/json'

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.

OR

Changes

No recorded changes to this operation across all 1 revision of this API.