SAP Knowledge Base Article - Public

3777369 - [Joule in SAP SuccessFactors] How to use API to verify the documents present in the Metadata Server

Symptom

  • How to use API to verify the documents present in the Metadata Server?

Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.   

Environment

  • SAP SuccessFactors HCM Suite

Resolution

1. Open Bruno, and Create a GET request from Bruno by below endpoint URL:

https://<<SF_Domain_URL>>/rest/foundation/intelligence/generativeai/explainpay/v1/dg-pipeline/metadata?aiUseCase=HR Policy QA&$skip=0&$count=true&$top=400   
image
 2. In Headers, input 2 parameters and its values:

X-Csrf-Token : open inspect tool in browser > navigate to manage document grounding page, in network column, find the SharePoint_OAuth_Integration request > Headers,  to capture details of X-Csrf-Token value:
image

Cookies: open inspect tool in browser > navigate to manage document grounding page, in network column, find the SharePoint_OAuth_Integration request > Headers to capture details of Cookies value:
image
 

and send the GET request in Bruno, you will get the full payload of the documents present in the Metadata Server with metadata tagging details.

See Also

3739806 - Basic information required for troubleshooting Joule Document Grounding issues in SuccessFactors - SAP for Me

Keywords

AI, SuccessFactors, Joule, troubleshooting, DGS, Document Grounding Service, Pipeline, pipeline, Ask HR Policy, HR Policy Q&A Contextualization, Joule in SF, SFSF, Metadata, Sharepoint, HR Policy, Manage Document Grounding page, metadata, metadata API, bruno, call, GET , KBA , LOD-SF-PLT-JOU , Joule in SuccessFactors , How To

Product

SAP SuccessFactors HCM Suite all versions