Databricks SDK for JavaScript
    Preparing search index...

    A governed AI Gateway endpoint in Unity Catalog that routes inference requests to one or more destinations, such as a foundation model or an external model reached through a model provider service. Applies centralized access control, rate limits, and auditing to its traffic.

    interface ModelService {
        comment?: string;
        config?: ModelServiceConfig;
        createdBy?: string;
        createTime?: Instant;
        effectiveOwner?: string;
        etag?: Uint8Array<ArrayBufferLike>;
        metastoreId?: string;
        name?: string;
        supportedApiTypes?: string[];
        updatedBy?: string;
        updateTime?: Instant;
    }
    Index

    Properties

    comment?: string

    User-provided description.

    Destinations, routing, rate limits, and payload logging configuration. Required on Create. On Update, provide this field when update_mask contains config or one of its subpaths.

    createdBy?: string

    Creator identity.

    createTime?: Instant

    Time the model service was created.

    effectiveOwner?: string

    Owner of the model service.

    etag?: Uint8Array<ArrayBufferLike>

    Optimistic concurrency token returned on every read. To make an Update or Delete conditional, pass the last-read value in that request's etag field. In REST responses, this value is a base64 string; URL-encode it when setting the etag query parameter.

    metastoreId?: string

    Metastore hosting the model service.

    name?: string

    Resource name of the model service. Format: model-services/{catalog}.{schema}.{model_service}. Each {...} component is capped at 255 characters individually. Server-derived on Create from parent + model_service_id; required and immutable on Update/Get/Delete.

    supportedApiTypes?: string[]

    API types supported across this service's destinations, such as openai/v1/chat/completions, openai/v1/embeddings, and mlflow/v1/chat/completions. Derived from the backing models and providers at read time.

    updatedBy?: string

    Identity of the last updater.

    updateTime?: Instant

    Time the model service was last modified.