User Tools

Site Tools


api:ai:pricing-delete

API : AI pricing : Delete

Introduction

This request deletes the cost price for an AI model. Usage logged for a model without a price gets costUSD/costDKK: null (and a syslog warning); the devops script src/sandbox/voice/recompute-ai-costs.ts can fill in costs afterwards once a price exists again.

Request

URL https://api.telecomx.dk/ai/pricing/:id
Method DELETE
Access level ADMIN
Params id Id of the price entry to delete.

Response

Property Type Description
success Boolean True.

Errors

Error code Message Description
400 validation Invalid id
403 access_denied Insufficient access level
500 internal_error <Unspecified>
api/ai/pricing-delete.txt · Last modified: by Per Møller

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki