Skip to main content
Required scopes: commerce_agent_knowledge_read

Arguments

String
Forward pagination cursor — returns entries after it.
String
Backward pagination cursor — returns entries before it.
Int
Forward pagination: returns the first N entries (max 100, default 25). Use with after; mutually exclusive with last/before.
Which kinds to list, as the Knowledge page’s type filter picks them. Omitted or empty: both.
Int
Backward pagination: returns the last N entries (max 100, default 25). Use with before; mutually exclusive with first/after.
Boolean
Reverses the sort: oldest first, or least used first. A text search takes no reverse.
Which key to sort by, CREATED_AT when omitted. A text search sorts by match and takes no sort.
Only entries in one of these statuses, as the Knowledge page’s status filter picks several. Omitted or empty: every status.
String
Only entries whose text matches, at most the 200 best matches, best match first, as the knowledge tab’s search finds them. At most 200 characters; longer fails with QUERY_TOO_LONG.

Returns

A paginated list of KnowledgeEntry items.

Example