auth

Select the active workspace for this browser session

Validates same-account membership and active status, then atomically rotates CSRF so racing switches cannot silently win.

post/v1/auth/workspace

Request

  • Base URL: https://api.hyperresearch.ai
  • URL: https://api.hyperresearch.ai/v1/auth/workspace
  • Auth: API key in cookie hr_session

Request body

workspace_idstring required

Response

Updated session

csrf_tokenstring nullable required
card_requiredboolean required

Changes

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