Auth

Set the authenticated user's active org

Switches the user's active org via set_user_active_org RPC; the active_org_id is persisted to user_preferences.preferences. Body is { org_id: string }. Returns the same envelope shape as GET /me/context. Returns 403 with code: 'not_a_member' if the user is not a member of the target org. Per ADR-044 Piece 1 / migration 164.

patch/me/context

Request

  • Base URL: https://api.mnemom.ai/v1
  • URL: https://api.mnemom.ai/v1/me/context
  • Auth: one of:
    • HTTP bearer
    • API key in header X-Mnemom-Api-Key
    • API key in cookie mnemom_session

Request body

org_idstring required

Org ID to switch the active context to. The user must be a member.

Response

Active org switched. Response envelope matches GET /me/context.

Changes

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