Skip to content

Treasure Workflow (1.0)

Treasure Workflow

Download OpenAPI description
Languages
Servers
Mock server
https://docs.treasuredata.com/_mock/apis/workflow
aws
https://api-workflow.treasuredata.com
aws-tokyo
https://api-workflow.treasuredata.co.jp
eu01
https://api-workflow.eu01.treasuredata.com
ap02
https://api-workflow.ap02.treasuredata.com
ap03
https://api-workflow.ap03.treasuredata.com

Attempt

Operations

Log

Operations

List log files of an attempt with filters

Request

Security
ApiKeyAuth
Path
attempt_idinteger(int64)required

attempt id

Query
taskstring

partial prefix match filter on task name

direct_downloadboolean

enable returning direct download handle

curl -i -X GET \
  'https://docs.treasuredata.com/_mock/apis/workflow/api/logs/{attempt_id}/files?task=string&direct_download=true' \
  -H 'Authorization: TD1 <YOUR_TOKEN_HERE>'

Responses

default response

Bodyapplication/json
filesArray of objects(RestLogFileHandle)
Response
application/json
{ "files": [ {} ] }

Download a log file

Request

Security
ApiKeyAuth
Path
attempt_idinteger(int64)required

attempt id

file_namestringrequired

log file name

curl -i -X GET \
  'https://docs.treasuredata.com/_mock/apis/workflow/api/logs/{attempt_id}/files/{file_name}' \
  -H 'Authorization: TD1 <YOUR_TOKEN_HERE>'

Responses

default response

Bodyapplication/gzip
string(byte)

Project

Operations

Schedule

Operations

Session

Operations

Workflow

Operations