v3

latestOpenAPI 3.1.02026-07-311,4541,5202.3 MB
models

Llm Models Custom Providers Partial Update 2

PATCH handler with superadmin lock and field protection.

Checks:

  1. Object lock (is_managed=True -> non-superadmins can't modify)
  2. Field protection (non-superadmins can't modify specific fields)
patch/llm_models/custom_providers/{id}/

Path parameters

idinteger required

Headers

Authorizationstring required

JWT access token or Respan API key

Request body

provider_namestring
{"stackTrail":"components:schemas:PatchedPublicCustomProviderUpdateRequest:properties:extra_kwargs","oasType":"schema","type":"unknown","description":"Any type"}
respan_discount_ratenumber double
{"stackTrail":"components:schemas:PatchedPublicCustomProviderUpdateRequest:properties:models_sync_config","oasType":"schema","type":"unknown","description":"Any type"}

Response

projectstring nullable required
provider_namestring required
provider_idstring required
{"stackTrail":"components:schemas:PublicCustomProviderUpdate:properties:extra_kwargs","oasType":"schema","type":"unknown","description":"Any type"}
created_atstring date-time nullable required
updated_atstring date-time nullable required
respan_discount_ratenumber double
{"stackTrail":"components:schemas:PublicCustomProviderUpdate:properties:models_sync_config","oasType":"schema","type":"unknown","description":"Any type"}
idstring required