Protection

Get this layer's protection manifest

Returns the org-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). Authorization: the caller must be a member (any role) of the organization named by org_id; a non-member (or an org id that does not exist) receives 403, so the response never reveals whether another tenant's org exists and never returns its data.

get/protection/org/{org_id}

Request

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

Path parameters

org_idstring required

Organization identifier (e.g. org-abc12345)

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.

org_idstring uuid
namestring nullable
templateunknown
enabledboolean

Changes

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