When you configure an export, import, or other type of flow step using the prebuilt Treasure Data connector, you can select any of the API operations listed below*, organized by API type.
Note
If your API endpoint isn’t listed here, switch the flow step to HTTP mode and configure the endpoint provided in the Treasure Data API documentation. *You can also create a composite endpoint for this application in HTTP mode.
|
Resource |
API endpoint |
Export |
Import |
|---|---|---|---|
|
Access control permissions |
Show column permissions |
X |
|
|
Show policy permissions |
X |
||
|
Update column permissions |
X |
||
|
Update policy permissions |
X |
||
|
Access control policies |
Get access control policies |
X |
|
|
Get an access control policy |
X |
||
|
Get user policies |
X |
||
|
Create an access control policy |
X |
||
|
Update an access control policy |
X |
||
|
Delete an access control policy |
X |
||
|
Update user policies |
X |
||
|
Attach a policy to a user |
X |
||
|
Detach a policy from a user |
X |
||
|
Attach a user to a policy |
X |
||
|
Detach a user from a policy |
X |
||
|
Access control policy groups |
Get access control policy groups |
X |
|
|
Get an access control policy group |
X |
||
|
Get an access control policy group's policies |
X |
||
|
Create an access control policy group |
X |
||
|
Update an access control policy group |
X |
||
|
Delete an access control policy group |
X |
||
|
Update an access control policy group's policies |
X |
||
|
Access control users |
Get access control users |
X |
|
|
Get access control user |
X |
||
|
Get policy users |
X |
||
|
Update access control user permissions |
X |
||
|
Update policy users |
X |
||
|
Activations |
Retrieve list of activations in segment |
X |
|
|
Create activation |
X |
||
|
Retrieve activation by ID |
X |
||
|
Update activation |
X |
||
|
Delete activation |
X |
||
|
Run activation (legacy) |
X |
||
|
Retrieve list of activations in audience |
X |
||
|
Retrieve list of activations |
X |
||
|
Create activation |
X |
||
|
Retrieve list of activations |
X |
||
|
Update activation |
X |
||
|
Delete activation |
X |
||
|
Run activation |
X |
||
|
Retrieve list of activations by parent segment |
X |
||
|
Connections |
Get connections |
X |
|
|
Get connection ID by name |
X |
||
|
Create connection |
X |
||
|
Delete connection |
X |
||
|
Validate connector config |
X |
||
|
Databases |
Get databases |
X |
|
|
Get database |
X |
||
|
Create database |
X |
||
|
Delete database |
X |
||
|
Folders |
Create new segment folder |
X |
|
|
Retrieve single segment folder |
X |
||
|
Update segment folder (legacy) |
X |
||
|
Delete segment folder (legacy) |
X |
||
|
Move segment into folder (legacy) |
X |
||
|
Retrieve list of objects under specified folder |
X |
||
|
Create folder |
X |
||
|
Retrieve folder by ID |
X |
||
|
Update folder |
X |
||
|
Delete folder |
X |
||
|
Funnels |
List of funnels |
X |
|
|
Create funnel (legacy) |
X |
||
|
Retrieve funnel by ID |
X |
||
|
Update funnel (legacy) |
X |
||
|
Delete funnel (legacy) |
X |
||
|
Clone funnel |
X |
||
|
Retrieve the population statistics of a funnel and its funnel stages |
X |
||
|
Create funnel |
X |
||
|
Retrieve funnel by ID |
X |
||
|
Update funnel |
X |
||
|
Delete funnel |
X |
||
|
Retrieve population statistics of funnel stage |
X |
||
|
Retrieve list of funnels by parent segment |
X |
||
|
Jobs |
Get jobs |
X |
|
|
Get job |
X |
||
|
Get job status by ID |
X |
||
|
Get job status by domain Key |
X |
||
|
Get job statistics by ID |
X |
||
|
Get job results |
X |
||
|
Create job |
X |
||
|
Kill job by ID |
X |
||
|
Set result export |
X |
||
|
Create export job |
X |
||
|
Create partial delete job |
X |
||
|
Journeys |
Create journey |
X |
|
|
Retrieve summary of specified journey |
X |
||
|
Update journey entity |
X |
||
|
Delete journey entity |
X |
||
|
Update meta field |
X |
||
|
Create a duplicate of the specified journey |
X |
||
|
Retrieve journey statistics |
X |
||
|
Retrieve list of profiles in journey |
X |
||
|
Retrieve list of segment rules available in audience |
X |
||
|
Retrieve list of journey activations in journey |
X |
||
|
Retrieve summary of activation node in journey |
X |
||
|
Update activation node in journey |
X |
||
|
Parent segment configurations |
Retrieve list of parent segment configurations |
X |
|
|
Create new parent segment configuration |
X |
||
|
Retrieve parent segment configuration by ID |
X |
||
|
Update parent segment configuration |
X |
||
|
Delete parent segment configuration |
X |
||
|
Retrieve list of audience attributes |
X |
||
|
Retrieve list of audience behaviors |
X |
||
|
Run workflow to regenerate parent segment |
X |
||
|
Retrieve list of executions using audience ID |
X |
||
|
Retrieve population statistics audience |
X |
||
|
Retrieve list of values for a parent segment configuration's attribute |
X |
||
|
Retrieve list of sample values for a parent segment configuration's behavior |
X |
||
|
Parent segments |
Retrieve list of segment folders |
X |
|
|
Retrieve audience data |
X |
||
|
Retrieve list of parent segments |
X |
||
|
Retrieve parent segment by ID |
X |
||
|
Policy group tags |
Get the delegated admins of a policy group |
X |
|
|
Get the users of a policy group |
X |
||
|
Update the delegated admins of a policy group |
X |
||
|
Update the users of a policy group |
X |
||
|
Predictive segments |
Retrieve list of predictive scoring models |
X |
|
|
Create predictive scoring model (legacy) |
X |
||
|
Retrieve predictive scoring model |
X |
||
|
Update predictive scoring model (legacy) |
X |
||
|
Delete predictive scoring model (legacy) |
X |
||
|
Retrieve predictive scoring model executions |
X |
||
|
Retrieve guessed rule |
X |
||
|
Retrieve column list |
X |
||
|
Retrieve column list of features |
X |
||
|
Retrieve histogram |
X |
||
|
Train predictive scoring model (legacy) |
X |
||
|
Retrieve predictive scoring rules |
X |
||
|
Create predictive scoring model |
X |
||
|
Retrieve predictive scoring model by ID |
X |
||
|
Update predictive scoring model |
X |
||
|
Delete predictive scoring model |
X |
||
|
Run predictive scoring model |
X |
||
|
Retrieve executions of predictive scoring model |
X |
||
|
Retrieve features of predictive scoring model |
X |
||
|
Retrieve columns of predictive scoring model |
X |
||
|
Retrieve scores of predictive scoring model |
X |
||
|
Schedules |
Get schedules |
X |
|
|
Get execution history |
X |
||
|
Create schedule |
X |
||
|
Delete schedule |
X |
||
|
Update schedule |
X |
||
|
Run schedule |
X |
||
|
Segments |
Retrieve list of segments |
X |
|
|
Create new segment |
X |
||
|
Retrieve list of segments in a folder |
X |
||
|
Retrieve sql from segment rule |
X |
||
|
Retrieve number of profiles based on set of segment rules |
X |
||
|
Retrieve segment by ID |
X |
||
|
Update segment |
X |
||
|
Delete segment (legacy) |
X |
||
|
Retrieve status of query |
X |
||
|
Kill current running query of segment |
X |
||
|
Retrieve profiles of query |
X |
||
|
Retrieve population statistics of segment |
X |
||
|
Create segment |
X |
||
|
Retrieve segment by ID |
X |
||
|
Update segment |
X |
||
|
Delete segment |
X |
||
|
Tables |
Get tables |
X |
|
|
Tail table |
X |
||
|
Get table distribution |
X |
||
|
Create partial delete job |
X |
||
|
Delete table |
X |
||
|
Create table |
X |
||
|
Update table |
X |
||
|
Rename table |
X |
||
|
Swap tables |
X |
||
|
Change database |
X |
||
|
Transfer table to a different account |
X |
||
|
Append table schema |
X |
||
|
Update table schema |
X |
||
|
Tokens |
Retrieve list of profile API tokens |
X |
|
|
Create new profiles API token (legacy) |
X |
||
|
Retrieve profiles API token by ID |
X |
||
|
Update profiles API token (legacy) |
X |
||
|
Delete a profiles API token (legacy) |
X |
||
|
Create profiles API token |
X |
||
|
Retrieve profiles API token by ID |
X |
||
|
Update profiles API token |
X |
||
|
Delete profiles API token |
X |
||
|
Users |
Promote a user to a delegated admin |
X |
|
|
Demote a user from a delegated admin |
X |