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
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:
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:
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
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
SAP Knowledge Base Article - Public