Skip to main content
GET
JSON Schema for the KB middleware's tunable parameters

Headers

x-user-id
string
required

Caller's user ID. Temporary header-based identity; will be replaced by JWT auth.

Response

Successful Response

Response body exposing the KB middleware's parameters schema.

The schema is derived from :class:agentscope.middleware.RAGMiddleware.Parameters via model_json_schema() so the front-end can render the session-level KB attachment form with the same schema-driven component used for model parameters.

parameter_schema
Parameter Schema · object
required

JSON Schema produced by RAGMiddleware.Parametersmodel_json_schema(). Shaped identically to the parameter_schema field on ModelCard.