---
title: "Save Model Editor"
method: POST
path: "/v1/web/admin/infrastructure/models/editor/save"
tags: ["Web Admin", "Web Admin Models"]
---

# Save Model Editor

`POST /v1/web/admin/infrastructure/models/editor/save`

## Request

- Base URL: `https://api.hydraai.ru` (the document declares no server; this is the origin it was published from)
- URL: `https://api.hydraai.ru/v1/web/admin/infrastructure/models/editor/save`
- Auth: none declared

## Request body

- ModelEditorSave
  - `operation_id` string, uuid, required
  - `reason` string, required
  - `model_id` string, required
  - `expected_version` string, required
  - `fields` ModelEditorFields, required
    - `object` 'model' | 'proxy'
    - `context` integer, nullable
    - `max_completion_tokens` integer, nullable
    - `size` string[], nullable
    - `type` 'chat' | 'vision' | 'image' | 'embedding' | 'systemone'
    - `active` boolean, nullable
    - `private` boolean, nullable
    - `name` string, nullable
    - `description` string, nullable
    - `img` string, nullable
    - `owned_by` string, nullable
    - `proxy_to` string, nullable
    - `reasoning` boolean, nullable
    - `reasoning_effort` OptionSpec
      - `default` string, nullable
      - `choices` string[], nullable
    - `image_quality` OptionSpec
      - `default` string, nullable
      - `choices` string[], nullable
    - `web_search` boolean, nullable
    - `input_modalities` string[], nullable
    - `output_modalities` string[], nullable
    - `supported_file_types` string[], nullable
    - `supported_parameters` string[], nullable
    - `max_image_count` integer, nullable
    - `max_file_count` integer, nullable
    - `architecture` string, nullable
    - `quantization` string, nullable
    - `endpoints` string[], nullable
    - `delete_at` string, nullable
    - `alt_ids` string[], nullable
    - `stream_support` boolean, nullable
    - `rpm_coefficient` integer, nullable
  - `provider_ids` string[], required
  - `pricing` PricingCreate
    - `type` 'tokens' | 'image' | 'time' | 'characters' | 'request', required
    - `in_cost_per_million` union
      - number
      - string
    - `out_cost_per_million` union
      - number
      - string
    - `cost_per_million` union
      - number
      - string
    - `cost_per_image` union
      - number
      - string
    - `cost_per_image_quality` object, nullable
    - `cost_per_second` union
      - number
      - string
    - `cost_per_request` union
      - number
      - string
    - `prompt` union
      - number
      - string
    - `completion` union
      - number
      - string
    - `input_cache_read` union
      - number
      - string
    - `input_cache_write` union
      - number
      - string
    - `overrides` TokenPricingOverride[], nullable
      - `min_prompt_tokens` integer, required
      - `prompt` number, nullable
      - `completion` number, nullable
      - `input_cache_read` number, nullable
      - `input_cache_write` number, nullable
    - `free_requests` boolean
  - `scheduled_pricing` PricingCreate
    - `type` 'tokens' | 'image' | 'time' | 'characters' | 'request', required
    - `in_cost_per_million` union
      - number
      - string
    - `out_cost_per_million` union
      - number
      - string
    - `cost_per_million` union
      - number
      - string
    - `cost_per_image` union
      - number
      - string
    - `cost_per_image_quality` object, nullable
    - `cost_per_second` union
      - number
      - string
    - `cost_per_request` union
      - number
      - string
    - `prompt` union
      - number
      - string
    - `completion` union
      - number
      - string
    - `input_cache_read` union
      - number
      - string
    - `input_cache_write` union
      - number
      - string
    - `overrides` TokenPricingOverride[], nullable
      - `min_prompt_tokens` integer, required
      - `prompt` number, nullable
      - `completion` number, nullable
      - `input_cache_read` number, nullable
      - `input_cache_write` number, nullable
    - `free_requests` boolean
  - `date_of_use` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

## Changes

- **2026-11-04** `42d3d2735311`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/hydraai/apis/hydraai-api/changes/v1/web/admin/infrastructure/models/editor/save/post.md)

---

[API](https://skmtc.dev/hydraai/apis/hydraai-api.md) - [All operations](https://skmtc.dev/hydraai/apis/hydraai-api/llms.txt) - [OpenAPI document](https://skmtc.dev/hydraai/apis/hydraai-api/revisions/42d3d2735311?raw)
