Public/Get-GCResponseManagementLibrary.ps1

<#
.SYNOPSIS
    Retrieves a single response management library by ID.

.DESCRIPTION
    Returns the details of a specific response management library from Genesys Cloud.
    Uses the GET /api/v2/responsemanagement/libraries/{libraryId} endpoint.

.PARAMETER LibraryId
    The unique identifier of the library to retrieve.

.EXAMPLE
    Get-GCResponseManagementLibrary -LibraryId 'a1b2c3d4-e5f6-7890-abcd-ef1234567890'

.NOTES
    Genesys Cloud API: GET /api/v2/responsemanagement/libraries/{libraryId}
#>

function Get-GCResponseManagementLibrary {
    [CmdletBinding()]
    param(
        [Parameter(Mandatory = $true)]
        [string]$LibraryId
    )

    $endpoint = "responsemanagement/libraries/$LibraryId"
    return Invoke-GCApiRequest -Endpoint $endpoint -Method GET
}