Auth
Mint a deterministic tenant test session
Service-key-only helper for tests and CI. Creates or reuses a watermarked .test.invalid tenant user derived from label, returns a 2-hour browser-session cookie value and a 2-hour bearer access token, and marks actor context with isTest.
post/auth/v1/test-sessions
Request
- Base URL: https://api.run402.com
- URL: https://api.run402.com/auth/v1/test-sessions
- Auth: API key in header apikey and HTTP bearer
Request body
Response
Watermarked test session bundle
Example response
{
"session": {
"cookie_name": "__Host-Http-r402_session"
},
"expires_in": 7200
}Changes
No recorded changes to this operation across all 1 revision of this API.