Hello NVIDIA team,
I am a new user and have successfully registered on build.nvidia.com. I was able to generate a Personal API Key, but I cannot connect from local here with powershell $headers = @{
Authorization = “Bearer $env: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”
“Content-Type” = “application/json”
}
$body = @{
model = “moonshotai/kimi-k2.6”
messages = @(
@{
role = “user”
content = “Reply with exactly: NVIDIA OK”
}
)
max_tokens = 20
} | ConvertTo-Json -Depth 5
Invoke-RestMethod -Uri "https://integrate.api.nvidia.com/v1/chat/completions"
-Method POST -Headers $headers
-Body $body
NVIDIA reply:
Invoke-RestMethod : {“status”:401,“title”:“Unauthorized”,“detail”:“Authentication failed”}
At line:1 char:1
- Invoke-RestMethod `
-
+ CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebExc eption + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand
As a result, when I try to call the any model API (moonshotai/kimi-k2.6) using my key, I get a 401 error: “Unauthorized”.
I believe my account lacks the necessary permissions to access public cloud endpoints. Could you please manually enable the “Public API Endpoints” permission for my personal organization?
My registered ID :
1c06f898-e41f-4dcc-9d99-cd903e080920
Name
NVIDIABuild-Autogen-55
Expiration
03/18/2027
nvapi-xlVcJzg8P8kx1GE9o…
Thank you for your help!