Skip to content
Developer Preview

SessionModelEndpointTransportOverride

Experimental

the per-session model endpoint transport override, mirroring the tbh-config EndpointTransportConfig fields under MSP camelCase wire names (base_url -> baseUrl, http_headers -> httpHeaders, and so on; the mTLS path fields travel as strings, paths being a host concern). Every field is optional; all absent is the default transport. Resolution against managed egress policy is a later slice.

  • allowOpenai — Experimental
  • auth — Experimental
  • baseUrl — Experimental
  • caBundle — Experimental
  • clientCert — Experimental
  • clientKey — Experimental
  • envHttpHeaders — Experimental
  • httpHeaders — Experimental
  • proxy — Experimental
Source

schema/msp/experimental/msp.schema.json#/types/SessionModelEndpointTransportOverride

{
"description": "the per-session model endpoint transport override, mirroring\nthe `tbh-config` `EndpointTransportConfig` fields under MSP camelCase\nwire names (`base_url` -> `baseUrl`, `http_headers` -> `httpHeaders`,\nand so on; the mTLS path fields travel as strings, paths being a host\nconcern). Every field is optional; all absent is the default\ntransport. Resolution against managed egress policy is a later slice.",
"properties": {
"allowOpenai": {
"description": "Closed grant allowing an explicit OpenAI URL to reuse this block.",
"type": "boolean"
},
"auth": {
"$ref": "#/$defs/SessionEndpointTransportAuthMode",
"description": "Auth mode. Absent = `bearer` (the default transport behavior)."
},
"baseUrl": {
"description": "Endpoint base URL. Configuration diagnostics never echo it.",
"type": "string"
},
"caBundle": {
"description": "Optional CA bundle (PEM) to trust for the server side.",
"type": "string"
},
"clientCert": {
"description": "Path to the mTLS client certificate (PEM).",
"type": "string"
},
"clientKey": {
"description": "Path to the mTLS client private key (PEM).",
"type": "string"
},
"envHttpHeaders": {
"additionalProperties": {
"type": "string"
},
"description": "Provider header name -> environment variable name.",
"type": "object"
},
"httpHeaders": {
"additionalProperties": {
"type": "string"
},
"description": "Literal provider request headers.",
"type": "object"
},
"proxy": {
"description": "An explicit HTTP proxy URL. Diagnostics never echo it.",
"type": "string"
}
},
"type": "object",
"x-msp-descriptor": "SessionConfig.modelEndpointTransportOverride",
"x-msp-stability": "experimental"
}