---
title: "GET /model-hub/custom-models/{id}/"
method: GET
path: "/model-hub/custom-models/{id}/"
tags: ["model-hub"]
---

# GET /model-hub/custom-models/{id}/

`GET /model-hub/custom-models/{id}/`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/model-hub/custom-models/{id}/`
- Auth: one of:
  - API key in header `X-Api-Key`
  - API key in header `X-Secret-Key`

Return details regarding a particular model, given his id

## Response `200`

OK

- CustomAIModel
  - `id` string, uuid
  - `created_at` string, date-time
  - `user_model_id` string, required
  - `deleted` boolean
  - `provider` string, required
  - `input_token_cost` number, required
  - `output_token_cost` number, required
  - `config_json` string
  - `user` string
  - `updated_at` string, date-time

## 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)
