$token = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJhZG1pbiIsImV4cCI6OTk5OTk5OTk5OX0.L8PNFqKLDqPyPpkcVVQcEbWrDh1FJ7BfZ7DsN0F8_jM" try { $response = Invoke-WebRequest -Uri "http://localhost:8001/api/v1/configuration/action-mappings" -Headers @{"Authorization" = "Bearer $token"; "Content-Type" = "application/json"} -Method GET -UseBasicParsing Write-Host "API Status: $($response.StatusCode)" $json = $response.Content | ConvertFrom-Json Write-Host "Total mappings: $($json.mappings.Count)" } catch { Write-Host "API Error: $($_.Exception.Message)" }