eZacto for agents
Hand the time tracking to an agent.
eZacto has a command-line tool and a documented API, so an agent can
log time, run reports and look after a workspace the way you would,
with the same permissions and nothing extra.
Command line
The ez command.
ez is the official command-line client. It prints plain
text for people and JSON for scripts and agents.
-
Run it without installing:
npx @conflict-hq/ezacto-cli --help. Or install it
with npm install -g @conflict-hq/ezacto-cli (Node 22
or later).
-
Log in with a scoped API token, passed on standard input or in an
environment variable. The token is never printed, and the config
file is readable only by you.
-
Log time with
ez log 2h northpeak devops, run a timer
with ez timer start and ez timer stop,
and see the week with ez week.
-
It works against hosted eZacto or a server you run yourself, and
it keeps a named config for each organization.
API
A documented API.
Everything the apps do goes through one REST API, so an agent has
the same view of your workspace that you do.
-
The API lives at
/api/v1, takes a scoped token, and
answers in JSON.
-
Errors come back in one JSON shape with machine-readable codes, so
an agent can tell a validation problem from a permission problem.
-
Every response carries a request id, which makes a failed call
easy to trace when you ask support about it.
An agent gets the access you give it, no more.
You issue a token from your settings, scoped to what the job needs:
time_entries:write to log time, reports:read
to run reports. Tokens expire, after one year at most unless an
administrator allows longer. The API decides what each token can see,
as it does for a person, including the fields a profile is not allowed
to view. An agent cannot read or change anything the person who issued
its token could not.
Try it with your agent.
Sign up for hosted eZacto or run it yourself, issue a token, then
point your agent at ez or the API.