Create session via alias
POST/v2/agent_aliases/:alias_key/sessions
Creates a session by routing through an alias. The alias's policy selects the underlying agent that owns the session. Subsequent operations on the session can use this alias or the direct path /v2/agents/{resolved_agent_key}/sessions/{session_key}.
Request
Responses
- 201
- 400
- 403
- 404
The newly created session, owned by the agent the alias's policy resolved to.
The request is malformed, or the alias's policy cannot resolve against the session context.
Permissions do not allow creating sessions via this alias.
Alias not found or not currently active.