---
schema_version: "1"
id: 0d450b984f7000a8e7f7a4e9201b992ffd5fafd1376864fb2a9260d51efd246d
title: Knowledge__ka
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_knowledge__ka.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_knowledge__ka.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 7ff3527a62b4b250023a297add8700afdc1044fb4d48bd69be55a52b876b77dd
description: Provides access to the concrete object that represents a Knowledge article, the parent object for article versions. This object is available in API version 39.0 and later.
---
# Knowledge\_\_ka

Provides access to the concrete object that represents a Knowledge article, the parent object for article versions. This object is available in API version 39.0 and later.

![Note](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/images/icon_note.png)

#### Note

By default, the prefix for this object name is Knowledge and that is the value shown in this reference. However, this prefix can be modified by changing the **Object Name** for the Knowledge\_\_kav object in Object Manager.

This object is derived from [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.").

## Supported Calls

delete(), describeLayout(), describeSObjects(), query(), retrieve(), undelete()

## Special Access Rules

Lightning Knowledge must be enabled in your org. A user must have the View Articles permission enabled. Salesforce Knowledge users, unlike customer and partner users, must also be granted the Knowledge User feature license.

## Fields

| Field | Details |
| --- | --- |
| ArchivedById | 
Type

reference

Properties

Filter, Group, Nillable, Sort

Description

The ID of the user who archived the article.



 |
| ArchivedDate | 

Type

dateTime

Properties

Filter, Nillable, Sort

Description

The date when the article was archived.



 |
| ArticleNumber | 

Type

string

Properties

Autonumber, Defaulted on create, Filter, idLookup, Sort

Description

The unique number automatically assigned to the article when it's created. You can't change the format or value for this field.



 |
| CaseAssociationCount | 

Type

int

Properties

Filter, Group, Sort

Description

The number of cases attached to the article.



 |
| FirstPublishedDate | 

Type

dateTime

Properties

Filter, Nillable, Sort

Description

The date when the article was first published.



 |
| LastPublishedDate | 

Type

dateTime

Properties

Filter, Nillable, Sort

Description

The date when the article was last published.



 |
| LastReferencedDate | 

Type

dateTime

Properties

Filter, Nillable, Sort

Description

The timestamp when the current user last accessed this record, a record related to this record, or a list view.



 |
| LastViewedDate | 

Type

dateTime

Properties

Filter, Nillable, Sort

Description

The timestamp when the current user last viewed this record or list view. If this value is null, the user might have only accessed this record or list view (LastReferencedDate) but not viewed it.



 |
| MasterLanguage | 

Type

picklist

Properties

Filter, Group, Restricted picklist, Sort

Description

The article's original language. Only accessible if your knowledge base supports multiple languages.



 |
| MigratedToFromArticle | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

The ID for the corresponding pre- or post-migration article. Contains values only in orgs that migrate from Knowledge in Salesforce Classic to Lightning Knowledge. This field is available in API version 45.0 and later.



 |
| TotalViewCount | 

Type

int

Properties

Filter, Group, Nillable, Sort

Description

Total number of views for this article. This field is available in API version 39.0 and later.



 |