Create end user session for alias
POST/v2/agent_aliases/:alias_key/end_user_sessions
Creates a session owned by the calling end user, routed through this alias's policy. The session's owning principal is the caller's authenticated identity.
Ownership binds to the alias key, not the resolved agent, so it is unaffected by a later change to the alias's routing weights.
Returns 429 when the caller reaches the live-session or hourly session-creation cap.
Request
Responses
- 201
- 403
- 404
- 429
The newly created session.
Permissions do not allow creating sessions for this alias.
Alias not found.
The request exceeds the caller's live-session or hourly session-creation cap.