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