{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreihh25n2dgnkzw2evpueofbpouuoqgt7txdngdwicwfmhxidynr2qq",
"uri": "at://did:plc:lk3jfj3zq4k4wxnk474axylu/app.bsky.feed.post/3mfmsxadnlhf2"
},
"path": "/t/chatkit-container-id-attach-to-existing-container-in-session-creation/1374995#post_2",
"publishedAt": "2026-02-24T18:35:51.000Z",
"site": "https://community.openai.com",
"tags": [
"docs",
"Shell guide",
"@PL"
],
"textContent": "Hey @PL, totally get why you’d want that.\n\nRight now there isn’t a way to attach a Hosted ChatKit session to an existing container ID during session creation. The session API supports things like state_variables, history, and file uploads, but there’s no container binding field exposed. You can see the full parameter list in the docs.\n\nIf you mainly need to preload config or context, passing it through state_variables is the cleanest approach. If you’re looking for a fully prepared shell environment with specific packages or filesystem state, you’ll likely want to run the shell tool in your own infrastructure using the Shell guide instead of Hosted ChatKit.",
"title": "Chatkit Container ID - Attach to existing Container in Session Creation"
}