Is evaluating a segment means - with a segment name and ID
Is it just doing the segmentation based on segment logic or finding out details about the segment after the segmentation?
For evaluating the segment I see following Segmentation End Point
curl -X POST https://platform.adobe.io/data/core/ups/segment/jobs \ -H 'Authorization: Bearer {ACCESS_TOKEN}' \ -H 'Content-Type: application/json' \ -H 'x-gw-ims-org-id: {ORG_ID}' \ -H 'x-api-key: {API_KEY}' \ -H 'x-sandbox-name: {SANDBOX_NAME}' \ -d '[ { "segmentId": "7863c010-e092-41c8-ae5e-9e533186752e" } ]'
curl -X GET https://platform.adobe.io/data/core/ups/segment/jobs/d3b4a50d-dfea-43eb-9fca-557ea53771fd \
-H 'Authorization: Bearer {ACCESS_TOKEN}' \
-H 'x-gw-ims-org-id: {ORG_ID}' \
-H 'x-api-key: {API_KEY}' \
-H 'x-sandbox-name: {SANDBOX_NAME}'
What is the basic difference between Evaluating and Retrieving?
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @Prithwiraj_Deb -
Segment Evaluation API is used for evaluating the segments in AEP. Since segment evaluations in AEP are conducted once every 24 hours, there are instances where on-demand evaluations are necessary. This API proves invaluable in such cases. To utilize this API, you simply need to pass the segment ID you wish to evaluate. In return, you receive an 'id' field along with other relevant parameters.
Additionally, the Retrieve a Segment Job API provides the status of a segment evaluation. By inputting the segment_job_id parameter (essentially the 'id' field obtained from the Segment Evaluation API), you can obtain the status, which may be one of the following: New, Queued, Processing, or Succeeded."
Hi @Prithwiraj_Deb -
Segment Evaluation API is used for evaluating the segments in AEP. Since segment evaluations in AEP are conducted once every 24 hours, there are instances where on-demand evaluations are necessary. This API proves invaluable in such cases. To utilize this API, you simply need to pass the segment ID you wish to evaluate. In return, you receive an 'id' field along with other relevant parameters.
Additionally, the Retrieve a Segment Job API provides the status of a segment evaluation. By inputting the segment_job_id parameter (essentially the 'id' field obtained from the Segment Evaluation API), you can obtain the status, which may be one of the following: New, Queued, Processing, or Succeeded."
Views
Likes
Replies