Returns a paginated list of waitpoint tokens for the current environment. Results are ordered by creation date, newest first. Use cursor-based pagination with page[after] and page[before] to navigate pages.
Use your project-specific Secret API key. Will start with tr_dev_, tr_prod, tr_stg, etc.
You can find your Secret API key in the API Keys section of your Trigger.dev project dashboard.
Our TypeScript SDK will default to using the value of the TRIGGER_SECRET_KEY environment variable if it is set. If you are using the SDK in a different environment, you can set the key using the configure function.
import { configure } from "@trigger.dev/sdk";
configure({ accessToken: "tr_dev_1234" });
Number of tokens to return per page (1–100).
1 <= x <= 100Return tokens after this cursor (from pagination.next in a previous response).
Return tokens before this cursor (from pagination.previous in a previous response).
Comma-separated list of statuses to filter by. Allowed values: WAITING, COMPLETED, TIMED_OUT.
Filter by idempotency key.
Comma-separated list of tags to filter by.
Shorthand time period to filter by creation date (e.g. 1h, 24h, 7d). Cannot be combined with filter[createdAt][from] or filter[createdAt][to].
Filter tokens created at or after this ISO 8601 timestamp.
Filter tokens created at or before this ISO 8601 timestamp.