Skip to main content
Get detailed information about a specific model, including its configuration and connected endpoints.

Path parameters

name
string
required
The unique name of the model to retrieve.

Response

id
uuid
Unique identifier for the model.
name
string
Model name.
dtype
string
Model type identifier.
configuration
object
Model-specific configuration. The structure depends on the model type.
summary
string
Brief description of the model.
tags
string
Comma-separated tags.
created_at
datetime
Timestamp when the model was created.
updated_at
datetime
Timestamp when the model was last updated.
connected_endpoints
array
Array of endpoints currently using this model.
curl https://your-server.com/api/v1/models/gpt-4-assistant \
  -H "Authorization: Bearer YOUR_API_KEY"
{
  "id": "550e8400-e29b-41d4-a716-446655440000",
  "name": "gpt-4-assistant",
  "dtype": "openai",
  "configuration": {
    "api_key": "sk-...",
    "model": "gpt-4",
    "base_url": "https://api.openai.com/v1",
    "system_prompt": "You are a helpful AI assistant."
  },
  "summary": "GPT-4 model for general assistance",
  "tags": "openai,gpt-4,assistant",
  "created_at": "2024-03-15T10:30:00Z",
  "updated_at": "2024-03-15T10:30:00Z",
  "connected_endpoints": [
    {
      "id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
      "name": "Support Assistant",
      "slug": "support-assistant"
    },
    {
      "id": "8d0f7780-8536-51ef-c938-668877662222",
      "name": "Documentation Helper",
      "slug": "docs-helper"
    }
  ]
}

Endpoint

GET

Build docs developers (and LLMs) love