View .md

Ai Helper endpoints (Client API: game servers)

1 FeatherPanel Client API: game servers endpoint from user/server/ai-helper.php: methods, paths, auth, permissions, rate limits, parameters and responses.

Last synced from FeatherPanel b7d8353 on .

On this page

Defined in backend/app/routes/user/server/ai-helper.php. Authentication used here: Server access. Read Authentication for how to send credentials and Rate limits and errors for the response envelope.

Paths, methods, permissions and rate limits come from the route file. Summaries, parameters and response codes come from the OpenAPI annotations on the controllers; endpoints without annotations show only what the route file declares.

Endpoints

POST/api/user/servers/{uuidShort}/ai/helper

Auth: Server accessDefault rate limit: 12 / minute (user-server-ai-helper)Route name: user-server-ai-helperController: ServerAiHelperController::explainroute source

Explain console errors and suggest a file diff Uses the panel chatbot provider (OpenRouter etc.). Secrets are redacted before leaving the panel. Suggestions are never auto-applied.

ParameterInTypeRequiredDescription
uuidShortpathstringyes
Body fieldTypeRequiredDescription
console_logstringno
file_pathstringno
file_contentstringno
questionstringno
curl -X POST "$PANEL_URL/api/user/servers/$UUID_SHORT/ai/helper" \
  -H "Authorization: Bearer $FEATHERPANEL_API_KEY" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"console_log":"","file_path":"","file_content":"","question":""}'

Responses: 200 Explanation and optional suggested diff · 400 Invalid request · 403 Disabled or permission denied