kernl
ReferencekernlInterfaces

Interface: ThreadsListParams

Defined in: packages/kernl/src/api/resources/threads/types.ts:29

Extends

  • CursorPageParams

Properties

PropertyTypeDescriptionInherited fromDefined in
after?DateOnly 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?DateOnly include threads created before this timestamp.-packages/kernl/src/api/resources/threads/types.ts:43
cursor?stringPagination cursor returned from a previous page. If omitted, starts from the beginning of the collection.CursorPageParams.cursorpackages/shared/dist/pagination/cursor.d.ts:10
limit?numberMaximum number of items to return in a single page.CursorPageParams.limitpackages/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

On this page