Skip to content

List attempts with filters

Request

Security
ApiKeyAuth
Query
projectstring

exact matching filter on project name

workflowstring

exact matching filter on workflow name

include_retriedboolean

list more than 1 attempts per session

last_idinteger, (int64)

List attempts whose ID is smaller than this ID for pagination. Attempts are returned in descending order by ID.

page_sizeinteger, (int32)

number of attempts to return

curl -i -X GET \
  'https://api-workflow.treasuredata.com/api/attempts?project=string&workflow=string&include_retried=true&last_id=0&page_size=0' \
  -H 'Authorization: TD1 <YOUR_TOKEN_HERE>'

Responses

default response

Bodyapplication/json
attemptsArray of objects(RestSessionAttempt)
Response
{ "attempts": [ {} ] }