Protection

Get this layer's protection manifest

Returns the team-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: team_id is resolved to its owning organization from the DB and the caller must be a member (any role) of that org. A team in an org the caller does not belong to returns the same 404 as a nonexistent team, and never another tenant's data.

get/protection/team/{team_id}

Request

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

Path parameters

team_idstring required

Team identifier (UUID)

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.

team_idstring uuid
org_idstring uuid
namestring nullable
templateunknown
enabledboolean

Changes

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