Library Output Representation

A representation of an Agentforce data library.
Here are the properties.
Property Type Description Available Version
libraryId string Library ID. 66.0
masterLabel string Master label. 66.0
developerName string API name for library. 66.0
description string Library description. 66.0
sourceType string SFDRIVE, KNOWLEDGE, RETRIEVER, or SITEMAP. 66.0
createdDate string Date the library was created (populated on POST response). 66.0
dataSpaceScopeId string DataSpaceScope ID. 66.0
status string Overall status (LibraryStatusEnum): READY, IN_PROGRESS, FAILED, UNKNOWN, INCOMPLETE, or NO_SOURCES. 66.0
fileAdlMode integer Reserved for internal use 66.0
retrieverId string Retriever ID (present when applicable). 66.0
retrieverLabel string Retriever label (present when applicable). 66.0
groundingSource object GroundingSourceOutputRepresentation 66.0
featureAssignments array Features this library is assigned to (for example, SERVICE_REPLIES, EINSTEIN_BOTS). Returns an empty array when no assignments are found. 67.0

Each item includes a groundingSource with type-specific details (file refs for SFDRIVE, knowledge configuration for KNOWLEDGE, retriever for RETRIEVER).

GroundingSourceOutputRepresentation is returned in list, detail, and creation responses. The shape depends on groundingSourceType.

groundingSourceType Populated fields (others may be null/absent) Available Version
SFDRIVE indexMode, groundingFileRefs, totalFileCount 66.0
KNOWLEDGE knowledgeConfig (KnowledgeConfigOutputRepresentation) 66.0
RETRIEVER retrieverId, retrieverLabel 66.0
SITEMAP (no additional fields) 66.0

Common discriminator property: groundingSourceType.