Rivier/ Reference/ models

The project's own model settings

get/models/v1/settings

The project's own model settings: the daily and monthly spending limits its people set, the route names of its own, and the routes a name may stand on.

Before you call

Credential
Authorization: Bearer $KEY
Scope
models:read
Graphql
Query.modelsSettingsGet
Sdk
models.settings.get
Cli
models settings get

Responses

  • 200application/json
    Success
    • objectmodel_settingsrequired
    • dailyUsdnumber or nullrequired
    • monthlyUsdnumber or nullrequired
    • routesobjectrequired
    • choiceslist of objectrequired
      • idstringrequired
      • kindstringrequired
        One of: chat, embedding, speech.
    • dataPolicyobject or nullrequired
  • 400application/json
    The request was malformed
    • errorstringrequired
    • messagestring
  • 401application/json
    No valid credential
    • errorstringrequired
    • messagestring
  • 403application/json
    The credential lacks the scope, origin or address
    • errorstringrequired
    • messagestring
  • 429application/json
    Over the key's rate limit; see Retry-After
    • errorstringrequired
    • messagestring

This page as Markdown