Overview

Glean’s Admin Audit Logs provide comprehensive visibility into administrative actions performed within your Glean instance. These logs serve as a critical tool for troubleshooting configuration issues, maintaining security compliance, and tracking changes made by both internal admins and Glean support staff.

Troubleshoot Configuration Issues

Admin audit logs are essential for diagnosing and resolving configuration problems in your Glean deployment:

Change History Tracking

Review chronological changes to identify when and what modifications were made to your configuration

Root Cause Analysis

Quickly identify the source of issues by correlating problems with recent configuration changes

Compliance Reporting

Generate reports for security audits, compliance reviews, and regulatory requirements

External Analysis

Import data into business intelligence tools or custom analytics platforms

Audit Log Features

Coverage

Tracked API Endpoints

Glean’s audit logs capture all API endpoint calls to provide comprehensive visibility into user activities. Below is a complete list of the API endpoints that are tracked in audit logs:

EndpointDescription
/api/v1/searchPerforms a general-purpose search.
/api/v1/llmrealtimeproxyProxies real-time LLM (Large Language Model) requests.
/api/v1/chatStarts a new chat session or sends a message.
/api/v1/chat/refineRefines an existing chat session or message.
/api/v1/templatedchatInitiates a chat session using a template.
/api/v1/deletetemplatedchatDeletes a templated chat session.
/api/v1/askHandles question-answering or chat queries.
/api/v1/createagentsubscriptionCreates a new agent subscription.
/api/v1/editagentsubscriptionEdits an existing agent subscription.
/api/v1/listcontenttriggertemplatesLists templates for content-based triggers.
/api/v1/listagentsubscriptionsLists all agent subscriptions.
/api/v1/deleteagentsubscriptionDeletes an agent subscription.
/api/v1/createworkflowCreates a new workflow.
/api/v1/getworkflowRetrieves details of a specific workflow.
/api/v1/listworkflowsLists all workflows.
/api/v1/editworkflowEdits an existing workflow.
/api/v1/deleteworkflowsDeletes one or more workflows.
/api/v1/runworkflowRuns a specific workflow.
/api/v1/listworkflowexecutionsLists executions of workflows.
/api/v1/getworkflowexecutionGets details of a workflow execution.
/api/v1/getworkflowtraceRetrieves trace information for a workflow.
/api/v1/getsessionworkflowtraceGets workflow trace for a session.
/api/v1/runagentsubscriptionRuns an agent subscription.
/api/v1/createprompttemplateCreates a new prompt template.
/api/v1/getprompttemplateRetrieves a prompt template.
/api/v1/editprompttemplateEdits a prompt template.
/api/v1/deleteprompttemplatesDeletes prompt templates.
/api/v1/listprompttemplatesLists all prompt templates.
/api/v1/generateadvancedpromptschemaGenerates a schema for advanced prompts.
/api/v1/convertprompttemplatetoagentConverts a prompt template to an agent.
/api/v1/rewritepromptRewrites a prompt for optimization.
/api/v1/deleteallchatsDeletes all chat sessions for a user.
/api/v1/deletechatsDeletes one or more chat sessions.
/api/v1/getchatRetrieves details of a specific chat session.
/api/v1/getchatapplicationGets information about a chat application.
/api/v1/listchatapplicationsLists available chat applications (e.g., bots).
/api/v1/listchatsLists all chat sessions for a user.
/api/v1/createpaperinchatCreates a paper (document) in a chat.
/api/v1/getallpapersinchatLists all papers in a chat.
/api/v1/getpaperRetrieves a specific paper from a chat.
/api/v1/editpaperEdits a paper in a chat.
/api/v1/deletepaperDeletes a paper from a chat.
/api/v1/uploadchatfilesUploads files to a chat session.
/api/v1/downloadchatfile/{fileId}Downloads a file from a chat session.
/api/v1/getchatfilesLists files uploaded to a chat.
/api/v1/deletechatfilesDeletes files from a chat.
/api/v1/uploadfilesforagentUploads files for use by an agent.
/api/v1/getfilesforagentLists files available to an agent.
/api/v1/listgleanbotchannelsLists available Gleanbot channels.
/api/v1/executeactiontoolExecutes a specific action or tool.
/api/v1/adminsearchPerforms an admin-level search.
/api/v1/autocompleteProvides autocomplete suggestions.
/api/v1/deletequeryhistoryDeletes a user’s query history.
/api/v1/imagesRetrieves images or image metadata.
/api/v1/uploadimageUploads an image.
/api/v1/pinPins an item for quick access.
/api/v1/unpinUnpins a previously pinned item.
/api/v1/editpinEdits a pinned item.
/api/v1/listpinsLists all pinned items.
/api/v1/getpinRetrieves details of a pinned item.
/api/v1/peopleLists or searches for people.
/api/v1/downloadpeopleDownloads people data.
/api/v1/downloadentitiesDownloads entity data.
/api/v1/teamsLists or manages teams.
/api/v1/createteamsCreates new teams.
/api/v1/deleteteamsDeletes teams.
/api/v1/knowledgegraph/entitiesLists entities in the knowledge graph.
/api/v1/digestrecommendationsProvides digest recommendations.
/api/v1/agentrecommendationsProvides agent recommendations.
/api/v1/inviteSends an invitation to join Scio.
/api/v1/slackdigestsSends or retrieves Slack digests.
/api/v1/supportSends a support request.
/api/v1/supportwidgetsettingsGets settings for the support widget.
/api/v1/customentitiesLists or manages custom entities.
/api/v1/createcustomentityCreates a custom entity.
/api/v1/editcustomentityEdits a custom entity.
/api/v1/deletecustomentityDeletes a custom entity.
/api/v1/savestructuredresultSaves a structured result.
/api/v1/verifyVerifies an item or user.
/api/v1/addverificationreminderAdds a verification reminder.
/api/v1/listverificationsLists verification items or statuses.
/api/v1/listusersettingsLists user settings.
/api/v1/saveusersettingsSaves user settings.
/api/v1/feedRetrieves a personalized feed.
/api/v1/geteventsLists or retrieves events.
/api/v1/createanswerCreates an answer (knowledge base).
/api/v1/deleteanswerDeletes an answer.
/api/v1/editanswerEdits an answer.
/api/v1/previewanswerPreviews an answer before saving.
/api/v1/getanswerRetrieves a specific answer.
/api/v1/summarizeSummarizes text or content.
/api/v1/listanswersLists all answers.
/api/v1/updateanswerlikesUpdates likes for an answer.
/api/v1/editfavoritesEdits a user’s favorites.
/api/v1/createanswerboardCreates an answer board (collection).
/api/v1/deleteanswerboardsDeletes answer boards.
/api/v1/editanswerboardEdits an answer board.
/api/v1/listanswerboardsLists answer boards.
/api/v1/getanswerboardRetrieves a specific answer board.
/api/v1/transcribeTranscribes audio to text.
/api/v1/get_sample_queriesRetrieves sample queries.
/api/v1/set_query_labelsSets labels for queries.
/api/v1/get_sessionsLists user sessions.
/api/v1/get_ranking_evalsetGets a ranking evaluation set.
/api/v1/get_spellcheck_eval_resultGets spellcheck evaluation results.
/api/v1/run_spellcheck_evalRuns a spellcheck evaluation.
/api/v1/run_server_ranking_evalRuns a server-side ranking evaluation.
/api/v1/run_judgeRuns a judge evaluation.
/api/v1/delete_server_evalDeletes a server evaluation.
/api/v1/get_eval_set_typesGets types of evaluation sets.
/api/v1/get_server_run_evalsGets server run evaluations.
/api/v1/get_default_judge_configGets default judge configuration.
/api/v1/update_eval_entry_annotationsUpdates evaluation entry annotations.
/api/v1/configRetrieves application configuration.
/api/v1/listtoolsLists available tools.
/api/v1/deleteactionpackDeletes an action pack.
/api/v1/listsupportedactionpacksLists supported action packs.
/api/v1/validateactionpackauthValidates action pack authentication.
/api/v1/listcontentrenderedactionsLists content-rendered actions.
/api/v1/configureactionConfigures an action.
/api/v1/getactionRetrieves a specific action.
/api/v1/deleteactionDeletes an action.
/api/v1/configureactioninstanceConfigures an action instance.
/api/v1/deleteactioninstanceDeletes an action instance.
/api/v1/listactioninstancesLists action instances.
/api/v1/generateactionGenerates a new action.
/api/v1/validateactionapispecValidates an action API specification.
/api/v1/publicclientconfigGets public client configuration.
/api/v1/recommendationsProvides recommendations.
/api/v1/checkauthChecks user authentication status.
/api/v1/checkactasauthChecks “act as” authentication.
/api/v1/documentmetadataRetrieves document metadata.
/api/v1/messagesSends or retrieves messages.
/api/v1/insightsRetrieves insights or analytics.
/api/v1/downloadinsightsDownloads insights data.
/api/v1/peoplesuggestSuggests people based on input.
/api/v1/peoplesuggestadminAdmin endpoint for people suggestions.
/api/v1/createannouncementCreates an announcement.
/api/v1/updateannouncementUpdates an announcement.
/api/v1/listannouncementsLists announcements.
/api/v1/previewannouncementPreviews an announcement.
/api/v1/previewannouncementdraftPreviews a draft announcement.
/api/v1/previewanswerdraftPreviews a draft answer.
/api/v1/getannouncementRetrieves a specific announcement.
/api/v1/deleteannouncementDeletes an announcement.
/api/v1/unpublishannouncementUnpublishes an announcement.
/api/v1/getdraftannouncementRetrieves a draft announcement.
/api/v1/deletedraftannouncementDeletes a draft announcement.
/api/v1/createdraftannouncementCreates a draft announcement.
/api/v1/updatedraftannouncementUpdates a draft announcement.
/api/v1/publishdraftannouncementPublishes a draft announcement.
/api/v1/addcredentialAdds a user credential.
/api/v1/removecredentialRemoves a user credential.
/api/v1/createcollectionCreates a collection.
/api/v1/editcollectionEdits a collection.
/api/v1/editcollectionitemEdits an item in a collection.
/api/v1/deletecollectionDeletes a collection.
/api/v1/listcollectionsLists all collections.
/api/v1/movecollectionitemMoves an item within a collection.
/api/v1/getcollectionRetrieves a specific collection.
/api/v1/pincollectionPins a collection.
/api/v1/editdocumentcollectionsEdits document collections.
/api/v1/addcollectionitemsAdds items to a collection.
/api/v1/deletecollectionitemDeletes an item from a collection.
/api/v1/listentitiesLists entities.
/api/v1/createdisplayablelistsCreates displayable lists.
/api/v1/deletedisplayablelistsDeletes displayable lists.
/api/v1/updatedisplayablelistsUpdates displayable lists.
/api/v1/getdisplayablelistsRetrieves displayable lists.
/api/v1/editpermissionsEdits permission settings.
/api/v1/editgrouppermissionsEdits group permission settings.
/api/v1/getdocumentsRetrieves documents.
/api/v1/getdocumentsbyfacetsRetrieves documents by facets.
/api/v1/getdocumentanalyticsRetrieves document analytics.
/api/v1/previewshortcutPreviews a shortcut.
/api/v1/createauthtokenCreates an authentication token.
/api/v1/createanonymoustokenCreates an anonymous token.
/api/v1/createshortcutCreates a shortcut.
/api/v1/updateshortcutUpdates a shortcut.
/api/v1/deleteshortcutDeletes a shortcut.
/api/v1/getshortcutRetrieves a shortcut.
/api/v1/getsimilarshortcutsGets similar shortcuts.
/api/v1/listshortcutsLists all shortcuts.
/api/v1/classifyintentClassifies user intent.
/api/v1/validatellmcValidates LLM configuration.
/api/v1/listllmcforagentsLists LLM configurations for agents.

This comprehensive list helps you understand what user activities are being tracked in your audit logs. You can use this information to set up monitoring, investigate specific user actions, or ensure compliance with your organization’s security policies.

Advanced Search and Filtering

Efficiently locate specific audit entries using powerful search capabilities:

  • Time Range Filtering: Narrow down logs to specific dates or time periods
  • User-Based Filtering: View actions by specific admins
  • Action Type Filtering: Focus on particular types of changes (e.g., data source changes, global configuration changes)
  • Keyword Search: Find logs containing specific configuration names or values

Use a combination of filters to quickly identify patterns or investigate specific incidents. For example, filter by “Past week” + “Admin” + “Failures” to review recent failures to setup triggered by an admin.

Export and Reporting

Export audit log data for external analysis, compliance reporting, and long-term record keeping:

1

Access Export Feature

Navigate to Admin Console > Settings > Audit Logs

2

Apply Filters

Use the filtering options to select the specific logs you want to export

3

Export to CSV

Click the “Export to CSV” button to download your filtered audit log data

CSV exports include all available log fields including timestamps, user identities, action descriptions, affected resources, and change details.

Audit Log Retention

Default Retention Period

Glean maintains audit logs for a standard retention period to balance storage efficiency with administrative needs. The default retention period of 30 days ensures you have sufficient historical data for typical troubleshooting and compliance requirements.

Custom Retention Periods

If your organization requires a longer audit log retention period for compliance, security, or operational reasons, contact your Glean representative to discuss custom retention options.

When to Consider Extended Retention

  • Compliance Requirements: Regulatory or industry standards requiring longer data retention
  • Security Investigations: Need for extended historical analysis capabilities
  • Organizational Policies: Internal governance requiring longer audit trails
  • Change Management: Extended rollback and analysis capabilities

How to Request Retention Changes

1

Assess Requirements

Determine your specific retention needs based on compliance, security, and operational requirements

2

Contact Glean

Reach out to your Glean Customer Success Manager or Account Representative

3

Provide Details

Share your retention requirements, justification, and any compliance standards that apply

4

Implementation

Glean will work with you to implement the appropriate retention period for your needs

Security Considerations

  • Restrict audit log access to appropriate admins only
  • Regularly export logs for backup and compliance purposes
  • Monitor for suspicious administrative activity patterns
  • Maintain separate secure storage for exported audit data

Accessing Audit Logs

Navigate to Admin Console > Settings > Audit Logs to view, search, and export your audit log data.

Access to audit logs requires appropriate administrative privileges. Contact your Glean admin if you need access to review audit log data.


For questions about audit log retention, custom compliance requirements, or advanced audit capabilities, contact your Glean Customer Success Manager or support team.