Return a newest-first, eventually-consistent activity feed for your account.
Date ranges are capped at 30 days.
Query Parameters
string
Start of the window (ISO 8601 date-time)
string
End of the window (ISO 8601 date-time)
array
Filter by status. Repeatable. Values: auto_fixed, blocked, warned, passed
array
Filter by agent ID. Repeatable.
array
Filter by source. Repeatable.
array
Filter by rule ID. Repeatable.
string
Free-text search
string
Opaque pagination cursor from a previous response
integer
Page size (1–100)
Response
array
Activity summaries
Show item properties
string
Activity identifier
string
ISO 8601 timestamp
string
Event label
string
auto_fixed, blocked, warned, or passed
string
Originating source
string
LLM provider when applicable
string
Model name when applicable
string
First product token of the request’s User-Agent header and the comment right after it, if any (for example my-app/1.2.0 (detail)), up to 128 characters. Reported by the caller, not authenticated. null when the request sent none.
object
Agent { id, name }
array
Rule summaries with id, name, severity, type, and policy
integer
Total rules associated with the activity
integer
Number of rules omitted from the summary payload
string
Cursor for the next page, or null when finished
object
Pagination metadata
Show meta properties
integer
Total pages for the current query
integer
Current 1-based page
Errors
Status
Meaning
400
Invalid date range (maximum 30 days)
401
Invalid API key
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"ZeroDrift Enforcement API","description":"ZeroDrift Enforcement API - Enforce regulations and policies on AI content and communications","colors":{"primary":"#16A34A","light":"#07C983","dark":"#15803D"},"logo":{"light":"https://mintcdn.com/zerodrift/EnMFM7yTopP4lGmD/logo/ZD_White_Transparent.png?fit=max\u0026auto=format\u0026n=EnMFM7yTopP4lGmD\u0026q=85\u0026s=8a3a1cfcd216c0a056b6a1cd0c50a332","dark":"https://mintcdn.com/zerodrift/EnMFM7yTopP4lGmD/logo/ZD_Black_Transparent.png?fit=max\u0026auto=format\u0026n=EnMFM7yTopP4lGmD\u0026q=85\u0026s=dd2ae5c915064ad7ebf1aa495eb2efce"},"favicon":"https://mintcdn.com/zerodrift/C1CP0SqlGtEDTLZM/favicon.svg?fit=max\u0026auto=format\u0026n=C1CP0SqlGtEDTLZM\u0026q=85\u0026s=3ffcd8394a2e8995fcc413d960e17117","api":{"examples":{"defaults":"required"},"mdx":{"auth":{"method":"key","name":"x-api-key"},"server":"https://api.zerodrift.ai"}},"navbar":{"links":[{"href":"mailto:support@zerodrift.ai","label":"Support"},{"href":"/changelog","label":"Changelog"}],"primary":{"type":"button","label":"Open Command","href":"https://app.zerodrift.ai"}},"footer":{},"seo":{"metatags":{"og:description":"ZeroDrift Enforcement API - Enforce regulations and policies on AI content and communications","slack-app-id":"A0CJQ2CUV8C"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"zerodrift","hasAudioNarration":false,"actualSubdomain":"zerodrift","customDomains":["docs.zerodrift.com"],"gitSource":{"type":"github","owner":"zerodriftai","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6b0f455395a7b0367e387aae","clientVersion":"0.0.4397","searchFilterCounts":[{"language":"default","tag":"API reference","count":25},{"language":"default","tag":"Guides","count":24},{"language":"default","tag":"Plugins","count":15},{"language":"default","tag":"Getting Started","count":10},{"language":"default","tag":"Import a Policy","count":7},{"language":"default","tag":"Rules","count":7},{"language":"default","tag":"Claude","count":5},{"language":"default","tag":"ChatGPT and Codex","count":5},{"language":"default","tag":"Enforce and Audit Content","count":5},{"language":"default","tag":"Slack","count":5}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/activities/list-activities","slug":"/api-reference/activities/list-activities","pageMetadata":{"title":"List Activity","description":"List Command activity for your account.","api":"GET /api/activities","href":"/api-reference/activities/list-activities"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"List Command activity for your account.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{Expandable,Heading,ParamField,ResponseField,Table}=_components;if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Return a newest-first, eventually-consistent activity feed for your account.\nDate ranges are capped at 30 days.`}),`\n`,_jsx(Heading,{level:`2`,id:`query-parameters`,children:`Query Parameters`}),`\n`,_jsx(ParamField,{query:`from`,type:`string`,id:`param-from`,children:_jsx(_components.p,{children:`Start of the window (ISO 8601 date-time)`})}),`\n`,_jsx(ParamField,{query:`to`,type:`string`,id:`param-to`,children:_jsx(_components.p,{children:`End of the window (ISO 8601 date-time)`})}),`\n`,_jsx(ParamField,{query:`status`,type:`array`,id:`param-status`,children:_jsxs(_components.p,{children:[`Filter by status. Repeatable. Values: `,_jsx(_components.code,{children:`auto_fixed`}),`, `,_jsx(_components.code,{children:`blocked`}),`, `,_jsx(_components.code,{children:`warned`}),`, `,_jsx(_components.code,{children:`passed`})]})}),`\n`,_jsx(ParamField,{query:`agent_id`,type:`array`,id:`param-agent-id`,children:_jsx(_components.p,{children:`Filter by agent ID. Repeatable.`})}),`\n`,_jsx(ParamField,{query:`source`,type:`array`,id:`param-source`,children:_jsx(_components.p,{children:`Filter by source. Repeatable.`})}),`\n`,_jsx(ParamField,{query:`rule_id`,type:`array`,id:`param-rule-id`,children:_jsx(_components.p,{children:`Filter by rule ID. Repeatable.`})}),`\n`,_jsx(ParamField,{query:`search`,type:`string`,id:`param-search`,children:_jsx(_components.p,{children:`Free-text search`})}),`\n`,_jsx(ParamField,{query:`cursor`,type:`string`,id:`param-cursor`,children:_jsx(_components.p,{children:`Opaque pagination cursor from a previous response`})}),`\n`,_jsx(ParamField,{query:`limit`,type:`integer`,id:`param-limit`,children:_jsx(_components.p,{children:`Page size (1–100)`})}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsxs(ResponseField,{name:`items`,type:`array`,id:`param-items`,children:[_jsx(_components.p,{children:`Activity summaries`}),_jsxs(Expandable,{title:`item properties`,children:[_jsx(ResponseField,{name:`activity_id`,type:`string`,id:`param-activity-id`,children:_jsx(_components.p,{children:`Activity identifier`})}),_jsx(ResponseField,{name:`occurred_at`,type:`string`,id:`param-occurred-at`,children:_jsx(_components.p,{children:`ISO 8601 timestamp`})}),_jsx(ResponseField,{name:`event_name`,type:`string`,id:`param-event-name`,children:_jsx(_components.p,{children:`Event label`})}),_jsx(ResponseField,{name:`status`,type:`string`,id:`param-status-1`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`auto_fixed`}),`, `,_jsx(_components.code,{children:`blocked`}),`, `,_jsx(_components.code,{children:`warned`}),`, or `,_jsx(_components.code,{children:`passed`})]})}),_jsx(ResponseField,{name:`source`,type:`string`,id:`param-source-1`,children:_jsx(_components.p,{children:`Originating source`})}),_jsx(ResponseField,{name:`provider`,type:`string`,id:`param-provider`,children:_jsx(_components.p,{children:`LLM provider when applicable`})}),_jsx(ResponseField,{name:`model`,type:`string`,id:`param-model`,children:_jsx(_components.p,{children:`Model name when applicable`})}),_jsx(ResponseField,{name:`client`,type:`string`,id:`param-client`,children:_jsxs(_components.p,{children:[`First product token of the request’s `,_jsx(_components.code,{children:`User-Agent`}),` header and the comment right after it, if any (for example `,_jsx(_components.code,{children:`my-app/1.2.0 (detail)`}),`), up to 128 characters. Reported by the caller, not authenticated. `,_jsx(_components.code,{children:`null`}),` when the request sent none.`]})}),_jsx(ResponseField,{name:`agent`,type:`object`,id:`param-agent`,children:_jsxs(_components.p,{children:[`Agent `,_jsx(_components.code,{children:`{ id, name }`})]})}),_jsx(ResponseField,{name:`rules`,type:`array`,id:`param-rules`,children:_jsxs(_components.p,{children:[`Rule summaries with `,_jsx(_components.code,{children:`id`}),`, `,_jsx(_components.code,{children:`name`}),`, `,_jsx(_components.code,{children:`severity`}),`, `,_jsx(_components.code,{children:`type`}),`, and `,_jsx(_components.code,{children:`policy`})]})}),_jsx(ResponseField,{name:`rule_count`,type:`integer`,id:`param-rule-count`,children:_jsx(_components.p,{children:`Total rules associated with the activity`})}),_jsx(ResponseField,{name:`truncated_rule_count`,type:`integer`,id:`param-truncated-rule-count`,children:_jsx(_components.p,{children:`Number of rules omitted from the summary payload`})})]})]}),`\n`,_jsx(ResponseField,{name:`next_cursor`,type:`string`,id:`param-next-cursor`,children:_jsxs(_components.p,{children:[`Cursor for the next page, or `,_jsx(_components.code,{children:`null`}),` when finished`]})}),`\n`,_jsxs(ResponseField,{name:`meta`,type:`object`,id:`param-meta`,children:[_jsx(_components.p,{children:`Pagination metadata`}),_jsxs(Expandable,{title:`meta properties`,children:[_jsx(ResponseField,{name:`total_pages`,type:`integer`,id:`param-total-pages`,children:_jsx(_components.p,{children:`Total pages for the current query`})}),_jsx(ResponseField,{name:`current_page`,type:`integer`,id:`param-current-page`,children:_jsx(_components.p,{children:`Current 1-based page`})})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`errors`,children:`Errors`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Meaning`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:`Invalid date range (maximum 30 days)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`401`})}),_jsx(_components.td,{children:`Invalid API key`})]})]})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"List Activity","description":"List Command activity for your account.","api":"GET /api/activities","href":"/api-reference/activities/list-activities"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Query Parameters","slug":"query-parameters","depth":2,"children":[]},{"title":"Response","slug":"response","depth":2,"children":[]},{"title":"Errors","slug":"errors","depth":2,"children":[]}],"codeExamples":{},"endpoint":{"title":"List Activity","path":"/api/activities","servers":[{"url":"https://api.zerodrift.ai"}],"method":"get","request":{"security":[{"title":"API Key Auth","parameters":{"header":{"x-api-key":{"type":"apiKey"}},"query":{},"cookie":{}}}],"parameters":{"query":{"from":{"schema":[{"type":"string","description":"Start of the window (ISO 8601 date-time)"}]},"to":{"schema":[{"type":"string","description":"End of the window (ISO 8601 date-time)"}]},"status":{"schema":[{"type":"array","items":[{"type":"object","properties":{}}],"description":"Filter by status. Repeatable. Values: `auto_fixed` , `blocked` , `warned` , `passed`"}]},"agent_id":{"schema":[{"type":"array","items":[{"type":"object","properties":{}}],"description":"Filter by agent ID. Repeatable."}]},"source":{"schema":[{"type":"array","items":[{"type":"object","properties":{}}],"description":"Filter by source. Repeatable."}]},"rule_id":{"schema":[{"type":"array","items":[{"type":"object","properties":{}}],"description":"Filter by rule ID. Repeatable."}]},"search":{"schema":[{"type":"string","description":"Free-text search"}]},"cursor":{"schema":[{"type":"string","description":"Opaque pagination cursor from a previous response"}]},"limit":{"schema":[{"type":"integer","description":"Page size (1–100)"}]}},"header":{},"cookie":{},"path":{}},"body":{}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"items":[{"type":"array","items":[{"type":"object","properties":{"activity_id":[{"type":"string","description":"Activity identifier"}],"occurred_at":[{"type":"string","description":"ISO 8601 timestamp"}],"event_name":[{"type":"string","description":"Event label"}],"status":[{"type":"string","description":"`auto_fixed` , `blocked` , `warned` , or `passed`"}],"source":[{"type":"string","description":"Originating source"}],"provider":[{"type":"string","description":"LLM provider when applicable"}],"model":[{"type":"string","description":"Model name when applicable"}],"client":[{"type":"string","description":"First product token of the request’s `User-Agent` header and the comment right after it, if any (for example `my-app/1.2.0 (detail)` ), up to 128 characters. Reported by the caller, not authenticated. `null` when the request sent none."}],"agent":[{"type":"object","properties":{},"description":"Agent `{ id, name }`"}],"rules":[{"type":"array","items":[{"type":"object","properties":{}}],"description":"Rule summaries with `id` , `name` , `severity` , `type` , and `policy`"}],"rule_count":[{"type":"integer","description":"Total rules associated with the activity"}],"truncated_rule_count":[{"type":"integer","description":"Number of rules omitted from the summary payload"}]}}],"description":"Activity summaries"}],"next_cursor":[{"type":"string","description":"Cursor for the next page, or `null` when finished"}],"meta":[{"type":"object","properties":{"total_pages":[{"type":"integer","description":"Total pages for the current query"}],"current_page":[{"type":"integer","description":"Current 1-based page"}]},"description":"Pagination metadata"}]}}],"examples":{"example":{"value":{"items":[{"activity_id":"\u003cstring>","occurred_at":"\u003cstring>","event_name":"\u003cstring>","status":"\u003cstring>","source":"\u003cstring>","provider":"\u003cstring>","model":"\u003cstring>","client":"\u003cstring>","agent":{},"rules":[{}],"rule_count":123,"truncated_rule_count":123}],"next_cursor":"\u003cstring>","meta":{"total_pages":123,"current_page":123}}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"zerodrift","siteName":"ZeroDrift Enforcement API","title":"List Activity - ZeroDrift Enforcement API","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-16T20:56:59.509Z","originalFileLocation":"api-reference/activities/list-activities.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"List Command activity for your account.\">\u003cmeta data-mint-head name=\"application-name\" content=\"ZeroDrift Enforcement API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/zerodrift/kLkBuz49Q8U_6srQ/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/zerodrift/kLkBuz49Q8U_6srQ/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/zerodrift/kLkBuz49Q8U_6srQ/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/zerodrift/kLkBuz49Q8U_6srQ/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/zerodrift/kLkBuz49Q8U_6srQ/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/zerodrift/kLkBuz49Q8U_6srQ/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/zerodrift/kLkBuz49Q8U_6srQ/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/zerodrift/kLkBuz49Q8U_6srQ/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/zerodrift/kLkBuz49Q8U_6srQ/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"List Activity - ZeroDrift Enforcement API\">\u003cmeta data-mint-head property=\"og:description\" content=\"ZeroDrift Enforcement API - Enforce regulations and policies on AI content and communications\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"ZeroDrift Enforcement API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.zerodrift.com/api-reference/activities/list-activities\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://zerodrift.mintlify.site/_mintlify/api/og/v2?division=Activity\u0026amp;title=List+Activity\u0026amp;description=List+Command+activity+for+your+account.\u0026amp;theme=4a77b3342bf61dc8ad6b1fee\u0026amp;signature=8c39b00e12d374b92de732a5054dca58c0dd9db6127967a062bdaa7ea4625641\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"List Activity - ZeroDrift Enforcement API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"ZeroDrift Enforcement API - Enforce regulations and policies on AI content and communications\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://zerodrift.mintlify.site/_mintlify/api/og/v2?division=Activity\u0026amp;title=List+Activity\u0026amp;description=List+Command+activity+for+your+account.\u0026amp;theme=4a77b3342bf61dc8ad6b1fee\u0026amp;signature=8c39b00e12d374b92de732a5054dca58c0dd9db6127967a062bdaa7ea4625641\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/zerodrift/kLkBuz49Q8U_6srQ/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"ZeroDrift Enforcement API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#16A34A\">\u003cmeta data-mint-head name=\"slack-app-id\" content=\"A0CJQ2CUV8C\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.zerodrift.com/api-reference/activities/list-activities\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/activities/list-activities.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.zerodrift.com/#organization\",\"name\":\"ZeroDrift Enforcement API\",\"url\":\"https://docs.zerodrift.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/zerodrift/EnMFM7yTopP4lGmD/logo/ZD_White_Transparent.png?fit=max\u0026auto=format\u0026n=EnMFM7yTopP4lGmD\u0026q=85\u0026s=8a3a1cfcd216c0a056b6a1cd0c50a332\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.zerodrift.com#website\",\"name\":\"ZeroDrift Enforcement API\",\"url\":\"https://docs.zerodrift.com\",\"publisher\":{\"@id\":\"https://docs.zerodrift.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.zerodrift.com/api-reference/activities/list-activities#webpage\",\"url\":\"https://docs.zerodrift.com/api-reference/activities/list-activities\",\"name\":\"List Activity\",\"description\":\"List Command activity for your account.\",\"dateModified\":\"2026-11-16T20:56:59.509Z\",\"isPartOf\":{\"@id\":\"https://docs.zerodrift.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.zerodrift.com/api-reference/activities/list-activities#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.zerodrift.com/api-reference/activities/list-activities#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"ZeroDrift Enforcement API\",\"item\":\"https://docs.zerodrift.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"List Activity\",\"item\":\"https://docs.zerodrift.com/api-reference/activities/list-activities\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.zerodrift.com/api-reference/activities/list-activities#apireference\",\"headline\":\"List Activity\",\"name\":\"List Activity\",\"description\":\"List Command activity for your account.\",\"url\":\"https://docs.zerodrift.com/api-reference/activities/list-activities\",\"mainEntityOfPage\":{\"@id\":\"https://docs.zerodrift.com/api-reference/activities/list-activities#webpage\"},\"dateModified\":\"2026-11-16T20:56:59.509Z\",\"publisher\":{\"@id\":\"https://docs.zerodrift.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.zerodrift.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"ZeroDrift Enforcement API\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"ZeroDrift Enforcement API\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/activities/list-activities.md","siteName":"ZeroDrift Enforcement API","nav":{"global":{},"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":""}]},{"tab":"Plugins","pages":[{"title":"Plugins","href":"/codex-plugin"}]},{"tab":"API reference","groups":[{"group":"Getting Started","pages":[{"title":"Introduction","href":"/api-reference/introduction"},{"title":"Errors","href":"/api-reference/errors"},{"title":"OpenAPI specification","href":"/api-reference/openapi"}]},{"group":"Enforce","pages":[{"title":"Enforce Content","api":"POST /api/v3/content/validate","href":"/api-reference/validate/validate-content"},{"title":"Get Verdict","api":"GET /api/v3/jobs/{job_id}","href":"/api-reference/validate/get-results"}]},{"group":"Redact","pages":[{"title":"Redact PII","api":"POST /api/v3/content/redact","href":"/api-reference/redact/redact-text"}]},{"group":"Import a Policy","pages":[{"title":"Import Policy","api":"POST /api/policies/import","href":"/api-reference/custom-policies/import-policy"},{"title":"Get Import Presigned URL","api":"POST /api/policies/import/presigned_url","href":"/api-reference/custom-policies/import-presigned-url"},{"title":"Start Import","api":"POST /api/policies/import/start","href":"/api-reference/custom-policies/start-import"},{"title":"List Policy Imports","api":"GET /api/policies/import","href":"/api-reference/custom-policies/list-imports"},{"title":"Get Import Details","api":"GET /api/policies/import/{import_id}","href":"/api-reference/custom-policies/get-import-details"},{"title":"Edit Imported Rule","api":"PATCH /api/policies/import/{import_id}/rules/{rule_id}","href":"/api-reference/custom-policies/edit-imported-rule"},{"title":"Activate Rules","api":"POST /api/policies/import/{import_id}/activate","href":"/api-reference/custom-policies/activate-rules"}]},{"group":"Rules","pages":[{"title":"List Rules","api":"GET /api/policies/rules","href":"/api-reference/custom-policies/list-rules"},{"title":"Create Custom Rule","api":"POST /api/policies/rules","href":"/api-reference/custom-policies/create-rule"},{"title":"Get Custom Rule","api":"GET /api/policies/rules/{rule_id}","href":"/api-reference/custom-policies/get-rule"},{"title":"Edit Custom Rule","api":"PATCH /api/policies/rules/{rule_id}","href":"/api-reference/custom-policies/edit-rule"},{"title":"Delete Custom Rule","api":"DELETE /api/policies/rules/{rule_id}","href":"/api-reference/custom-policies/delete-rule"},{"title":"Deactivate Rules","api":"POST /api/policies/rules/deactivate","href":"/api-reference/custom-policies/deactivate-rules"},{"title":"Reactivate Rules","api":"POST /api/policies/rules/activate","href":"/api-reference/custom-policies/reactivate-rules"}]},{"group":"Rule Packs","pages":[{"title":"Rule Packs","description":"Query the normalized policy catalog of managed and custom rule packs","api":"GET /api/rulepacks/","href":"/api-reference/rulepacks"}]},{"group":"Activity","pages":[{"title":"List Activity","api":"GET /api/activities","href":"/api-reference/activities/list-activities"},{"title":"Get Activity","description":"Get one Command activity event with timeline and rule detail.","api":"GET /api/activities/{activity_id}","href":"/api-reference/activities/get-activity"}]},{"group":"Training Studio","pages":[{"title":"Train Policy Adapter","api":"POST /api/policies/import/{import_id}/train","href":"/api-reference/training-studio/train-policy"},{"title":"Get Training Status","api":"GET /api/policies/import/{import_id}/train","href":"/api-reference/training-studio/get-training-status"}]}]}]},"basePath":"","title":"List Activity - ZeroDrift Enforcement API","deploymentId":"dpl_GDNWf1tLGuMA7VZdZjLPVcJLRJgG","buildId":"dpl_GDNWf1tLGuMA7VZdZjLPVcJLRJgG","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-DiWQR0Dw.js","snippetPresets-BmylJwUX.js","utils-C2fWuTLj.js","style-to-object-BY3JEAdk.js","utils-CSS9SJgm.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-B_HuAfYC.js","conditional-requirements-CFM0id0Q.js","cloneDeep-Bink-3az.js","_Uint8Array-DH8dt3QM.js","isObject-FP1Yky1u.js","ApiExamples-DKwL65Qp.js","usePlaygroundInputsStore-Byf7Wjg-.js","shallow-xQA3heHi.js","isEqual-CWFuCnsy.js","CodeSnippets-DrJ7GrW7.js","CodeSnippet-Bau4ZVdW.js","use-playground-group-access-BIWJdxB8.js","Page-DRR8sPxe.js","api-description-markdown-Bl6IXimh.js","DynamicMarkdown-CsDDjLGd.js","SectionHeading-CDNIUELf.js","MethodPill-B33MQrA3.js","getPastedJson-B5OQB7us.js","Check2Icon-lMIePS93.js","axios-CsQoIw0U.js"]}