Organizations

Get default models

Changed on

Returns the model new desktop chats start with on the OpenCode v2 engine: the organization default (null for none) and each team's override (null when the team uses the organization default), teams by name. A member on several teams whose overrides differ starts on the organization default; conflictingMemberCount counts them per team. Members can still change the model in each chat. Requires the View OpenWork Models settings permission and the Organization default model feature.

get/v1/org/default-model

Request

  • Base URL: https://api.openworklabs.com
  • URL: https://api.openworklabs.com/v1/org/default-model
  • Auth: one of:
    • API key in header x-api-key
    • HTTP bearer

Response

Default models returned.

canEditboolean required

Changes