List Insights
Retrieve a list of all insights (saved charts and analyses) in your PostHog project. Supports filtering by type, dashboard, tags, and more.Endpoint
Path Parameters
The ID of the project to retrieve insights from
Query Parameters
Filter by saved status:
true- Only saved insights (or insights on dashboards)false- Only unsaved/temporary insights
Filter by insight type:
TRENDS- Trends analysisFUNNELS- Conversion funnelsRETENTION- Retention analysisPATHS- User path analysisSTICKINESS- Stickiness/engagementLIFECYCLE- Lifecycle analysisSQL- SQL/HogQL queriesJSON- Custom JSON insights
Search insights by name, description, or tags (case-insensitive)
JSON array of dashboard IDs to filter by. Returns insights on ANY of the specified dashboards.Example:
[123, 456]JSON array of tag names to filter byExample:
["marketing", "product"]If
true, filter to insights created by the current userIf
true, filter to favorited insights onlyJSON array of user IDs to filter by creatorExample:
[123, 456]Filter insights modified after this date (relative date format like
-7d or ISO 8601)Filter insights modified before this date
Sort order:
order(default) - Manual ordering-last_viewed_at- Most recently viewed firstlast_viewed_at- Least recently viewed first
Maximum number of results to return
Number of results to skip (for pagination)
If
true, return basic metadata only (no query results, faster response)How to handle result calculation:
force_cache- Return cached data onlyblocking- Calculate synchronously if neededasync- Kick off background calculation if neededlazy_async- Background calculation for stale cacheforce_blocking- Always calculate synchronouslyforce_async- Always kick off background calculation
Response Fields
Array of insight objects
Unique identifier for the insight
Short, human-readable ID (used in URLs)
Name of the insight
Auto-generated name if no explicit name provided
Description of the insight
Query definition for this insight
Query results (if not using
basic=true)User who created the insight
ISO 8601 timestamp of creation
ISO 8601 timestamp of last modification
ISO 8601 timestamp of when results were calculated
Whether this insight is saved
Whether this insight is favorited
Array of dashboard IDs this insight is on
Array of tags applied to this insight
Total number of insights matching filters
URL for next page of results
URL for previous page of results
Examples
List All Insights
Retrieve all saved insights with basic metadata:Filter by Type
Retrieve only funnel insights:Search Insights
Search for insights by name or description:Filter by Dashboard
Get insights on specific dashboards:Recently Viewed Insights
Get insights sorted by most recently viewed:Response
Error Responses
Invalid or missing API key
Insufficient permissions to view insights
Project not found
Notes
- Use
basic=truefor faster responses when you only need metadata - Results are paginated with a default limit of 100
- Deleted insights are excluded from results
- The
refreshparameter controls whether and how to recalculate results - Use
force_cachefor fastest responses (may return stale data) - Multiple filters are combined with AND logic
- Search is case-insensitive and matches partial strings