Magidoc

aiPromptCompletions
Query

Prompt completion history from the AI server (Scope Admin or AI Evaluator).

Arguments

#

after

Returns the elements in the list that come after the specified cursor.

afterIndex

Returns the elements in the list that come after the specified index.

before

Returns the elements in the list that come before the specified cursor.

beforeIndex

Returns the elements in the list that come before the specified index.

dateRange

Filter by completion date range.

first

Returns the first n elements from the list.

fullText

Full-text search across prompt and related fields.

last

Returns the last n elements from the list.

orderBy

Sort field and direction (see AI server contract for attribute names).

Response

#

Returns QueryAiPromptCompletionConnection !.

Example

#