`GET /api/commands/options/{provider_id}?q=` — resolve a named `OptionProvider` (`recent_tasks` / `models` / `efforts` / `projects` / `agents` / …) against the caller's tenancy, filtered by `q`. An unregistered provider id is a 404.
GET
/api/commands/options/{provider_id}
const url = 'https://example.com/api/commands/options/example';const options = {method: 'GET', headers: {cookie: 'supacloud_session=<supacloud_session>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/commands/options/example \ --cookie supacloud_session=<supacloud_session>Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”provider_id
required
string
Registered OptionProvider id
Query Parameters
Section titled “Query Parameters”q
string
Free-text filter (case-insensitive substring). Empty / absent = unfiltered.
model
string
The selected model id a model-aware provider keys its listing off (the effort_levels provider offers that model’s harness-native effort ladder, else the abstract 5-step). Absent = a tenancy-only lookup; other providers ignore it.
Responses
Section titled “Responses”Media typeapplication/json
Array<object>
A selectable option for a parameter (ADR §2.2 Choice). Wire mirror of
[crate::services::command_registry::options::Choice].
object
glyph
string | null
hint
string | null
label
required
string
value
required
string
Examplegenerated
[ { "glyph": "example", "hint": "example", "label": "example", "value": "example" }]Authentication required
Permission denied
No such option provider
Structured server error