POST /api/organizations/{org_id}/profiles/{name}
Create or update an LLM profile. If llm is omitted, saves a copy of the current org LLM defaults.
Parameters
| Name | In | Type | Required | Description |
|---|
org_id | path | `string | null` | yes |
name | path | string | yes | — |
Request body
| Field | Type | Required | Description |
|---|
include_secrets | boolean | no | — |
llm | `StrictLLM | null` | no |
preserve_existing_api_key | boolean | no | — |
Responses
| Status | Description |
|---|
200 | Successful Response |
422 | Validation Error |
Response body
| Field | Type | Required | Description |
|---|
name | string | yes | — |
message | string | yes | — |
Operation ID: save_profile_api_organizations__org_id__profiles__name__post