Modify session
Modifies the configuration of the specified session.
Authorizations
Headers
The external trace ID. The length ranges from 0 to 128 characters.
Path Parameters
The ID of the session to modify.
Query Parameters
Your user ID.
How to obtain your user ID: Sign in to Powerdrill Enterprise, click Users in the top navigation bar, and find your user ID in the list of users.
Body
The new session name.
Specify at least one parameter: title
, languageType
, jobMode
, or maxMessagesInContext
.
The new language in which the output is generated. Possible values are:
AUTO
: adaptive recognitionEN
: EnglishES
: SpanishAR
: ArabicPT
: PortugueseID
: IndonesianJA
: JapaneseRU
: RussianHI
: HindiFR
: FrenchDE
: GermanVI
: VietnameseTR
: TurkishPL
: PolishIT
: ItalianKO
: KoreanZH-CN
: Simplified ChineseZH-TW
: Traditional Chinese
Specify at least one parameter: title
, languageType
, jobMode
, or maxMessagesInContext
.
AUTO
, EN
, ES
, AR
, PT
, ID
, JA
, RU
, HI
, FR
, DE
, VI
, TR
, PL
, IT
, KO
, ZH-CN
, ZH-TW
The new job mode. Possible values are:
AUTO
: Powerdrill automatically detects your intent and selects the appropriate job mode from data analysis and information retrieval.DATA_ANALYTICS
: Powerdrill focuses specifically on data analysis.
Specify at least one parameter: title
, languageType
, jobMode
, or maxMessagesInContext
.
AUTO
, DATA_ANALYTICS
The new maximum number of messages retained per session, with a value range of 0 to 10. The default is 10.
Specify at least one parameter: title
, languageType
, jobMode
, or maxMessagesInContext
.
Response
Status code. 0 indicates that the operation is successful. Otherwise, the operation fails. Possible error codes include:
- 100: Bad request.
- 201: Request frequency limit.
- 9999: Internal error.
- 100001: Invalid operation.
Null is returned when the operation is successful.