model-price-map

Update Model Price

Changed on
put/api/v1/model-price-map/{id}

Request

  • Base URL
    https://api.smith.langchain.com
  • URL
    https://api.smith.langchain.com/api/v1/model-price-map/{id}
  • Auth
    • API key in header X-API-Key
    • or API key in header X-Tenant-Id
    • or HTTP bearer

Path parameters

idstring uuid required

Request body

namestring required
start_timestring date-time nullable
match_pathstring[]
match_patternstring required
prompt_cost_detailsobject nullable
completion_cost_detailsobject nullable
providerstring nullable
prompt_tokens_aboveinteger nullable

Response

Successful Response

unknown required

Changes

    • info

      added the new optional request property

    • breaking

      added the pattern ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$ to the request property /

    • breaking

      added the pattern ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$ to the request property ///

    • breaking

      added the pattern ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$ to the request property /

    • breaking

      added the pattern ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$ to the request property ///

    • breaking

      the / response's property type changed from object to string for status

    • breaking

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

    • breaking

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

    • breaking

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