Skip to content

Train predictive scoring model (legacy)

Request

Train a predictive scoring model.


This endpoint is for Audience Studio legacy. For the latest Audience Studio, contact your Customer Success Representative.

Path
audienceIdinteger, (int64)required
predictiveSegmentIdinteger, (int64)required
curl -i -X POST \
  'https://api-cdp.treasuredata.com/audiences/{audienceId}/predictive_segments/{predictiveSegmentId}/run'

Responses

Succeeded to run the Predictive Segment

Bodyapplication/json
workflowIdstring[1-9][0-9]*|0required
workflowSessionIdstring[1-9][0-9]*required
createdAtstring, (date-time)required
finishedAtstring or null, (date-time)required
statusstringrequired
Enum:"success""canceled""error""canceling""blocked""queued""running"
workflowAttemptIdstring[1-9][0-9]*required
predictiveSegmentIdstring, (integer)
Response
{ "workflowId": "string", "workflowSessionId": "string", "createdAt": "2019-08-24T14:15:22Z", "finishedAt": "2019-08-24T14:15:22Z", "status": "success", "workflowAttemptId": "string", "predictiveSegmentId": "string" }