Models

Update a model

PATCH
/v1/models/
id
curl --request PATCH \
  --url https://api.lunary.ai/v1/models/{id} \
  --header 'Authorization: Bearer <api_key>' \
  --header 'Content-Type: application/json' \
  --data '{}'

Parameters

NameLocated InRequiredSchema
idpathYesstring

Request Body

PropertyTypeDescription
namestring
patternstring
unitstring
inputCostnumber
outputCostnumber
tokenizerstring
startDatestring

Responses

200

Successful response

PropertyTypeDescription
idstring
namestring
patternstring
unitstring
inputCostnumber
outputCostnumber
tokenizerstring
startDatestring
createdAtstring
updatedAtstring

Questions? We're here to help.

Email