timezone in the value of every
time rule. Without one, the rule is evaluated in UTC, not your local time. The dashboard form
writes the zone from its Timezone field, which starts at your browser’s zone.
Wallet-level time windows use the agent-wallet link’s own timezone.
Configuration (API)
Create aTIME_WINDOW policy with its rules in one request. Without scope, teamId, or
agentIds it applies to every agent in the organization, and so does the blackout example below.
To limit one agent, add "scope": "assigned" and "agentIds": ["AGENT_ID"]:
Rule types
TIME_WINDOW (hours)
Restrict transactions to specific hours of the day:09:00 to 17:00 matches through 17:00 and stops matching at 17:01. Wallet-level hours work
differently: their end hour is excluded. See Wallet-level time windows.
DAY_OF_WEEK (days)
Restrict transactions to specific days of the week:
Valid day values:
Mon, Tue, Wed, Thu, Fri, Sat, Sun
BLACKOUT_PERIOD
Block transactions during maintenance windows or holidays:start up to, not including, end, so 02:00 to 06:00 blocks
02:00 through 05:59. A window whose end is before its start, such as 22:00 to 02:00, runs past midnight. With
days, the hours after midnight belong to the day the window started: a Friday 22:00 to 02:00
window blocks Saturday 01:00, not Friday 01:00.
For a date range such as a holiday, give each window dates or timestamps, for example
{"timezone":"America/New_York","windows":[{"start":"2026-12-24","end":"2026-12-26"}]} with operator BETWEEN and action
DENY. A date with no time covers that whole day in the rule’s timezone, so this window blocks
from the start of December 24 through the end of December 26. A timestamp is that exact moment.
Wallet-level time windows
Time windows can also be set on the agent-wallet link. Send this body toPOST /api/agents/{id}/wallets when linking, or the same fields without walletId to
PATCH /api/agents/{id}/wallets/{walletId}:
allowedHoursStart, allowedHoursEnd, and allowedDays are evaluated in the link’s IANA
timezone, which defaults to UTC. Invalid IANA names are rejected with a 400. Hours are whole
numbers on a 24-hour clock, with allowedHoursStart inclusive and allowedHoursEnd exclusive:
9 to 18 allows 09:00 through 17:59 and blocks 18:00 onward. Midnight is hour 0, so 0 to
24 covers the full day, which is the default. An end hour before the start hour runs past
midnight: 22 to 6 allows 22:00 through 05:59. As in a blackout, the hours after midnight
belong to the day the window started, so with Mon to Fri and 22 to 6, Saturday 02:00 is
allowed and Monday 02:00 is refused. This differs from a TIME_WINDOW rule, where the end minute
is included.Use cases
Business hours
Only allow transactions during working hours
Extended hours
Allow transactions in extended support hours
Weekends only
For agents that operate on weekends
Error response
When a transaction is blocked by time window:Best practices
Set the wallet timezone
Set the wallet timezone
Set the link’s
timezone to your organization’s operating timezone (for example,
America/New_York) instead of converting hours to UTC by hand. With the timezone set,
allowedHoursStart and allowedHoursEnd read as local business hours, Conto applies daylight
saving time, and allowedDays matches the local calendar day.Require approval after hours
Require approval after hours