model

Get default model

Changed on

Retrieve the model used when a session has no explicit model selection.

get/api/model/default

Request

  • Base URL
    https://opencode.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://opencode.ai/api/model/default
  • Auth
    none required

Query parameters

directorystring nullable

Response

Success

Changes

    • warning

      removed the optional property //////// from the response with the status

    • info

      added the optional property ////// to the response with the status