@squidcloud/client
    Preparing search index...

    Interface ModelIdSpec

    Represents an AI model.

    interface ModelIdSpec {
        description?: string;
        displayName?: string;
        integrationId?: string;
        modelId: string;
        replacedBy?: string;
        source?: "vendor" | "connector" | "custom";
    }
    Index

    Properties

    description?: string

    Short human-readable description of the model. Undefined for custom integration models.

    displayName?: string

    Human-readable display name for the model (e.g. "GPT-4o").

    integrationId?: string

    The integration ID if this model comes from an integration (OpenAI-compatible, Bedrock). Is undefined for Squid-provided models.

    modelId: string

    The model ID used for API calls.

    replacedBy?: string

    Set only for deprecated models: the active model that calls to this model are routed to. Undefined for active models.

    source?: "vendor" | "connector" | "custom"

    Where the model comes from. Always set on listChatModels() results:

    • 'vendor': a Squid-provided model from the vendor model registry.
    • 'connector': provided by an integration configured on the app (OpenAI-compatible, Bedrock, Vertex).
    • 'custom': a user-added model from the app's bundle (e.g. CLI agent models like Claude Code or Codex).