Create session via alias
POST/v2/agent_aliases/:alias_key/sessions
Create a new session by routing through an alias. The alias's policy is evaluated to pick the underlying agent that will own the session. Subsequent operations on the session can be addressed via this alias or directly via /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.
Session creation request was malformed, or the alias's policy could not resolve against the session context.
Permissions do not allow creating sessions via this alias.
Alias not found or not currently active.