Read queued attempts in a time range with GET /api/v1/schedule. Requires an API key with the read scope or a signed-in workspace member.
Request
Returns current queued attempts in ascending scheduled order. The inclusive range must be at most 90 days; a wider range returns ScheduleRangeTooWide. Any workspace actor can read it.
| Parameter | In | Type | Required |
|---|---|---|---|
workspaceId |
query | UUID | Yes |
from |
query | string | Yes |
to |
query | string | Yes |
accountId |
query | UUID | No |
queueId |
query | UUID | No |
cursor |
query | string | No |
limit |
query | string | No |
Response
- HTTP 200:
ScheduleListwithdata,hasMore,nextCursor.
The OpenAPI document has each field’s type.
Examples
const week = await workspace.schedule.list({
from: "2026-12-01T00:00:00Z",
to: "2026-12-08T00:00:00Z",
});week = workspace.schedule.list(
from_="2026-12-01T00:00:00Z",
to="2026-12-08T00:00:00Z",
)curl "https://pubnio.com/api/v1/schedule?workspaceId=$WORKSPACE_ID&from=2026-12-01T00%3A00%3A00Z&to=2026-12-08T00%3A00%3A00Z" \
-H "Authorization: Bearer $PUBNIO_API_KEY"pnio schedule list --from 2026-12-01T00:00:00Z --to 2026-12-08T00:00:00Zasync () => {
const response = await codemode.request({
method: "GET",
path: "/api/v1/schedule",
query: {
workspaceId: codemode.workspaceId,
from: "2026-12-01T00:00:00Z",
to: "2026-12-08T00:00:00Z",
},
});
return response.data;
};Errors
It declares no problem of its own.
It declares the problems most operations declare.
Idempotency
None needed: a read is safe to retry.
Limits
- Up to 100 items a page; pass
nextCursorback ascursor. See Pagination.