---
title: "GET /model-hub/custom_models/edit/"
method: GET
path: "/model-hub/custom_models/edit/"
tags: ["model-hub"]
---

# GET /model-hub/custom_models/edit/

`GET /model-hub/custom_models/edit/`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/model-hub/custom_models/edit/`
- Auth: one of:
  - API key in header `X-Api-Key`
  - API key in header `X-Secret-Key`

## Response `200`

OK

- CustomAIModelEditResponse
  - `status` boolean, required
  - `result` CustomAIModelEditResult, required
    - `model_name` string, required
    - `input_token_cost` number, nullable
    - `output_token_cost` number, nullable
    - `model_provider` string, required
    - `key` object
    - `config_json` object

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `404`: Not Found
- `409`: Conflict
- `500`: Internal Server Error
- `default`: Default error response

---

[API](https://skmtc.dev/futureagi/apis/future-agi-management-api.md) · [All operations](https://skmtc.dev/futureagi/apis/future-agi-management-api/llms.txt) · [OpenAPI document](https://skmtc.dev/futureagi/apis/future-agi-management-api/revisions/c8684118e142?raw)
