api.config
Single-config endpoint for indexed platform configuration values.
Unlike the build-time and run-time endpoints, /api/v1/config resolves exactly
one configuration key per request. The config registry in config.catalog
controls which keys are fetchable, how they are documented, and which callers
may request them.
get_config_value_endpoint
@router.get("/config", response_model=ConfigValueResponse)
def get_config_value_endpoint(
req: Request,
name: Annotated[str, Query(alias="name")] = "",
label: Annotated[str, Query(alias="label")] = ""
) -> ConfigValueResponse | JSONResponse
Return one indexed configuration value plus its ownership and usage metadata.
// was this page useful?