List triggers
GET
List triggers by descending trigger ID in fixed pages of 50. 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 items list before the last page.
bearerAuthheader
AuthorizationBearer <token>project_id*stringlegacyTableId?string|nullpageToken?string|nullresourceId?|nullSuccess
application/json- response
items*array<>nextPageToken?string|nullcurl -X GET 'https://api.spiraldb.dev/api/tasks/projects/string/task-triggers'{ "items": [ { "checkpointSequence": "string", "createdAtMicros": "string", "createdBy": { "application": { "applicationId": "string" }, "type": "application" }, "definition": { "action": { "input": null, "options": { "deadlineAtMicros": "string", "maxAttempts": 0, "resourceProfile": "cpu_1" }, "taskSpecId": { "name": "string", "version": 0 } }, "enabled": true, "name": "string", "source": { "interval": { "everySeconds": 0, "startAtMicros": "string" }, "type": "interval" } }, "error": "string", "nextFireAtMicros": "string", "projectId": "string", "resources": [ { "definitionVersionId": "44570abd-22cb-4285-9488-b5d477271796", "readTarget": { "commitOnBranch": { "branchId": "712f308d-801e-48bc-b072-9c404734ceb7", "commitId": "a1b223ee-0195-4e35-9b2a-72c93f345117" }, "type": "commitOnBranch" }, "resourceId": "026d60bb-63a8-407e-bf67-01dcfc6022e6", "resourceVersionId": "9498cbd5-d381-4876-b1b6-8b7197891ece", "role": "target" } ], "revision": "string", "triggerId": "b89c9c0a-30c6-475a-b185-93813e22ffcf" } ], "nextPageToken": "string"}