Agent Configuration
Scan
Classify the project and return the scanner result.
Always runs the scanner so the response carries truthful has_python_files / has_idun_config / detected values even when an agent row already exists — useful for direct-curl callers inspecting state. When the row exists, current_agent is populated so the UI can short-circuit to chat without a follow-up GET /agent call.
post/admin/api/v1/onboarding/scan
Response
Successful Response