[{"data":1,"prerenderedAt":75},["ShallowReactive",2],{"docs:\u002Fdocs\u002Fintegrations\u002Fopenai-assistants":3},{"id":4,"title":5,"body":6,"description":65,"extension":66,"meta":67,"navigation":68,"path":71,"seo":72,"stem":73,"__hash__":74},"docs\u002Fdocs\u002Fintegrations\u002Fopenai-assistants.md","OpenAI Assistants (hosted)",{"type":7,"value":8,"toc":60},"minimark",[9,13,18,29,42,46],[10,11,12],"p",{},"For hosted Assistants where the run executes inside OpenAI's infrastructure, poll the Run and Step list APIs and forward each step to your Iqrar Worker.",[14,15,17],"h2",{"id":16},"architecture","Architecture",[19,20,25],"pre",{"className":21,"code":23,"language":24},[22],"language-text","OpenAI Assistants ─▶ Run\u002FStep list API (poll) ─▶ small bridge ─▶ Iqrar \u002Ftelemetry\n","text",[26,27,23],"code",{"__ignoreMap":28},"",[10,30,31,32,37,38,41],{},"For self-hosted code that calls Assistants programmatically, prefer the ",[33,34,36],"a",{"href":35},"\u002Fdocs\u002Fintegrations\u002Fopenai","OpenAI SDK integration"," — ",[26,39,40],{},"iqrar.wrap(new OpenAI())"," instruments the client directly without polling.",[14,43,45],{"id":44},"see-also","See also",[47,48,49],"ul",{},[50,51,52,55,56],"li",{},[33,53,54],{"href":35},"OpenAI (TS)"," · ",[33,57,59],{"href":58},"\u002Fdocs\u002Fintegrations\u002Fhttp","HTTP API",{"title":28,"searchDepth":61,"depth":61,"links":62},2,[63,64],{"id":16,"depth":61,"text":17},{"id":44,"depth":61,"text":45},"Bridge OpenAI's hosted Assistants runs into Iqrar via the Run\u002FStep list APIs.","md",{},{"title":69,"order":70},"OpenAI Assistants",53,"\u002Fdocs\u002Fintegrations\u002Fopenai-assistants",{"title":5,"description":65},"docs\u002Fintegrations\u002Fopenai-assistants","sCP_dCbiwiwePmVHClR7VRkNF4nl2aYYveZ8cxlytjc",1778066782274]