Session
List sessions
get/api/sessions
Request
- Base URLhttps://api-workflow.treasuredata.com
- AuthHTTP td1
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
last_idinteger
List sessions whose ID is smaller than this ID for pagination. Sessions are returned in descending order by ID.
page_sizeinteger
number of sessions to return
Response
default response
Example response
{
"sessions": [
{
"id": "123456",
"lastAttempt": {
"createdAt": "2023-08-18T06:52:33Z",
"finishedAt": "2023-08-18T06:52:33Z",
"id": "123456",
"poolId": "42",
"status": "running"
},
"project": {
"id": "123456",
"name": "abcdefg"
},
"sessionTime": "2022-12-31T23:59:00+00:00",
"workflow": {
"id": "123456",
"name": "abcdefg"
}
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.