Request
- Base URL: https://us.posthog.com
- URL: https://us.posthog.com/api/projects/{project_id}/activity_log/
- Auth: HTTP bearer
Path parameters
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Query parameters
Filter by the ID of the affected resource.
Sort by when the entry was created. Defaults to newest first. Use created_at for oldest first when polling for new entries, so a saved cursor picks up where the last request stopped.
- -created_at - -created_at
- created_at - created_at
Page number for pagination. When provided, uses page-based pagination ordered by most recent first.
Number of results per page (default: 100, max: 1000).
Filter by a single activity scope, e.g. "FeatureFlag", "Insight", "Dashboard", "Experiment".
- Cohort - Cohort
- CrossProjectDashboard - CrossProjectDashboard
- FeatureFlag - FeatureFlag
- Person - Person
- Group - Group
- Insight - Insight
- Plugin - Plugin
- PluginConfig - PluginConfig
- HogFunction - HogFunction
- HogFlow - HogFlow
- DataManagement - DataManagement
- EventDefinition - EventDefinition
- PropertyDefinition - PropertyDefinition
- Notebook - Notebook
- GeneratedWidget - GeneratedWidget
- Canvas - Canvas
- Endpoint - Endpoint
- EndpointVersion - EndpointVersion
- Dashboard - Dashboard
- Replay - Replay
- Experiment - Experiment
- ExperimentHoldout - ExperimentHoldout
- ExperimentSavedMetric - ExperimentSavedMetric
- Survey - Survey
- EarlyAccessFeature - EarlyAccessFeature
- SessionRecordingPlaylist - SessionRecordingPlaylist
- ReplayScanner - ReplayScanner
- VisionAlertConfiguration - VisionAlertConfiguration
- Comment - Comment
- Team - Team
- Project - Project
- ErrorTrackingIssue - ErrorTrackingIssue
- DataWarehouseExpression - DataWarehouseExpression
- DataWarehouseSavedQuery - DataWarehouseSavedQuery
- LegalDocument - LegalDocument
- Organization - Organization
- OrganizationDomain - OrganizationDomain
- IdentityProviderConfig - IdentityProviderConfig
- OrganizationMembership - OrganizationMembership
- Role - Role
- UserGroup - UserGroup
- BatchExport - BatchExport
- BatchImport - BatchImport
- ExportedAsset - ExportedAsset
- Integration - Integration
- Annotation - Annotation
- Tag - Tag
- TaggedItem - TaggedItem
- Subscription - Subscription
- PersonalAPIKey - PersonalAPIKey
- ProjectSecretAPIKey - ProjectSecretAPIKey
- OAuthApplication - OAuthApplication
- User - User
- Action - Action
- AccountView - AccountView
- AlertConfiguration - AlertConfiguration
- Threshold - Threshold
- AlertSubscription - AlertSubscription
- ExternalDataSource - ExternalDataSource
- ExternalDataSchema - ExternalDataSchema
- Evaluation - Evaluation
- EvaluationDirectory - EvaluationDirectory
- LLMPrompt - LLMPrompt
- LLMPromptLabel - LLMPromptLabel
- LLMTrace - LLMTrace
- AIGatewayCredit - AIGatewayCredit
- WebAnalyticsFilterPreset - WebAnalyticsFilterPreset
- CustomerProfileConfig - CustomerProfileConfig
- Log - Log
- LogsAlertConfiguration - LogsAlertConfiguration
- LogsExclusionRule - LogsExclusionRule
- LogsRetentionRule - LogsRetentionRule
- TracesRetentionRule - TracesRetentionRule
- DashboardWidget - DashboardWidget
- ProductTour - ProductTour
- Ticket - Ticket
- InstanceSetting - InstanceSetting
- SignalReport - SignalReport
- SignalScoutConfig - SignalScoutConfig
- SignalTeamConfig - SignalTeamConfig
- StreamlitApp - StreamlitApp
- Metric - Metric
- TableCertification - TableCertification
- DataQualityCheck - DataQualityCheck
- DataQualityCheckSchedule - DataQualityCheckSchedule
- WarehouseSuggestion - WarehouseSuggestion
- Billing - Billing
- Loop - Loop
- StamphogRepoConfig - StamphogRepoConfig
- ReviewRepository - ReviewRepository
- ReviewProjectSettings - ReviewProjectSettings
- ReviewInstallationClaim - ReviewInstallationClaim
Filter by multiple activity scopes, comma-separated. Values must be valid ActivityScope enum values. E.g. "FeatureFlag,Insight".
Filter by user UUID who performed the action.
Response
Example response
{
"next": "http://api.example.org/accounts/?cursor=cD00ODY%3D\"",
"previous": "http://api.example.org/accounts/?cursor=cj0xJnA9NDg3",
"count": 123
}Changes
No recorded changes to this operation across all 1 revision of this API.