Step
Create Read Update and Delete methods for Step
Checkout the documentation about steps for more information.
Create a step
The id of the thread
The type of the step
Starting time in string format
Ending time in string format
A dictionary symbolizing an input.
Prefer using content
key to store a message.
A dictionary symbolizing an output.
Prefer using content
key to store a message.
Metadata as a dict
Parent ID in string format
Name in string format
List of tags in string format
Return type
Return a Step
Update a step
Id as a string
Type of the step as StepType
Input in string format
Output in string format
Metadata in dictionary format
Name in string format
List of tags in string format
Start time as a string
End time as a string
Parent identifier as a string
Return type
Return a Step
Get a step
Id as a string
Return type
Return a Step, can be None if the step is not found
Delete a step
Id as a string
Send Steps
Useful to send multiple steps at the same time to the platform.
Return type
GraphQL response in the format: {'data': {'step0': {'ok': True, 'message': None}}}
Was this page helpful?