AI Agent Skills Troubleshooting

Install and API key

ProblemFix
npx: command not foundInstall Node.js, then rerun npx skills add https://muapi.ai.
Agent doesn't use the skillRestart the agent after installing, or ask explicitly: "Use the muapi-models skill to…".
MUAPI_API_KEY missingExport it in your shell and restart the agent from that same terminal.
401 UnauthorizedThe header must be x-api-key. Check the key at muapi.ai/dashboard.
Variable not recognized on WindowsClose all terminals (including VS Code and Cursor ones) and reopen, or use $env:MUAPI_API_KEY in PowerShell.
PowerShell rejects curl argumentsUse curl.exe; PowerShell aliases curl to Invoke-WebRequest.

Model runs

ProblemFix
Wrong model pickedName the model in your request.
Task failedRead the error the agent reports, then ask it to retry with adjusted parameters.
Insufficient creditsTop up in the dashboard and rerun.
Result link expiredResults are kept 30 days. Rerun the task and ask the agent to save outputs locally.

Still stuck?

Test the same call with a sandbox key (POST /api/v1/keys with {"is_test": true}) to separate a payload problem from an account problem. Or contact support through muapi.ai.