passthrough

Provider passthrough

Changed on

Runtime-configurable passthrough endpoint under /p/{provider}/{endpoint}; enabled by default via server.enable_passthrough_routes. The endpoint path is opaque and may proxy JSON, binary, or SSE responses with upstream status codes preserved. For multi-segment provider endpoints, clients that rely on OpenAPI-generated path handling should URL-encode embedded slashes in the endpoint parameter. A leading v1/ segment is normalized away by default so /p/{provider}/v1/... and /p/{provider}/... map to the same upstream path relative to the provider base URL.

patch/p/{provider}/{endpoint}

Request

  • Base URL
    http://localhost:8080
  • URL
    http://localhost:8080/p/{provider}/{endpoint}
  • Auth
    HTTP bearer

Path parameters

providerstring required

Provider type

endpointstring required

Provider-native endpoint path relative to the provider base URL. URL-encode embedded / characters when using generated clients.

Response

Opaque upstream response body

string binary required

Changes

    • info

      added the non-success response with the status

    • warning

      added the new internal_error enum value to the / response property for the response status (media type: application/json)

    • warning

      added the new internal_error enum value to the / response property for the response status (media type: application/octet-stream)

    • warning

      added the new internal_error enum value to the / response property for the response status (media type: text/event-stream)

    • warning

      added the new internal_error enum value to the / response property for the response status (media type: application/json)

    • warning

      added the new internal_error enum value to the / response property for the response status (media type: application/octet-stream)

    • warning

      added the new internal_error enum value to the / response property for the response status (media type: text/event-stream)

    • warning

      added the new internal_error enum value to the / response property for the response status (media type: application/json)

    • warning

      added the new internal_error enum value to the / response property for the response status (media type: application/octet-stream)

    • warning

      added the new internal_error enum value to the / response property for the response status (media type: text/event-stream)