latestOpenAPI 3.0.12026-08-10434791.3 KB
4eedf1838ef4
Session
List attempts of a session
get/api/sessions/{id}/attempts
Path parameters
idinteger required
session id
Query parameters
last_idinteger
List attempts whose ID is smaller than this ID for pagination. Attempts are returned in descending order by ID.
page_sizeinteger
number of attempts to return
Response
default response
Example response
{
"attempts": [
{
"createdAt": "2023-08-18T06:52:33Z",
"finishedAt": "2023-08-18T06:52:33Z",
"id": "123456",
"index": 1,
"poolId": "42",
"project": {
"id": "123456",
"name": "abcdefg"
},
"retryAttemptName": "retry-12345",
"sessionId": "123456",
"sessionTime": "2022-12-31T23:59:00+00:00",
"sessionUuid": "2b91a014-076e-4c6d-8b51-f4f91089cab2",
"status": "running",
"workflow": {
"id": "123456",
"name": "abcdefg"
}
}
]
}