Passing arguments to bokeh server_document

Hi,
I’m using bokeh with fastapi
I’ve followed what has been done in panel-multi

@router.get("/{model}", response_class=HTMLResponse, name='run_panel')
def panel(request: Request, model: str):
    if model not in titles:
        raise HTTPException(status_code=404, detail="Item not found")

    url = f"http://0.0.0.0:5006/panel/{model}"
    script = server_session(session_id=generate_session_id(SECRET_KEY, signed=True), url=url)
    
    return templates.TemplateResponse('records/panel.html', {
        "request": request,
        "script": script,
        "title": titles[model],
        **GLOBAL_CONTEXT,
    })

pn.serve(
    serving,
    port=5006,
    allow_websocket_origin=ALLOWED_HOSTS,
    address="0.0.0.0",
    show=False,
    sign_sessions=True,
    secret_key=SECRET_KEY,
    generate_session_ids=False,
    num_process=1 if os.name == "nt" else 2,
)

It works fine.

Now I would like to add some arguments to server_session.
With latest bokeh version it’s no longer possible so I tried to use server_document instead:
script = server_document(url=url, arguments= {"ID": 'tut'})

When I’m trying to use server_document, I end up with this warning

WARNING:tornado.access:403 GET /panel/mrecordpanel/autoload.js?bokeh-autoload-element=1002&bokeh-app-path=/panel/mrecordpanel&bokeh-absolute-url=http://0.0.0.0:5006/panel/mrecordpanel&ID=tut (127.0.0.1) 0.85ms

and no graph is displayed…

I must be missing some points here
Any help would be great,
Best