Skip to content

Run workflow to (re)generate parent segment

Request

Run the workflow to generate or regenerate a parent segment.

Security
TdApikeyAuth
Path
audienceIdinteger, (int64)required

Master Segment Config id to delete

curl -i -X POST \
  'https://api-cdp.treasuredata.com/audiences/{audienceId}/run' \
  -H 'Authorization: YOUR_API_KEY_HERE'

Responses

Succeeded to run the workflow

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
audienceIdstring, (integer)
Response
{ "workflowId": "string", "workflowSessionId": "string", "createdAt": "2019-08-24T14:15:22Z", "finishedAt": "2019-08-24T14:15:22Z", "status": "success", "workflowAttemptId": "string", "audienceId": "string" }