Get a setup proposal
Beta — behind the sonar-onboarding feature flag. Workspaces the flag is off for get 404 FEATURE_DISABLED.
The proposal the setup agent is building (or built) for a draft: status (proposing, measuring, sampling, then ready or failed), steps with timings, degraded (the degradation ladder’s codes — a degraded proposal is still complete), a timeline of stages and tool calls, and proposal once ready: keywords with an activity band (quiet / standard / busy / very_busy — no monthly volume), reasons[] (rule, guide, measurement or judgement) and a plain explanation, scoping options, feeds and platforms. 404 SETUP_PROPOSAL_NOT_FOUND when propose was never called for the draft.
Authorizations
Clerk API key. Create one in Settings → API Keys. Pass as Authorization: Bearer <key>. Keys carry a scope — read, write (implies read) or admin (implies write) — chosen when the key is minted. Each operation's security requirement (and its x-required-scope extension) names the minimum scope it needs; request the least-privileged key that covers the operations you call.
Path Parameters
Response
200 response
proposing → measuring (the first search pass) → sampling → proposing (the agent) → ready | failed. Poll until it is one of the last two (needs_narrowing is a legacy terminal status no run produces any more).
scanning, scanned, proposing, measuring, sampling, ready, needs_narrowing, failed, applied 