Skip to main content
PUT
/
api
/
v1
/
admin
/
models
/
update
cURL
curl --request PUT \
  --url https://app.getpaperjet.com/api/v1/admin/models/update \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "id": "<string>",
  "provider": "google",
  "providerApiKey": "<string>",
  "modelName": "<string>",
  "displayName": "<string>",
  "baseUrl": "<string>",
  "isCore": true,
  "isVision": true
}'
{
  "success": true,
  "model": {
    "id": "<string>",
    "provider": "<string>",
    "providerApiKey": "<string>",
    "modelName": "<string>",
    "displayName": "<string>",
    "baseUrl": "<string>"
  }
}

Authorizations

x-api-key
string
header
required

Body

application/json
id
string
required
provider
enum<string>
required
Available options:
google,
openai,
openrouter,
custom
providerApiKey
string
required
Minimum length: 1
modelName
string
required
Minimum length: 1
isCore
boolean
required
isVision
boolean
required
displayName
string
baseUrl
string

Response

success
boolean
required
model
object
required