List worker attempts
GET
List Attempts by descending Attempt ID. Pages default to 100 items with a maximum of 100. Continuations expire after one hour and are scoped to the caller, target, operation, filters and page size. This is a live listing; concurrent updates can change later pages.
This operation returns results in pages. To get the next page, send the nextPageToken value of the response as pageToken in a new request with the same parameters. When the response has no nextPageToken, there are no more pages. A page can have an empty attempts list before the last page.
bearerAuthheader
AuthorizationBearer <token>project_id*stringworker_session_id*stringFormat
uuidpageSize?|nullpageToken?string|nullSuccess
application/json- response
attempts*array<>nextPageToken?string|nullcurl -X GET 'https://api.spiraldb.dev/api/tasks/projects/string/worker-sessions/497f6eca-6276-4993-bfeb-53cbbbba6f08/attempts'{ "attempts": [ { "attemptId": "ff88f33b-bb8d-4c28-947a-07ff3d628b10", "ordinal": 0, "requirements": { "computeClass": { "cpu": {}, "type": "cpu" }, "cpu": 0, "memoryBytes": "string" }, "startedAtMicros": "string", "status": "running", "taskId": "e6e9d88a-9b63-468a-aec3-b7a11de27af8", "taskSpecName": "string", "terminalAtMicros": "string" } ], "nextPageToken": "string"}