Skip to main content
Checkout the documentation about steps for more information.

Create a step

uuid
required
The id of the thread
string
The type of the step
string
Starting time in string format
string
Ending time in string format
dict
A dictionary symbolizing an input. Prefer using content key to store a message.
dict
A dictionary symbolizing an output. Prefer using content key to store a message.
dict
Metadata as a dict
uuid
Parent ID in string format
string
Name in string format
List[string]
List of tags in string format

Return type

Step
Return a Step

Update a step

uuid
required
Id as a string
StepType
Type of the step as StepType
string
Input in string format
string
Output in string format
Dict
Metadata in dictionary format
string
Name in string format
List[string]
List of tags in string format
string
Start time as a string
string
End time as a string
uuid
Parent identifier as a string

Return type

Step
Return a Step

Get a step

uuid
required
Id as a string

Return type

Step
Return a Step, can be None if the step is not found

Delete a step

uuid
required
Id as a string

Send Steps

Useful to send multiple steps at the same time to the platform.

Return type

dict
GraphQL response in the format: {'data': {'step0': {'ok': True, 'message': None}}}