Prompt Templates

The service returns configured prompt templates.

SecurityoAuthUser
Request
query Parameters
$lang
required
string

The knowledge base language used for retrieving response. Must be a language enabled in the system.

Enum: "en-US" "en-GB" "fr-FR" "es-ES" "it-IT" "de-DE" "nl-NL" "pt-BR" "pt-PT" "da-DK" "sv-SE" "ru-RU" "fr-CA" "zh-CN" "ja-JP" "ko-KR"
department
required
string

The department name.

Example: department=Service
useFor
string

This parameter can be used to filter prompt templates based on the console for which the prompt is to be used.

Enum: "advisor" "analytics" "knowledge" "custom"
Example: useFor=knowledge
displayAt
string

This parameter can be used to filter prompts based on where the prompt is to be displayed in the console.

Enum: "chat" "email" "analytics" "article.content-area" "article.suggestion" "article.attachment" "article.metadata" "folder" "custom"
Example: displayAt=article.metadata
Responses
200

PromptTemplates Response

204

No Content

401

Unauthorized

403

Forbidden

404

Not Found

500

Internal server error

get/assist/prompttemplates
Request samples
Response samples
application/json
{
  • "promptTemplate": [
    ]
}