Teams
Get the caller's effective role on this team
Returns the caller's role on this team for UI gating. Computed via the same logic as requireTeamRole (ADR-046) and getTeamRole. Values: super_admin (Mnemom staff cookie), org_owner / org_admin (when the caller has that role on the team's org), team_admin (an active team_admin_grants row for the caller), org_member / org_viewer / org_auditor (read-only org membership), or null (no role). Surfaces that don't load a template-sources envelope (team roster, identity card, admins tab) use this to gate edit affordances from the same single source of truth as the editors. See ADR-053.
get/teams/{team_id}/my-role
Request
- Base URL: https://api.mnemom.ai/v1
- URL: https://api.mnemom.ai/v1/teams/{team_id}/my-role
- 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)
Response
Caller's effective role on the team.
Changes
No recorded changes to this operation across all 1 revision of this API.