Skip to main content
GET
/
api
/
projects
/
{project_id}
/
composer-prefs
Get Composer Prefs
curl --request GET \
  --url https://api.example.com/api/projects/{project_id}/composer-prefs \
  --header 'Authorization: Bearer <token>'
{
  "develop": true,
  "plan_first": true,
  "active_odoo_credential_ids": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "active_odoo_tier_overrides": {},
  "model_tier": "<string>",
  "onboard_odoo_enabled": true
}

Documentation Index

Fetch the complete documentation index at: https://docs.codecobra.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

project_id
string<uuid>
required

Response

Successful Response

Per-user per-project composer "+" menu state — the full set of persisted task-level settings (Plan First, Code Mode, model tier, Odoo env selection + tier downgrades, onboard-Odoo toggle). Wire shape is snake_case; the frontend hook adapts to camelCase.

develop
boolean
required
plan_first
boolean
required
active_odoo_credential_ids
string<uuid>[] | null
active_odoo_tier_overrides
Active Odoo Tier Overrides · object
model_tier
string | null
onboard_odoo_enabled
boolean | null