v2

latestOpenAPI 3.1.0raw.githubusercontent.com2026-05-2663154130.1 KB
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

state'EMPTY' | 'NO_SUPPORTED' | 'ONE_DETECTED' | 'MANY_DETECTED' | 'ALREADY_CONFIGURED' required