We use cookies

We use cookies to ensure you get the best experience on our website. For more information on how we use cookies, please see our cookie policy.

By clicking "Accept", you agree to our use of cookies.
Learn more.

GuideSecurityAudit Logs

Audit Logs

Hatchet records audit logs for key actions performed across your organization, giving you visibility into who did what, when, and from where.

Audit logs are available on Business plans and above. If you’re on the open-source edition and need audit logs, contact us to learn more about upgrading.

What gets logged

Every audit log entry captures the following:

FieldDescription
ActorThe user or API key that performed the action
ActionThe operation performed (e.g. ApiTokenCreate, TenantMemberDelete)
Resource typeThe type of resource acted upon (e.g. workflow-run, api-token)
Resource IDThe specific resource that was affected
IP addressThe IP address of the actor (HTTP requests only)
User agentThe user agent string of the request (HTTP requests only)
TimestampWhen the action occurred
Correlation IDAn optional ID for grouping related actions together (gRPC requests)

Audited actions

The following actions are currently recorded as audit log entries:

ActionResource TypeDescription
TenantInviteAccepttenant-inviteA user accepts a tenant invitation
TenantMemberDeletetenant-memberA tenant member is removed
ApiTokenCreateapi-tokenA new API token is created
ApiTokenUpdateRevokeapi-tokenAn API token is revoked
V1WorkflowRunCreateworkflow-runA workflow run is triggered via the API
ScheduledWorkflowRunCreatescheduled-workflowA scheduled workflow run is created

Actor types

Audit log entries distinguish between two types of actors:

  • User — actions performed by a logged-in user through the dashboard or API. These entries include the actor’s IP address and user agent.
  • API key — actions performed programmatically via an API key (e.g. triggering workflow runs over gRPC). These entries may include a correlation ID for grouping related actions.

Retention

Audit log entries are retained for 30 days. Entries older than 30 days are automatically removed.

Viewing audit logs

Organization admins can view audit logs in the Hatchet dashboard under the organization settings. Logs can be filtered by tenant and time range.

API access

Audit logs can also be retrieved programmatically via the Management API:

GET /api/v1/management/organizations/{organization}/audit-logs

Query parameters:

ParameterTypeDefaultDescription
tenantUUIDall active tenants in the organizationFilter logs to a specific tenant
limitinteger1000Maximum number of results to return
offsetinteger0Number of results to skip
sinceISO 860124 hours agoStart of the time range
untilISO 8601nowEnd of the time range

Results are ordered by timestamp descending (most recent first).