Update VirtualModel
Path parameters
Request
Model entity to route to, in “workspace/name” format. Written into request[“model”] before the request middleware pipeline runs. If omitted, a request middleware plugin must handle backend routing itself. Set to null to clear an existing value.
Marks this VirtualModel as controller-managed. The Models controller will delete it once no ModelProvider serves the matching entity. Setting this manually opts the VirtualModel into that cleanup behavior.
Model entity references used by this VirtualModel. A per-entry backend_format overrides the referenced ModelEntity backend_format when IGW resolves the backend format for a request.
Ordered list of middleware plugins applied before proxying to the backend. Each entry is a MiddlewareCall with a “name” (plugin identifier) and optional “config_type” and “config_id” fields that reference a stored plugin configuration.
Ordered list of middleware plugins invoked after the response has been returned to the caller. Intended for fire-and-forget work (logging, analytics) that must not block or modify the response.
Plugin-provided proxy implementation for IGW to use instead of its default aiohttp proxy. Format: “plugin-name.proxy-name”. Leave unset to use the default IGW proxy. Set to null to clear an existing value.
Response
Marks this VirtualModel as controller-managed. The Models controller will delete it once no ModelProvider serves the matching entity. Setting this manually opts the VirtualModel into that cleanup behavior.