@squidcloud/client
    Preparing search index...

    Interface ModelIdSpec

    Represents an AI model.

    interface ModelIdSpec {
        description?: string;
        displayName?: string;
        integrationId?: string;
        modelId: string;
        providerType?:
            | "cohere"
            | "anthropic"
            | "bedrock"
            | "claude-code"
            | "codex"
            | "flux"
            | "gemini"
            | "openai"
            | "openai-compatible"
            | "grok"
            | "stability"
            | "voyage"
            | "mistral"
            | "textract"
            | "azure_document_intelligence"
            | "vertex"
            | "external";
        reasoningEfforts?: CanonicalReasoningEffort[];
        replacedBy?: string;
        source?: "vendor"
        | "connector"
        | "custom";
    }
    Index
    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.

    providerType?:
        | "cohere"
        | "anthropic"
        | "bedrock"
        | "claude-code"
        | "codex"
        | "flux"
        | "gemini"
        | "openai"
        | "openai-compatible"
        | "grok"
        | "stability"
        | "voyage"
        | "mistral"
        | "textract"
        | "azure_document_intelligence"
        | "vertex"
        | "external"

    The provider serving this model when Squid can determine it from the model registry.

    reasoningEfforts?: CanonicalReasoningEffort[]

    Canonical reasoning-effort levels accepted natively by this model.

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