> ## Documentation Index
> Fetch the complete documentation index at: https://developers.redo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# productKnowledgeEntriesSearch

> Search the store's product knowledge entries by linked product title, newest first, as the Products tab's search does; `productKnowledgeEntriesSearchCount` is its total. Pages are positional, so an entry added or removed while paging can shift one between pages; `productKnowledgeEntries` is the list to sync from. Pages only the first 10100 results: a page past them is BAD_USER_INPUT.

**Required scopes:** [`commerce_agent_knowledge_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-commerce_agent_knowledge_read)

## Arguments

**after** `String`

Forward pagination cursor — returns entries after it.

**before** `String`

Backward pagination cursor — returns entries before it.

**first** `Int`

Forward pagination: returns the first N entries (max 100, default 25). Use with `after`; mutually exclusive with `last`/`before`.

**last** `Int`

Backward pagination: returns the last N entries (max 100, default 25). Use with `before`; mutually exclusive with `first`/`after`.

**reverse** `Boolean`

Oldest first, as the Products tab's sort by created date ascending.

**statuses** `[\[KnowledgeArticleStatus!\]](/docs/api-reference/v3/reference/commerce-agent/knowledge-article-status)`

Only entries in one of these statuses, as the Products tab's status filter picks several. Omitted or empty: every status.

**text** `String`

Matches the titles of the products an entry is linked to, never its content, as the Products tab's search does. At most 200 characters; longer fails with QUERY\_TOO\_LONG.

## Returns

**productKnowledgeEntriesSearch** `[ProductKnowledgeEntryConnection!](/docs/api-reference/v3/pagination)` *required*

A paginated list of ProductKnowledgeEntry items.

**fields**

**edges** `[\[ProductKnowledgeEntryEdge!\]!](/docs/api-reference/v3/pagination)` *required*

The list of edges (each a node plus its pagination `cursor`).

**fields**

**cursor** `String!` *required*

Opaque cursor for this item; pass to `after`/`before` to page from here.

**node** `[ProductKnowledgeEntry!](/docs/api-reference/v3/reference/commerce-agent/product-knowledge-entry)` *required*

The item at this edge.

**fields**

**content** `String!` *required*

The entry's text as authored.

**createdAt** `[DateTime!](/docs/api-reference/v3/reference/common/date-time)` *required*

When the entry was created.

**id** `ID!` *required*

The id of this product knowledge entry.

**productFamilies** `[ProductFamilyConnection!](/docs/api-reference/v3/pagination)` *required*

The products this entry is linked to, by title, as the Products tab lists them. Deleted products are left out.

**Requires:** [`products_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-products_read)

**fields**

**Arguments**

**after** `String`

Forward pagination cursor — returns products after it.

**before** `String`

Backward pagination cursor — returns products before it.

**first** `Int`

Forward pagination: returns the first N products (max 100, default 25). Use with `after`; mutually exclusive with `last`/`before`.

**last** `Int`

Backward pagination: returns the last N products (max 100, default 25). Use with `before`; mutually exclusive with `first`/`after`.

**status** `[KnowledgeArticleStatus!](/docs/api-reference/v3/reference/commerce-agent/knowledge-article-status)` *required*

Whether Commerce Agent uses this entry. It answers shoppers with ACTIVE entries only; its knowledge preview also reads DRAFT ones.

**updatedAt** `[DateTime!](/docs/api-reference/v3/reference/common/date-time)` *required*

When the entry was last changed.

**nodes** `[\[ProductKnowledgeEntry!\]!](/docs/api-reference/v3/reference/commerce-agent/product-knowledge-entry)` *required*

The nodes in this page, without the edge/cursor wrapper — a convenience over `edges`.

**fields**

**content** `String!` *required*

The entry's text as authored.

**createdAt** `[DateTime!](/docs/api-reference/v3/reference/common/date-time)` *required*

When the entry was created.

**id** `ID!` *required*

The id of this product knowledge entry.

**productFamilies** `[ProductFamilyConnection!](/docs/api-reference/v3/pagination)` *required*

The products this entry is linked to, by title, as the Products tab lists them. Deleted products are left out.

**Requires:** [`products_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-products_read)

**fields**

**Arguments**

**after** `String`

Forward pagination cursor — returns products after it.

**before** `String`

Backward pagination cursor — returns products before it.

**first** `Int`

Forward pagination: returns the first N products (max 100, default 25). Use with `after`; mutually exclusive with `last`/`before`.

**last** `Int`

Backward pagination: returns the last N products (max 100, default 25). Use with `before`; mutually exclusive with `first`/`after`.

**Fields**

**edges** `[\[ProductFamilyEdge!\]!](/docs/api-reference/v3/pagination)` *required*

The list of edges (each a node plus its pagination `cursor`).

**nodes** `[\[ProductFamily!\]!](/docs/api-reference/v3/reference/catalog/product-family)` *required*

The nodes in this page, without the edge/cursor wrapper — a convenience over `edges`.

**pageInfo** `[PageInfo!](/docs/api-reference/v3/pagination)` *required*

Pagination metadata for the current page.

**status** `[KnowledgeArticleStatus!](/docs/api-reference/v3/reference/commerce-agent/knowledge-article-status)` *required*

Whether Commerce Agent uses this entry. It answers shoppers with ACTIVE entries only; its knowledge preview also reads DRAFT ones.

**updatedAt** `[DateTime!](/docs/api-reference/v3/reference/common/date-time)` *required*

When the entry was last changed.

**pageInfo** `[PageInfo!](/docs/api-reference/v3/pagination)` *required*

Pagination metadata for the current page.

**fields**

**endCursor** `String`

Cursor of the last edge in this page; pass to `after` to page forward.

**hasNextPage** `Boolean!` *required*

Whether more items exist after this page (drives forward pagination with `first`/`after`).

**hasPreviousPage** `Boolean!` *required*

Whether more items exist before this page (drives backward pagination with `last`/`before`).

**startCursor** `String`

Cursor of the first edge in this page; pass to `before` to page backward.

## Example

```graphql theme={null}
query {
  productKnowledgeEntriesSearch(after: "...", before: "...", first: 10, last: 10, reverse: true, statuses: ACTIVE, text: "...") {
    nodes {
      content
      createdAt
      id
      status
      updatedAt
    }
    pageInfo { hasNextPage endCursor }
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.