Newer Version Available

This content describes an older version of this product. View Latest

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, or RETRIEVER. 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

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 fileUploadUrls, groundingFileRefs 66.0
KNOWLEDGE knowledgeConfig (KnowledgeConfigOutputRepresentation) 66.0
RETRIEVER retrieverId, retrieverLabel 66.0

Common discriminator property: groundingSourceType.