Delete Cost
DELETEhttps://api.confident-ai.com/v2/model-costs/{modelCostId}
Permanently deletes a custom model price. Models it matched fall back to Confident AI's own pricing, and costs already recorded on past spans are unchanged. This fails while the project inherits its model costs from the organization.
curl -X DELETE "https://api.confident-ai.com/v2/model-costs/{modelCostId}" \
-H "CONFIDENT_API_KEY: <PROJECT-API-KEY>"{
"success": true,
"data": {
"id": "<MODEL-COST-ID>"
},
"deprecated": false
}Headers
CONFIDENT_API_KEYstringRequiredThe API key of your Confident AI project.
Path parameters
modelCostIdstringRequiredThe id of the model cost.
Response
Delete Cost succeeded.
successbooleanIndicates if the request was successful.
dataobjectA reference to a model cost by its id.
Show 1 propertyHide 1 property
idstringThe id of the model cost, generated by Confident AI.
deprecatedbooleanIndicates if this endpoint is deprecated.