auth

Mint a CSRF token for this session

Rotates and returns the session CSRF token. The token it replaces keeps working for a short grace window, so a second tab mid-submit is not refused (E2E5-01). Cookie-authenticated; requires no CSRF token of its own, since a caller that holds none is exactly the caller this exists for.

post/v1/auth/csrf

Request

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

Response

Token minted

csrf_tokenstring required

Changes

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