---
schema_version: "1"
id: 145553fe073911235e8ad2ca789dcc0826e91c7746fcb746d32654e32531c947
title: KnowledgeArticleVoteStat
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_knowledgearticlevotestat.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_knowledgearticlevotestat.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 97184f28a14f1b4bc2fd5548f0f7a27167f1b88558272203c006d16772489eb5
description: Provides the weighted rating for the specified article on a scale of 1 to 5 across all article types. This object is read-only and available in API version 20.0 and later.
---
# KnowledgeArticleVoteStat

Provides the weighted rating for the specified article on a scale of 1 to 5 across all article types. This object is read-only and available in API version 20.0 and later.

Knowledge\_\_VoteStat is derived from this object.

## Supported Calls

describeSObjects(), query(), retrieve()

## Special Access Rules

Knowledge must be enabled in your org. Users must have access to the published version of an article to retrieve its votes. For more information on published article version, see the PublishStatus field in KnowledgeArticleVersion

## Fields

| Field Name | Details |
| --- | --- |
| Channel | 
Type

picklist

Properties

Filter, Group, Restricted picklist, Sort

Description

The channel where the article is rated:

- AllChannels for article views across all channels.
- App for the internal Salesforce Knowledge application.
- Pkb for article views in public knowledge base.
- Csp for Customer Portal.
- Prm for article view in partner portal.





 |
| NormalizedScore | 

Type

double

Properties

Filter, Nillable, Sort

Description

Article's weighted score on a scale of 1 to 5. A higher score means more votes. Articles without recent votes trend towards an average rating of three stars.



 |
| ParentId | 

Type

reference

Properties

Filter, Group, Sort

Description

The rated article. This corresponds to a KnowledgeArticle record.



 |

## Usage

Use this object to query or retrieve the rating for an article.

Alternatively, client applications can use the article type API Name followed by \_\_VoteStat to query or retrieve the rating for an article for a specific article type.

## SOQL Samples

See KnowledgeArticleViewStat.

#### See Also

- [KnowledgeArticle](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_knowledgearticle.htm "Provides read-only access to an article and the ability to delete the primary article. This object is available in API version 19.0 and later.")
- [KnowledgeArticleVersion](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_knowledgearticleversion.htm "Provides a global view of standard article fields across all types of articles depending on their version. This object is available in API version 18.0 and later.")
- [KnowledgeArticleViewStat](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_knowledgearticleviewstat.htm "Provides certain statistics related to the number of views for the specified article across all article types. The view count statistics are for published and archived articles only. View counts for draft articles aren’t tracked. This object is read-only and available in API version 20.0 and later.")