Interface: ThreadsListParams
Defined in: packages/kernl/src/api/resources/threads/types.ts:29
Extends
CursorPageParams
Properties
| Property | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|
after? | Date | Only include threads created after this timestamp. | - | packages/kernl/src/api/resources/threads/types.ts:38 |
agentId? | string | - | - | packages/kernl/src/api/resources/threads/types.ts:31 |
before? | Date | Only include threads created before this timestamp. | - | packages/kernl/src/api/resources/threads/types.ts:43 |
cursor? | string | Pagination cursor returned from a previous page. If omitted, starts from the beginning of the collection. | CursorPageParams.cursor | packages/shared/dist/pagination/cursor.d.ts:10 |
limit? | number | Maximum number of items to return in a single page. | CursorPageParams.limit | packages/shared/dist/pagination/base.d.ts:8 |
namespace? | string | - | - | packages/kernl/src/api/resources/threads/types.ts:30 |
order? | { createdAt?: SortOrder; updatedAt?: SortOrder; } | - | - | packages/kernl/src/api/resources/threads/types.ts:45 |
order.createdAt? | SortOrder | - | - | packages/kernl/src/api/resources/threads/types.ts:46 |
order.updatedAt? | SortOrder | - | - | packages/kernl/src/api/resources/threads/types.ts:47 |
parentTaskId? | string | - | - | packages/kernl/src/api/resources/threads/types.ts:33 |
state? | | ThreadState | ThreadState[] | - | - | packages/kernl/src/api/resources/threads/types.ts:32 |