HydraCore
API by router

Model catalog

List Models Admin

GET
/v1/model-catalog

Authorization

HTTPBearer
headerAuthorizationBearer <token>

Query Parameters

modality?string|null
include_deprecated?Include Deprecated
Defaultfalse

Response Body

Successful Response

application/json
  1. response
[index: integer]?
Example Request
curl -X GET 'https://example.com/v1/model-catalog'
Example Response
[  {    "api_format": "string",    "capabilities": [      null    ],    "context_window": 0,    "cost_cached_input_per_mtok": "string",    "cost_input_per_mtok": "string",    "cost_output_per_mtok": "string",    "display_name": "string",    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "is_active": true,    "is_deprecated": true,    "max_output_tokens": 0,    "modality": "string",    "model_id": "string",    "provider": "string",    "slug": "string",    "speed_tier": "string",    "typical_tps": 0  }]

Create Model

POST
/v1/model-catalog

Authorization

HTTPBearer
headerAuthorizationBearer <token>

Request Body

application/json
  1. body
api_base_url*Api Base Url
Lengthlength <= 500
api_format*Api Format
Lengthlength <= 20
capabilities?array<unknown>
context_window?integer|null
cost_batch_input_per_mtok?number|string|null
cost_batch_output_per_mtok?number|string|null
cost_cached_input_per_mtok?number|string|null
cost_input_per_mtok?number|string|null
cost_output_per_mtok?number|string|null
display_name*Display Name
Lengthlength <= 200
max_output_tokens?integer|null
modality?Modality
Lengthlength <= 30
Default"llm"
model_id*Model Id
Lengthlength <= 200
provider*Provider
Lengthlength <= 50
slug*Slug
Lengthlength <= 100
speed_tier?string|null
typical_tps?integer|null
typical_ttft_ms?integer|null

Response Body

Successful Response

application/json
  1. response
api_format*Api Format
capabilities*array<unknown>
context_window?integer|null
cost_cached_input_per_mtok?string|null
cost_input_per_mtok?string|null
cost_output_per_mtok?string|null
display_name*Display Name
id*Id
Formatuuid
is_active*Is Active
is_deprecated*Is Deprecated
max_output_tokens?integer|null
modality*Modality
model_id*Model Id
provider*Provider
slug*Slug
speed_tier?string|null
typical_tps?integer|null
Example Request
curl -X POST 'https://example.com/v1/model-catalog' \  -H 'Content-Type: application/json' \  -d '{  "api_base_url": "string",  "api_format": "string",  "display_name": "string",  "model_id": "string",  "provider": "string",  "slug": "string"}'
Example Response
{  "api_format": "string",  "capabilities": [    null  ],  "context_window": 0,  "cost_cached_input_per_mtok": "string",  "cost_input_per_mtok": "string",  "cost_output_per_mtok": "string",  "display_name": "string",  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "is_active": true,  "is_deprecated": true,  "max_output_tokens": 0,  "modality": "string",  "model_id": "string",  "provider": "string",  "slug": "string",  "speed_tier": "string",  "typical_tps": 0}

Get Model Admin

GET
/v1/model-catalog/{slug}

Authorization

HTTPBearer
headerAuthorizationBearer <token>

Path Parameters

slug*Slug

Response Body

Successful Response

application/json
  1. response
api_format*Api Format
capabilities*array<unknown>
context_window?integer|null
cost_cached_input_per_mtok?string|null
cost_input_per_mtok?string|null
cost_output_per_mtok?string|null
display_name*Display Name
id*Id
Formatuuid
is_active*Is Active
is_deprecated*Is Deprecated
max_output_tokens?integer|null
modality*Modality
model_id*Model Id
provider*Provider
slug*Slug
speed_tier?string|null
typical_tps?integer|null
Example Request
curl -X GET 'https://example.com/v1/model-catalog/string'
Example Response
{  "api_format": "string",  "capabilities": [    null  ],  "context_window": 0,  "cost_cached_input_per_mtok": "string",  "cost_input_per_mtok": "string",  "cost_output_per_mtok": "string",  "display_name": "string",  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "is_active": true,  "is_deprecated": true,  "max_output_tokens": 0,  "modality": "string",  "model_id": "string",  "provider": "string",  "slug": "string",  "speed_tier": "string",  "typical_tps": 0}

Update Model

PATCH
/v1/model-catalog/{slug}

Authorization

HTTPBearer
headerAuthorizationBearer <token>

Path Parameters

slug*Slug

Request Body

application/json
  1. body
cost_cached_input_per_mtok?number|string|null
cost_input_per_mtok?number|string|null
cost_output_per_mtok?number|string|null
display_name?string|null
is_active?boolean|null
is_deprecated?boolean|null
speed_tier?string|null
typical_tps?integer|null

Response Body

Successful Response

application/json
  1. response
api_format*Api Format
capabilities*array<unknown>
context_window?integer|null
cost_cached_input_per_mtok?string|null
cost_input_per_mtok?string|null
cost_output_per_mtok?string|null
display_name*Display Name
id*Id
Formatuuid
is_active*Is Active
is_deprecated*Is Deprecated
max_output_tokens?integer|null
modality*Modality
model_id*Model Id
provider*Provider
slug*Slug
speed_tier?string|null
typical_tps?integer|null
Example Request
curl -X PATCH 'https://example.com/v1/model-catalog/string' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "api_format": "string",  "capabilities": [    null  ],  "context_window": 0,  "cost_cached_input_per_mtok": "string",  "cost_input_per_mtok": "string",  "cost_output_per_mtok": "string",  "display_name": "string",  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "is_active": true,  "is_deprecated": true,  "max_output_tokens": 0,  "modality": "string",  "model_id": "string",  "provider": "string",  "slug": "string",  "speed_tier": "string",  "typical_tps": 0}