v3

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

Llm Models Custom Providers Create

POST handler with superadmin-only field protection.

Strips superadmin-only fields from non-superadmin requests before delegating to OrganizationInjectionMixin.post() for org injection.

post/llm_models/custom_providers/

Headers

Authorizationstring required

JWT access token or Respan API key

Request body

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

Response

projectstring nullable required
provider_namestring required
provider_idstring required
{"stackTrail":"components:schemas:PublicCustomProviderCreate: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:PublicCustomProviderCreate:properties:models_sync_config","oasType":"schema","type":"unknown","description":"Any type"}
idstring required