Skip to content

Interface: ListActionReviewsOptions

@kortexya/reasoninglayer


@kortexya/reasoninglayer / ListActionReviewsOptions

Defined in: src/types/action-reviews.ts:42

Filters and pagination for GET /api/v1/action-reviews/pending.

Every field is optional; omit the argument entirely to list the first page of pending action reviews.

There is deliberately no tenantId field. The route accepts a tenant_id query parameter for wire-compatibility but ignores it: the tenant is always the authenticated principal’s, taken from the X-Tenant-Id header.

optional actionSort?: string

Defined in: src/types/action-reviews.ts:46

Return only actions of this sort (e.g. "llm_generate", "file_write").


optional agentId?: string

Defined in: src/types/action-reviews.ts:44

Return only actions proposed by this agent (UUID), including the reviews its cycle queued.


optional page?: number

Defined in: src/types/action-reviews.ts:52

Zero-indexed page number. Defaults to 0 server-side.


optional pageSize?: number

Defined in: src/types/action-reviews.ts:54

Entries per page. Defaults to 50 server-side.


optional pendingOnly?: boolean

Defined in: src/types/action-reviews.ts:50

Restrict to reviews still pending a decision. Defaults to true server-side.


optional reason?: ActionReviewReasonFilter

Defined in: src/types/action-reviews.ts:48

Return only actions held for this reason.