Skip to main content
PUT
Replace the project's AI scanner settings

Authorizations

Authorization
string
header
required

An Earnie API key, sent as Authorization: Bearer sk_earnie_.... Create one under Settings > API keys. The key's scopes decide which operations it may call.

Path Parameters

projectId
string<uuid>
required

Body

application/json
fetch_lfs_models
boolean
required

Fetch the Git LFS objects of model weights files when a repository scan runs ai, each within the Model size cap. A fetch spends the repository owner's LFS bandwidth quota. Off by default: the scan reports each pointer as a Git LFS model instead.

Response

The settings as saved.

fetch_lfs_models
boolean
required

Fetch the Git LFS objects of model weights files when a repository scan runs ai, each within the Model size cap. A fetch spends the repository owner's LFS bandwidth quota. Off by default: the scan reports each pointer as a Git LFS model instead.