Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/openmined/syft-space/llms.txt

Use this file to discover all available pages before exploring further.

List all model instances configured in your tenant. Returns models with their connected endpoints.

Response

Returns an array of model objects.
id
uuid
Unique identifier for the model.
name
string
Model name.
dtype
string
Model type identifier (e.g., openai, anthropic, ollama).
configuration
object
Model-specific configuration settings.
summary
string
Brief description of the model.
tags
string
Comma-separated tags.
created_at
datetime
Timestamp when the model was created.
connected_endpoints
array
Array of endpoints using this model.
curl https://your-server.com/api/v1/models \
  -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",
    "connected_endpoints": [
      {
        "id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
        "name": "Support Assistant",
        "slug": "support-assistant"
      }
    ]
  },
  {
    "id": "660f9500-f39c-52e5-b827-557766551111",
    "name": "claude-3-opus",
    "dtype": "anthropic",
    "configuration": {
      "api_key": "sk-ant-...",
      "model": "claude-3-opus-20240229"
    },
    "summary": "Claude 3 Opus for complex reasoning",
    "tags": "anthropic,claude-3,opus",
    "created_at": "2024-03-16T14:20:00Z",
    "connected_endpoints": []
  }
]

Endpoint

GET

Build docs developers (and LLMs) love