---
title: "Llm Models Custom Providers Partial Update"
method: PATCH
path: "/llm_models/custom_providers/"
tags: ["models"]
---

# Llm Models Custom Providers Partial Update

`PATCH /llm_models/custom_providers/`

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)

## Headers

- `Authorization` string, required

## Request body

- PatchedPublicCustomProviderListRequest — Public API serializer for listing custom providers - hides internal fields, uses provider_id as id
  - `project` string, nullable
  - `provider_name` string
  - `provider_id` string
  - `extra_kwargs` unknown
  - `respan_discount_rate` number, double
  - `models_sync_config` unknown
  - `organization` integer, nullable

## Response `200`

- PublicCustomProviderList — Public API serializer for listing custom providers - hides internal fields, uses provider_id as id
  - `project` string, nullable
  - `provider_name` string, required
  - `provider_id` string, required
  - `extra_kwargs` unknown
  - `created_at` string, date-time, nullable, required
  - `updated_at` string, date-time, nullable, required
  - `respan_discount_rate` number, double
  - `models_sync_config` unknown
  - `id` string, required

---

[API](https://skmtc.net/keywordsai/apis/api-reference.md) · [All operations](https://skmtc.net/keywordsai/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/keywordsai/api-reference/versions/c26d550029f8/schema)
