model

Get default model

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

No recorded changes to this operation across all 1 revision of this API.