Create a thread.
API key for authentication
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).
raise, do_nothing The time-to-live for the thread.
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.
idle, busy, interrupted, error The thread config.
The current state of the thread.
The current interrupts of the thread.