model

Retrieve the current snapshot of available models of the requested types, chat by default, ordered by release date within each type. The snapshot may precede initial plugin settlement.

get/api/model

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
  • Auth
    none required

Query parameters

directorystring nullable
OR

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