Enterprise
List AI model prices
Changed onget/api/experimental/ai/model-prices
Request
- Base URL/ (relative, and the document was published on a file host, not at the API’s origin)
- URL/api/experimental/ai/model-prices
- AuthAPI key in header Coder-Session-Token
Query parameters
providerstring
Only return prices for this provider
modelstring
Only return prices for this model
source'default' | 'custom' | 'all'
Only return prices from this source, or all to return every price a model holds
Response
OK
Changes
- info
added the new optional
queryrequest parametersource
- info
- info
endpoint added
- info