Skip to main content

Audit logs event reference

Audit log event schema​

Hex audit logs are emitted in JSON format. Some notable fields in the schema are:

  • action: type of action taken
  • actor: identifies the user or client (e.g. API) making the request
  • context: the location (IP address) and user agent of the actor
  • targets: Hex resources that are affected or created by this action

The following is an example event object:

{
"actor": {
"id": "b44446e6-8264-4af5-a856-fdc2fa8fe132",
"type": "USER",
"metadata": {
"email": "user@hex.tech",
"workspace": "Hex",
"workspaceId": "57c59cf9-c943-4386-afb5-75df1af3b2f7"
}
},
"action": "RUN_CELL",
"context": {
"location": "1.1.1.1",
"user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36"
},
"targets": [
{
"id": "f426633a-0993-4bbc-be6a-740e28da2596",
"type": "project",
"metadata": {
"representation": "{\"id\":\"f426633a-0993-4bbc-be6a-740e28da2596\",\"createdDate\":\"2024-04-08T20:15:06.337Z\",\"updatedDate\":\"2024-04-12T15:38:25.265Z\",\"archivedDate\":null,\"creatorId\":\"b44446e6-8264-4af5-a856-fdc2fa8fe132\",\"canEditorsShare\":true,\"projectLanguage\":\"PYTHON\",\"hexType\":\"PROJECT\",\"organizationRole\":null,\"publicRole\":null}"
}
},
{
"id": "60d9ac4d-7eb2-4638-9423-61bdf8a331ef",
"type": "project_version",
"metadata": {
"representation": "{\"id\":\"60d9ac4d-7eb2-4638-9423-61bdf8a331ef\",\"createdDate\":\"2024-04-08T20:15:06.337Z\",\"updatedDate\":\"2024-04-12T15:38:25.127Z\",\"title\":\"Sample Project\",\"description\":\"\",\"hexId\":\"f426633a-0993-4bbc-be6a-740e28da2596\",\"creatorId\":\"b44446e6-8264-4af5-a856-fdc2fa8fe132\",\"timezone\":null,\"version\":\"draft\",\"published\":false,\"import\":false,\"kernelSize\":\"medium\",\"autoRerun\":true,\"cacheAppState\":true}"
}
},
{
"id": "340ba95d-465a-44d2-8b04-8a83c6c5b1e5",
"type": "cell",
"metadata": {
"representation": "{\"id\":\"2e56c683-8151-4071-918f-0050ce854637\",\"createdDate\":\"2024-04-08T20:15:17.810Z\",\"updatedDate\":\"2024-04-08T20:15:17.810Z\",\"cellType\":\"SQL\"}"
}
}
],
"version": 1,
"metadata": {
"result": "SUCCESS",
"requestArgs": "{\"hexId\":\"f426633a-0993-4bbc-be6a-740e28da2596\",\"hexVersionId\":\"60d9ac4d-7eb2-4638-9423-61bdf8a331ef\",\"cellId\":\"2e56c683-8151-4071-918f-0050ce854637\"}",
"failureReason": ""
},
"occurred_at": "2024-04-12T15:38:27.073Z"
}

Audit log target resource types​

The following resource types appear as target resources in audit log events:

Resource typeNotes
Agent chat messageA message sent to the Notebook agent
API clientAn API token, either a personal token or a workspace token
CellA cell in a Hex project
CollectionA collection of Hex projects and components
Data connectionA connection to an external data warehouse
Data source databaseA database in a data connection's schema browser
Data source schemaA schema in a data connection's schema browser
Data source tableA table in a data connection's schema browser
Docker image repositoryA custom Docker image repository connected to the workspace
DomainA domain allowed to be associated with your Hex workspace
External file integrationAn integration with a cloud storage provider like AWS S3 or Google Drive
FileA file uploaded to a Hex project
Folder itemA folder, or a project in a folder
Folder item grantA role given to a user or group for access to a folder item
GroupA group of Hex users that can be granted access to resources
GuideA workspace guide that gives the Hex agent context
Magic API keyAn API key for authenticating magic requests
MCP server configurationAn MCP server enabled for the workspace
ProjectA Hex project, component, or explore object
Project grantA role (viewer, editor, etc.) given to a user or group for access to a Hex project
Project refA branch of a project
Project versionA specific version of a Hex project
Project viewAn object that represents an instance of a user viewing a project
Scheduled runA cron-like schedule on which a project is run periodically
Scheduled run notificationA notification configured on a scheduled run, to send emails and/or Slack messages when a scheduled run completes or fails
SecretA secret value containing sensitive information that can be referenced in Hex projects
Semantic datasetA dataset in a semantic model
Semantic projectA semantic project containing shared definitions for data models
Semantic viewA view in a semantic model
Sync repositoryA Git repository synced with the workspace
TaskA scheduled agent task
TemplateA Hex-provided project template
ThreadA Thread with the Hex agent
UserA Hex user (could be email user, API user, etc.)
User attributeA workspace-defined attribute that can be set on users
User attribute valueA user's value for a user attribute
User MCP server connectionA user's connection to an MCP server
VCS connectionA connection to a version control provider such as GitHub
WorkspaceA representation of your Hex workspace

Some event types include target resources with a type of principal. This indicates that this object can be one of multiple types. For instance, the UPDATE_PROJECT_ACCESS event type includes a principal resource which is either a Group or a User.

In the same way, the data asset status events have a single target of type data_asset. Its resource_type metadata says which kind of asset it is, such as data_source_table or semantic_dataset.

Audit log event types​

Events are grouped by area. When an action fails or is denied, the event is usually still logged, with result set to FAILURE in its metadata. Failed attempts to create something aren't logged, since there's no created resource to target.

Sign-in​

Event typeDescriptionTarget resource types
USER_SIGNED_UPA user logs in for the first timeUser
USER_LOGGED_INA user logs in or attempts to log inUser
USER_LOGGED_OUTA user logs outUser

Users​

Event typeDescriptionTarget resource types
CREATE_USERSAn admin invites users to the workspace by emailWorkspace, User
CREATE_PASSWORD_USERAn admin creates a user who signs in with a passwordUser
INVITE_USER_AS_ADMINAn admin invites a user to the workspace as an adminWorkspace
ACTIVATE_USERAn admin reactivates a deactivated userUser
DEACTIVATE_USERAn admin deactivates a user. If the user's projects are transferred to someone else, that user is also a targetUser
EDIT_USERAn admin edits a user's name, email, password, or workspace roleUser
UPDATE_USER_ROLEAn admin changes a user's workspace roleUser
REQUEST_ORG_ROLEA user asks workspace admins for a different workspace roleUser
VIEW_USER_DRAFTSAn admin views another user's drafts folderUser

Groups​

Event typeDescriptionTarget resource types
CREATE_GROUPAn admin creates a groupGroup
UPDATE_GROUPAn admin renames a group. A change that also adds or removes members logs UPDATE_GROUP_MEMBERS insteadGroup
UPDATE_GROUP_MEMBERSAn admin adds or removes users from a groupGroup, User
DELETE_GROUPAn admin deletes a groupGroup

User attributes​

Event typeDescriptionTarget resource types
CREATE_USER_ATTRIBUTEAn admin creates a user attributeWorkspace, User attribute
RENAME_USER_ATTRIBUTEAn admin renames a user attributeUser attribute, Workspace
DELETE_USER_ATTRIBUTEAn admin deletes a user attributeUser attribute, Workspace
SET_USER_ATTRIBUTE_VALUESAn admin sets a user's user attribute valuesWorkspace, User
UPSERT_USER_ATTRIBUTE_VALUESAn admin sets a user attribute's values for one or more usersWorkspace, User attribute
CLEAR_USER_ATTRIBUTE_VALUEAn admin clears a user's value for a user attributeWorkspace, User attribute value

Directory sync​

Event typeDescriptionTarget resource types
PAUSE_DIRECTORY_SYNCAn admin pauses directory sync for the workspaceWorkspace
RESUME_DIRECTORY_SYNCAn admin resumes directory sync for the workspaceWorkspace
SET_DIRECTORY_SYNC_ADMIN_GROUPAn admin sets or clears the directory sync group for AdminsGroup
SET_DIRECTORY_SYNC_MANAGER_GROUPAn admin sets or clears the directory sync group for ManagersGroup
SET_DIRECTORY_SYNC_AUTHOR_GROUPAn admin sets or clears the directory sync group for EditorsGroup
SET_DIRECTORY_SYNC_EXPLORER_GROUPAn admin sets or clears the directory sync group for ExplorersGroup

API tokens​

Changing a token's description or expiration always regenerates it, so the UPDATE_*_API_CLIENT events are the only record of those changes. The old token is the target and the new token is created. The new description and expiration policy are in the event's request arguments.

Event typeDescriptionTarget resource types
GRANT_USER_API_ACCESSAn admin lets a user create API tokensUser
REVOKE_USER_API_ACCESSAn admin stops a user from creating API tokens and rejects requests made with that user's tokensUser
CREATE_USER_API_CLIENTA user creates a personal API token in settings or through CLI loginAPI client
UPDATE_USER_API_CLIENTA user regenerates a personal API token, revoking the old one and creating a new oneAPI client
REVOKE_USER_API_CLIENTA user revokes a personal API tokenAPI client
CREATE_WORKSPACE_TOKEN_API_CLIENTAn admin creates a workspace API tokenAPI client
UPDATE_WORKSPACE_TOKEN_API_CLIENTAn admin regenerates a workspace API token, revoking the old one and creating a new oneAPI client
REVOKE_WORKSPACE_TOKEN_API_CLIENTAn admin revokes a workspace API tokenAPI client
UPDATE_API_TOKEN_EXPIRATION_POLICYAn admin changes the expiration policy for API tokensWorkspace

Workspace settings​

Event typeDescriptionTarget resource types
ADD_WORKSPACE_DOMAINAn admin adds an allowed domain to the workspaceDomain
DELETE_WORKSPACE_DOMAINAn admin removes an allowed domain from the workspaceDomain
UPDATE_SSO_CONFIGURATIONAn admin configures SSO for the workspaceWorkspace
UPDATE_PUBLIC_SHARING_SETTINGAn admin changes whether projects in the workspace can be shared publiclyWorkspace
UPDATE_ALLOW_GUESTS_SETTINGAn admin changes whether guest users can be added to the workspaceWorkspace
UPDATE_ALLOW_NOTION_PREVIEWAn admin changes whether Hex links show previews in NotionWorkspace
UPDATE_ALLOW_CSV_DOWNLOADSAn admin changes whether users can download CSVsWorkspace
UPDATE_ALLOW_FILE_UPLOADSAn admin changes whether users can upload files to projectsWorkspace
UPDATE_ALLOW_EXTERNAL_EXPORTSAn admin changes whether external exports are allowed in the workspaceWorkspace
UPDATE_ALLOW_PROJECT_LEVEL_DATA_CONNECTIONSAn admin changes whether users can add data connections from projects instead of the admin panelWorkspace
UPDATE_ALLOW_VIEW_WORKSPACE_SECRETS_IN_PROJECT_UIAn admin changes whether workspace secrets can be viewed from the project UIWorkspace
UPDATE_CUSTOM_ROLE_REQUEST_CONFIGAn admin changes the role request settings, such as disabling requests or setting a messageWorkspace
SET_DATA_RETENTION_CELL_OUTPUTSAn admin sets the data retention period for cell outputsWorkspace
SET_DATA_RETENTION_QUERY_CACHEAn admin sets the data retention period for query cache entriesWorkspace
TOGGLE_WORKSPACE_QUERY_CACHEAn admin turns workspace query caching on or offWorkspace
UPDATE_WORKSPACE_LOGIC_QUERY_CACHE_TIMEOUTAn admin changes the default query cache timeout for notebooksWorkspace
UPDATE_WORKSPACE_PUBLISHED_QUERY_CACHE_TIMEOUTAn admin changes the default query cache timeout for published appsWorkspace
VIEW_WORKSPACE_SSH_KEYAn admin views the workspace SSH keyWorkspace
CONNECT_CUSTOM_IMAGE_REPOAn admin connects a Docker Hub, ECR, or Google Artifact Registry image repositoryDocker image repository
DISCONNECT_CUSTOM_IMAGE_REPOAn admin disconnects a custom Docker image repositoryDocker image repository

AI settings and credits​

Event typeDescriptionTarget resource types
UPDATE_WORKSPACE_MAGIC_SETTINGSAn admin changes the workspace's AI settings, including the agent's trusted mode policyWorkspace
CREATE_MAGIC_API_KEYAn admin adds or replaces a bring-your-own-key API key for AI featuresMagic API key
DELETE_MAGIC_API_KEYAn admin deletes a bring-your-own-key API keyMagic API key
UPDATE_ORG_DEFAULT_AI_CREDIT_LIMITAn admin changes the default per-user AI credit limit for the workspaceWorkspace
SET_USER_AI_CREDIT_LIMITAn admin sets a user's AI credit limitUser
REMOVE_USER_AI_CREDIT_LIMITAn admin removes a user's AI credit limitUser
SET_GROUP_AI_CREDIT_LIMITAn admin sets a group's AI credit limitGroup
REMOVE_GROUP_AI_CREDIT_LIMITAn admin removes a group's AI credit limitGroup
UPDATE_AI_CREDIT_TOPUPS_ENABLEDAn admin turns AI credit top-ups on or off for the workspaceWorkspace
UPDATE_AI_CREDIT_TOPUP_BATCH_SIZEAn admin changes how many AI credits each automatic top-up purchasesWorkspace
UPDATE_AI_CREDIT_TOPUP_SPEND_LIMITAn admin changes the spend limit for automatic AI credit top-upsWorkspace

Projects​

Event typeDescriptionTarget resource types
CREATE_PROJECTA user creates a project, component, or 4.0 projectProject
CREATE_PROJECT_FROM_TEMPLATEA user creates a project from a templateProject, Template
DUPLICATE_PROJECTA user duplicates a project or 4.0 project. Both the original and the copy are targetsProject
COPY_PROJECT_FROM_EXTERNAL_WORKSPACEA user copies a project from another workspace into this oneProject
IMPORT_PROJECTA user imports a project from a YAML file, a Jupyter notebook, or a Claude dashboardProject
VIEW_PROJECTA user opens a project's notebook or app (4.0 projects log VIEW_CODE_PROJECT), including through Notion previews, snapshots, and signed embedsProject, Project version, Project view
RUN_PROJECTA project runs top to bottom, whether started by a user, a scheduled run, or the agentProject, Project version
RUN_CELLA user runs a single cell in a projectProject, Project version, Cell
PUBLISH_PROJECTA user publishes a project's app, directly or by approving a publish review requestProject
RENAME_PROJECTA user renames a project or 4.0 project from its folderProject
SET_PROJECT_OWNERA user transfers ownership of a project or 4.0 project to another userProject, User
DELETE_PROJECTA user moves a project or 4.0 project to the trashProject
RESTORE_PROJECTA user restores a project or 4.0 project from the trashProject
PERMANENTLY_DELETE_PROJECTA user permanently deletes a project, including when its folder is permanently deletedProject
UPDATE_COMPONENT_IN_HEXESAn admin updates projects that use a component to its latest published version. The component is the targetProject
UPLOAD_FILE_TO_PROJECTA user uploads a file to a project (4.0 projects log UPLOAD_CODE_PROJECT_FILE)Project, File
DOWNLOAD_FILE_FROM_PROJECTA user downloads a file uploaded to a projectProject, File

Explores​

Event typeDescriptionTarget resource types
CREATE_EXPLOREA user creates an explore that doesn't start from a project cellProject
CREATE_EXPLORE_FROM_PROJECT_CELLA user starts an explore from a cell in a project or appProject, Cell
CREATE_PROJECT_FROM_EXPLOREA user converts an explore into a projectProject

Sharing and access​

Event typeDescriptionTarget resource types
REQUEST_PROJECT_ROLEA user requests access to a projectProject, User
GRANT_USERS_PROJECT_ACCESSA user gives one or more users a role on a projectProject, User, Project grant
GRANT_GROUPS_PROJECT_ACCESSA user gives one or more groups a role on a projectProject, Group, Project grant
GRANT_ADMIN_PROJECT_ACCESSAn admin grants themselves a role on a projectProject, User, Project grant
UPDATE_PROJECT_ACCESSA user changes a user's or group's role on a projectProject, Principal, Project grant
REMOVE_PROJECT_ACCESSA user removes a user's or group's access to a projectProject, Principal
SHARE_PROJECT_WITH_SUPPORTA user shares a project with Hex supportProject
SHARE_PROJECT_WITH_ORGA user changes or removes a project's workspace-wide access roleProject
SHARE_PROJECT_WITH_PUBLICA user changes or removes a project's public web access roleProject
UPDATE_PROJECT_PUBLIC_DUPLICATION_ALLOWEDA user changes whether people in other workspaces can duplicate a projectProject
UPDATE_ALLOW_EMBEDDINGA user turns signed embedding on or off for a projectProject

Folders​

Event typeDescriptionTarget resource types
CREATE_FOLDERA user creates a folderFolder item
RENAME_FOLDERA user renames a folderFolder item
MOVE_FOLDERA user moves a folder into another folderFolder item
DELETE_FOLDERA user moves a folder to the trashFolder item
RESTORE_FOLDERA user restores a folder from the trashFolder item
PERMANENTLY_DELETE_FOLDERA user permanently deletes a folderFolder item
GRANT_FOLDER_ENTRY_ACCESSA user gives a user or group access to a folder or projectFolder item, Folder item grant
UPDATE_FOLDER_ENTRY_ACCESSA user changes an existing user's or group's access level on a folder or projectFolder item, Folder item grant
REVOKE_FOLDER_ENTRY_ACCESSA user removes someone's access to a folder or project in a folderFolder item, Folder item grant
MOVE_PROJECT_TO_FOLDERA user moves a project or 4.0 project into a folderProject, Folder item
MOVE_PROJECT_TO_DRAFTSA user moves a project or 4.0 project to their draftsProject, Folder item

Collections​

Event typeDescriptionTarget resource types
CREATE_COLLECTIONA user creates a collectionCollection
EDIT_COLLECTIONA user edits a collection's name, description, managers, or membersCollection
ADD_PROJECTS_TO_COLLECTIONA user adds projects to a collectionCollection, Project
REMOVE_PROJECT_FROM_COLLECTIONA user removes a project from a collectionCollection, Project
UPDATE_COLLECTION_ROLE_IN_PROJECTA user changes the role a collection has on a projectCollection, Project

Scheduled runs​

Event typeDescriptionTarget resource types
CREATE_SCHEDULED_RUNA user creates a scheduled runProject, Scheduled run
EDIT_SCHEDULED_RUNA user edits, turns on, or turns off a scheduled runProject, Scheduled run
DELETE_SCHEDULED_RUNA user deletes a scheduled runProject, Scheduled run
CREATE_SCHEDULED_RUN_NOTIFICATIONA user adds a notification to a scheduled runScheduled run, Scheduled run notification, Project
EDIT_SCHEDULED_RUN_NOTIFICATIONA user edits a scheduled run's notificationScheduled run, Scheduled run notification, Project
DELETE_SCHEDULED_RUN_NOTIFICATIONA user deletes a scheduled run's notificationScheduled run, Scheduled run notification

Data connections​

Event typeDescriptionTarget resource types
CREATE_WORKSPACE_DATA_CONNECTIONAn admin creates a data connection for the workspaceData connection
CREATE_PROJECT_DATA_CONNECTIONA user creates a data connection inside a projectData connection, Project
EDIT_DATA_CONNECTIONA user edits a data connection's settingsData connection
DELETE_DATA_CONNECTIONA user deletes a data connectionData connection
REFRESH_DATA_CONNECTION_SCHEMAA user refreshes a data connection's schemaData connection
UPDATE_DATA_CONNECTION_MAGIC_USAGEAn admin or manager changes whether a data connection is used for AI generationData connection
IMPORT_DATA_CONNECTIONA user adds a data connection to a projectData connection, Project
REMOVE_DATA_CONNECTION_IMPORTA user removes a data connection from a projectData connection, Project
SET_WORKSPACE_DEFAULT_DATA_CONNECTIONAn admin sets or clears the workspace's default data connectionData connection
APPLY_DATA_ASSET_STATUSA user applies a status, such as an endorsement, to a data assetOne of: Data connection, Data source database, Data source schema, Data source table, Semantic dataset, Semantic view
REMOVE_DATA_ASSET_STATUSA user removes the status from a data assetOne of: Data connection, Data source database, Data source schema, Data source table, Semantic dataset, Semantic view

Semantic models​

Event typeDescriptionTarget resource types
CREATE_SEMANTIC_PROJECTAn admin or manager creates a semantic projectSemantic project
PUBLISH_SEMANTIC_PROJECTA user publishes changes to a semantic project from the modeling workbench, Semantic Model Sync, the API, or a committed context changesetSemantic project
DELETE_SEMANTIC_PROJECTA user deletes a semantic projectSemantic project

Secrets​

Event typeDescriptionTarget resource types
CREATE_WORKSPACE_SECRETAn admin creates a shared workspace secretSecret
EDIT_WORKSPACE_SECRETAn admin edits a shared workspace secretSecret
DELETE_WORKSPACE_SECRETAn admin deletes a shared workspace secretSecret
IMPORT_WORKSPACE_SECRETA user adds a shared workspace secret to a projectSecret
UNIMPORT_WORKSPACE_SECRETA user removes a shared workspace secret from a projectSecret
CREATE_PROJECT_SECRETA user creates a secret in a single projectSecret
EDIT_PROJECT_SECRETA user edits a project secretSecret
DELETE_PROJECT_SECRETA user deletes a project secretSecret

Cloud storage integrations​

Event typeDescriptionTarget resource types
CREATE_EXTERNAL_FILE_INTEGRATIONAn admin creates a cloud storage integrationExternal file integration
EDIT_EXTERNAL_FILE_INTEGRATIONAn admin edits a cloud storage integrationExternal file integration
DELETE_EXTERNAL_FILE_INTEGRATIONAn admin deletes a cloud storage integrationExternal file integration
LIST_FILES_FROM_EXTERNAL_FILE_INTEGRATIONCode running in a project lists files from a cloud storage integrationExternal file integration
DOWNLOAD_FILE_FROM_EXTERNAL_FILE_INTEGRATIONA user, or code running in a project, downloads a file from a cloud storage integrationExternal file integration

Exports and downloads​

Event typeDescriptionTarget resource types
EXPORT_AS_PDFA user exports a project's app as a PDFProject, Project version
EXPORT_TO_GOOGLE_SHEETSA user exports a cell's output to Google SheetsProject, Project version, Cell
DOWNLOAD_AS_CSVA user downloads a cell's results as a CSVCell, Project, Project version
COPY_RESULTS_TO_CLIPBOARDA user copies a cell's results to the clipboardCell, Project, Project version
DOWNLOAD_CHART_IMAGEA user downloads an image of a chart cell in a projectCell
DOWNLOAD_DATA_APP_CSVA user downloads a CSV from a project's data appProject, Project version
DOWNLOAD_DATA_APP_FILEA user downloads a file generated by a project's data appProject, Project version
READ_CELL_RESULTA user or agent reads a cell's latest output from the draft projectCell

Git​

Event typeDescriptionTarget resource types
CREATE_VCS_CONNECTIONAn admin connects a version control provider, such as GitHub, to the workspaceVCS connection
EDIT_VCS_CONNECTIONAn admin re-authorizes a self-hosted GitHub or GitLab server connectionVCS connection
DELETE_VCS_CONNECTIONAn admin deletes a Git provider connectionVCS connection
CREATE_SYNC_REPOSITORYAn admin adds a Git sync repository to the workspaceSync repository, VCS connection
EDIT_SYNC_REPOSITORYA user edits a shared Git repository's settings or import accessSync repository
DELETE_SYNC_REPOSITORYA user deletes a Git sync repositorySync repository
EXPORT_PROJECT_TO_GITA user publishes a Git-synced project, which queues an export to the repositorySync repository, Project

Threads​

Event typeDescriptionTarget resource types
CREATE_THREADA user starts a new ThreadProject
CREATE_PROJECT_FROM_THREADA user turns a Thread into a projectProject
DUPLICATE_THREADA user duplicates a Thread shared with themProject
DELETE_THREADA user deletes a ThreadThread

Agents and AI features​

Event typeDescriptionTarget resource types
CREATE_LOGIC_VIEW_AGENT_CHAT_MESSAGEA user sends a message to the Notebook agentAgent chat message
SEND_LLM_REQUESTHex sends a request to an LLM provider while handling an agent queryWorkspace
MAGIC_DESCRIBE_PROJECTA user has AI write a project's descriptionProject version
MAGIC_NAME_PROJECTA user has AI name a projectProject version
MAGIC_RENAME_CELLA user has AI name a cellCell
MAGIC_RENAME_CELL_OUTPUTA user has AI name a cell's outputCell
PUBLISH_GUIDEA user publishes a guide when committing a context changesetGuide
DELETE_GUIDEA user publishes a change that deletes a guideGuide

MCP servers​

Event typeDescriptionTarget resource types
CREATE_ORG_MCP_SERVERAn admin enables an MCP server for the workspaceMCP server configuration
UPDATE_ORG_MCP_SERVERAn admin updates a workspace MCP server's configurationMCP server configuration
DELETE_ORG_MCP_SERVERAn admin removes an MCP server from the workspaceMCP server configuration
CREATE_USER_MCP_CONNECTIONA user connects to an MCP serverUser MCP server connection
UPDATE_USER_MCP_CONNECTIONA user updates their MCP server connection, such as credentials or tool settingsUser MCP server connection
DELETE_USER_MCP_CONNECTIONA user removes their connection to an MCP serverUser MCP server connection
CALL_MCP_SERVER_TOOLThe Hex agent calls a tool on a user's connected MCP serverUser MCP server connection

4.0 projects​

Event typeDescriptionTarget resource types
VIEW_CODE_PROJECTA user opens a 4.0 project's editor or published appProject, Project view
UPLOAD_CODE_PROJECT_FILEA user uploads a file to a 4.0 projectProject ref
WRITE_CODE_PROJECT_FILEA user or agent writes a file in a 4.0 projectProject ref
EDIT_CODE_PROJECT_FILEA user or agent edits a file in a 4.0 projectProject ref
TRASH_CODE_PROJECT_FILEA user or agent deletes a file in a 4.0 projectProject ref
RELOAD_CODE_PROJECTA user or agent reloads a 4.0 project's saved source filesProject ref
SCAFFOLD_CODE_PROJECT_APPA user or agent scaffolds an app layout in a 4.0 projectProject ref
ADD_CODE_PROJECT_COMPONENTA user or agent adds a catalog component to a 4.0 project appProject ref
CREATE_CODE_PROJECT_CHARTA user or agent adds a chart to a 4.0 projectProject ref
CREATE_CODE_PROJECT_DISPLAY_TABLEA user or agent adds a display table to a 4.0 projectProject ref
CREATE_CODE_PROJECT_INPUTA user or agent adds an input to a 4.0 projectProject ref
CREATE_CODE_PROJECT_KPI_CARDA user or agent adds a KPI card to a 4.0 projectProject ref
LINK_CODE_PROJECT_DATA_CONNECTIONA user or agent links a data connection to a 4.0 projectProject ref, Data connection
BUILD_CODE_PROJECT_APPA user or agent builds a preview of a 4.0 project appProject ref
PUBLISH_CODE_PROJECTA user or agent publishes a 4.0 project appProject ref
DOWNLOAD_CODE_PROJECT_SCREENSHOTA user or agent takes a screenshot of a 4.0 project's draft previewProject ref
DOWNLOAD_CODE_APP_SCREENSHOTA user or agent takes a screenshot of a published 4.0 project appProject

Tasks​

Event typeDescriptionTarget resource types
CREATE_TASKA user creates a scheduled agent task, or publishes a draft taskTask
EDIT_TASKA user edits a taskTask
PAUSE_TASKA user pauses a taskTask
RESUME_TASKA user resumes a paused taskTask
DELETE_TASKA user deletes a scheduled agent taskTask