Body
application/json
Payload for creating a thread.
The ID of the thread. If not provided, a random UUID will be generated.
Metadata to add to thread.
How to handle duplicate creation. Must be either 'raise' (raise error if duplicate), or 'do_nothing' (return existing thread).
Available options:
raise, do_nothing The time-to-live for the thread.
Response
Success
The ID of the thread.
The time the thread was created.
The last time the thread was updated.
The thread metadata.
The status of the thread.
Available options:
idle, busy, interrupted, error The thread config.
The current state of the thread.
The current interrupts of the thread.