Expand my Community achievements bar.

SOLVED

What does Evaluating a Segment means?

Avatar

Level 3

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"
    }
 ]'

 

For retrieving a specific segment job

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? 

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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."

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

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."