Skip to content

@egain/ai-agent-sdk API Reference - v0.3.2 / GetPortalsOptions

Interface: GetPortalsOptions ​

Options for ApiHelper.getMyPortals.

Hierarchy ​

Table of contents ​

Properties ​

Properties ​

authToken ​

• Optional authToken: string

Authentication token (required if ApiHelper was constructed without getToken)

Inherited from ​

GetMyPortalsOptions.authToken

Defined in ​

core/api/ApiHelper.ts:197


userId ​

• Optional userId: string

Optional user ID for cache keying

Inherited from ​

GetMyPortalsOptions.userId

Defined in ​

core/api/ApiHelper.ts:202


shortUrlTemplate ​

• Optional shortUrlTemplate: string

Optional short URL template for filtering (from agent theme)

Inherited from ​

GetMyPortalsOptions.shortUrlTemplate

Defined in ​

core/api/ApiHelper.ts:207


departmentId ​

• Optional departmentId: string | number

Department ID (from portal.department.id)

Defined in ​

core/api/ApiHelper.ts:214

Released under the MIT License.