> ## 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.

# CommerceAgentHealthWarning

> A problem in the Commerce Agent's settings or knowledge that the merchant can fix.

**capability** `[CommerceAgentCapability](/docs/api-reference/v3/reference/commerce-agent/commerce-agent-capability)`

For CAPABILITY\_GUIDANCE: the capability whose guidance has the problem. Null otherwise.

**excerpt** `String`

The sentence holding `quote`, or the opening of an article, so the warning reads in context.

**kind** `[CommerceAgentHealthWarningKind!](/docs/api-reference/v3/reference/commerce-agent/commerce-agent-health-warning-kind)` *required*

What the warning is about.

**knowledgeArticleId** `ID`

For KNOWLEDGE\_ARTICLE: the `KnowledgeArticle` id. Null otherwise.

**message** `String!` *required*

What is wrong.

**position** `Int`

For GUIDELINE and ESCALATION\_RULE: the 0-based position in `guidelines` or `escalationGuidelines` of the same version of `commerceAgentConfig`. Null otherwise.

**quote** `String`

The exact text with the problem. Null when the problem is the whole piece.

**replacement** `String`

Text to put in place of `quote` to fix it. Null when there is no suggestion.

**strategyId** `ID`

For STRATEGY\_GUIDANCE: the `CommerceAgentStrategy` id. Null otherwise.

**title** `String!` *required*

The name of what has the problem: a guideline's or rule's text, a strategy's name or an article's title.


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