Get a session for the Portkey API. If one already exists with the same options, it will be returned. Otherwise, a new session will be created.
getPortkeySession(options: PortkeyOptions = {}): PortkeySession| Name | Type | Description |
|---|---|---|
options | PortkeyOptions | Default: {} |