v3

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

Api Llm Presets 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/api/llm-presets/

Headers

Authorizationstring required

JWT access token or Respan API key

Request body

namestring required
projectstring nullable
{"stackTrail":"components:schemas:LLMPresetCreateRequest:properties:model_config","oasType":"schema","type":"unknown","description":"Any type"}
{"stackTrail":"components:schemas:LLMPresetCreateRequest:properties:variable_values","oasType":"schema","type":"unknown","description":"Any type"}

Response

idstring required
namestring required
projectstring nullable
created_byinteger nullable required
{"stackTrail":"components:schemas:LLMPresetCreate:properties:model_config","oasType":"schema","type":"unknown","description":"Any type"}
{"stackTrail":"components:schemas:LLMPresetCreate:properties:variable_values","oasType":"schema","type":"unknown","description":"Any type"}