Search for threads.
This endpoint also functions as the endpoint to list all threads.
API key for authentication
Payload for listing threads.
List of thread IDs to include. Others are excluded.
Thread metadata to filter on.
State values to filter on.
Thread status to filter on.
idle, busy, interrupted, error Maximum number to return.
1 <= x <= 1000Offset to start from.
x >= 0Sort by field.
thread_id, status, created_at, updated_at Sort order.
asc, desc Specify which fields to return. If not provided, all fields are returned.
thread_id, created_at, updated_at, metadata, config, context, status, values, interrupts 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.