Public/Get-GCSpeechTextAnalyticsTopic.ps1
|
<# .SYNOPSIS Retrieves a single speech and text analytics topic by ID. .DESCRIPTION Returns the details of a specific speech and text analytics topic from Genesys Cloud. Uses the GET /api/v2/speechandtextanalytics/topics/{topicId} endpoint. .PARAMETER TopicId The unique identifier of the topic to retrieve. .EXAMPLE Get-GCSpeechTextAnalyticsTopic -TopicId 'a1b2c3d4-e5f6-7890-abcd-ef1234567890' .NOTES Genesys Cloud API: GET /api/v2/speechandtextanalytics/topics/{topicId} #> function Get-GCSpeechTextAnalyticsTopic { [CmdletBinding()] param( [Parameter(Mandatory = $true)] [string]$TopicId ) $endpoint = "speechandtextanalytics/topics/$TopicId" return Invoke-GCApiRequest -Endpoint $endpoint -Method GET } |