Create Read Update and Delete methods for Step
step = await client.api.create_step( thread_id="<THREAD_UUID>", type="undefined", )
Show properties
content
step = await client.api.update_step( id="<STEP_UUID>", type="user_message", )
step = await client.api.get_step( id="<STEP_UUID>", )
step = await client.api.delete_step( id="<STEP_UUID>", )
steps = [ { "thread_id": "<THREAD_UUID>", "type": "llm", }, { "thread_id": "<THREAD_UUID>", "type": "undefined", }, ] client.api.send_steps(steps=steps)
{'data': {'step0': {'ok': True, 'message': None}}}
Was this page helpful?