# Greenflash > Greenflash helps teams turn AI products into self-improving growth engines with automatic analysis, testing, and optimization. ## Docs - [Quickstart](https://docs.greenflash.ai/intro/quickstart.md): Get started with Greenflash in 10 minutes or less. - [AI Product Analysis](https://docs.greenflash.ai/intro/ai-product-analysis.md): Deep, multi-layered analysis of every conversation to understand quality, safety, and user behavior. - [AI Product Optimization](https://docs.greenflash.ai/intro/ai-product-optimization.md): AI-powered prompt engineering and system optimization based on real user interactions and business outcomes. - [Greenflash Agent](https://docs.greenflash.ai/intro/greenflash-agent.md): An AI analyst built into Greenflash that can answer questions about your data, surface correlations, generate reports, and take actions in your account. - [User Segments](https://docs.greenflash.ai/features/user-segments.md): User Research workspace built around segments. Seven system cohorts populated on day one, a visual builder for custom segments, and the ability to scope any analysis in Greenflash to any cohort you can build. - [Prompt Optimization & Management](https://docs.greenflash.ai/features/prompt-optimization.md): Complete guide to recording, analyzing, managing, and optimizing prompts with Greenflash - [Model Optimization & Comparison](https://docs.greenflash.ai/features/model-optimization.md): Track, analyze, and compare AI model performance across your products - [Product Quality Index (PQI)](https://docs.greenflash.ai/features/product-quality-weights.md): Define what quality means for your product and make every Greenflash analysis act on it. - [Custom Analyses](https://docs.greenflash.ai/features/custom-analyses.md): Turn business questions into analyses that run continuously. - [Linear](https://docs.greenflash.ai/integrations/linear.md): Turn AI insights into Linear issues from anywhere in Greenflash: inbox, review queue, conversation detail, product page, command palette, or the Greenflash agent. Bidirectional state and comment sync keeps both sides aligned. - [PostHog](https://docs.greenflash.ai/integrations/posthog.md): Stream PostHog events into Greenflash with one webhook destination — no app code, no SDKs, no extra instrumentation. - [Amplitude](https://docs.greenflash.ai/integrations/amplitude.md): Stream Amplitude events into Greenflash through an HTTP event streaming destination — your existing instrumentation becomes the outcome layer for your AI conversations. - [Segment](https://docs.greenflash.ai/integrations/segment.md): Forward every Segment track event into Greenflash through a single Webhook destination — zero app changes, your existing instrumentation does the work. - [Slack App](https://docs.greenflash.ai/features/slack.md): Get weekly summaries, real-time inbox alerts, and chat with the Greenflash agent — all directly in Slack. - [Webhooks](https://docs.greenflash.ai/intro/webhooks.md): Get notified instantly when quality drops or conversations need attention. - [Workflow Integrations](https://docs.greenflash.ai/intro/workflow-integrations.md): Trigger n8n, Zapier, Slack, and other workflows with Greenflash webhooks. - [Voice Agents](https://docs.greenflash.ai/integrations/voice.md): Voice-agent analytics that work on any transcript. No audio storage required. Latency, interruptions, silences, call-end, and prosody analyzers, plus a synced audio timeline on every call. - [Data Curation](https://docs.greenflash.ai/intro/data-curation.md): Transform real user conversations into high-quality training datasets powered by deep analysis. - [Events](https://docs.greenflash.ai/features/events.md): Close the loop between AI interactions and business outcomes. - [Sampling](https://docs.greenflash.ai/features/sampling.md): Control data ingestion rates for high-volume applications - [Public API](https://docs.greenflash.ai/features/public-api.md): Programmatic access to your conversation data, analytics, and AI-powered insights. - [Agent Skill](https://docs.greenflash.ai/features/agent-skill.md): Bring Greenflash insights directly into your coding agent — ask questions, diagnose issues, and implement fixes without leaving the terminal. - [Capture Interactions and Messages](https://docs.greenflash.ai/api-reference/interactions/capture-interactions-and-messages.md): Send us your AI conversations so we can analyze them for you. Works with everything from simple chatbots to complex agentic systems — text or voice. - [Capture User Feedback and Ratings](https://docs.greenflash.ai/api-reference/interactions/capture-user-feedback-and-ratings.md): Record user feedback and ratings for conversations or individual messages. - [List Interactions](https://docs.greenflash.ai/api-reference/interactions/list-interactions.md): Browse through all conversations in your workspace to understand how users are interacting with your AI. Filter by product or version to focus on specific areas of your application. - [Get Interaction Detail](https://docs.greenflash.ai/api-reference/interactions/get-interaction-detail.md): Get full interaction detail including the conversation transcript, participant info, and metadata. Returns all message types including tool calls and observations for complete diagnostic visibility. - [Get Interaction Analytics](https://docs.greenflash.ai/api-reference/analytics/get-interaction-analytics.md): Understand what happened in a specific conversation with AI-powered analysis. See sentiment shifts, detect frustration, identify commercial intent, and get actionable insights. - [Get Model Analytics](https://docs.greenflash.ai/api-reference/analytics/get-model-analytics.md): Get comprehensive analytics for a specific model including quality scores, sentiment analysis, safety metrics, LLM-generated recommendations, and time-series data. - [Get Product Analytics](https://docs.greenflash.ai/api-reference/analytics/get-product-analytics.md): Get comprehensive analytics for a specific product, including sentiment analysis, quality scores, safety metrics, topics, root causes, and actionable insights. - [Get Prompt Analytics](https://docs.greenflash.ai/api-reference/analytics/get-prompt-analytics.md): Get computed analytics for a specific prompt, including quality metrics, usage statistics, and suggestion data. - [Get Segment Analytics](https://docs.greenflash.ai/api-reference/analytics/get-segment-analytics.md): Get aggregated analytics for a specific segment including sentiment, safety metrics, topics, keywords, and an LLM-generated summary. - [Get Organization Analytics](https://docs.greenflash.ai/api-reference/analytics/get-organization-analytics.md): See how an entire organization (company, team, etc.) engages with your AI across all their users and conversations. Spot trends, measure satisfaction, and identify opportunities to improve the experience for your biggest customers. - [Get User Analytics](https://docs.greenflash.ai/api-reference/analytics/get-user-analytics.md): Understand how a specific user engages with your AI across all their conversations. Track their satisfaction, identify pain points, and spot opportunities to improve their experience. - [Stream Chat](https://docs.greenflash.ai/api-reference/chat/stream-chat.md): Start a streaming chat session with the Greenflash AI agent. - [Create an event](https://docs.greenflash.ai/api-reference/business-events/create-an-event.md): Track timestamped events representing user or organization actions. Events are used to track important business outcomes (signups, conversions, upgrades, cancellations, etc.) and integrate them into Greenflash's quality metrics. Each event can be optionally linked to a conversation, user, and organi… - [List Inbox Items](https://docs.greenflash.ai/api-reference/inbox/list-inbox-items.md): List conversations that have been flagged for review. Filter by review status, trigger type, or severity to focus on what matters most. Results are ordered by attention score (unreviewed) or last updated (reviewed/dismissed). - [Get Inbox Item](https://docs.greenflash.ai/api-reference/inbox/get-inbox-item.md): Get the full detail of a single inbox item including conversation messages, analysis scores, trigger metadata, keywords, and participant information. - [List Models](https://docs.greenflash.ai/api-reference/models/list-models.md): List all AI models in your workspace with summary information including usage counts. Available on all plans. - [Get Model](https://docs.greenflash.ai/api-reference/models/get-model.md): Get detailed information about a specific model including specs, benchmarks, costs, and products using it. Available on all plans. - [List Products](https://docs.greenflash.ai/api-reference/products/list-products.md): List all products in your workspace. Returns a summary view of each product with pagination support. Available on all plans. - [Get Product](https://docs.greenflash.ai/api-reference/products/get-product.md): Get detailed configuration data for a specific product, including description, optimization notes, team members, and quality index metric weights. Available on all plans. - [Update product context based on user feedback](https://docs.greenflash.ai/api-reference/products/update-product-context-based-on-user-feedback.md): Merge user-supplied feedback into a product's optimization-notes context. The notes have a prose body plus a capped audit trail of recent corrections — both are managed for you. Returns a short summary of what changed; the full notes are not echoed back. Available on all plans. - [Get Prompt](https://docs.greenflash.ai/api-reference/prompts/get-prompt.md): Retrieve a prompt and optionally personalize it with dynamic variables. Perfect for fetching the prompt you want to use right before sending it to your AI. - [Update Prompt](https://docs.greenflash.ai/api-reference/prompts/update-prompt.md): Update a prompt with new content or properties. Your production prompt stays safe—updates create new versions without affecting what's currently active. - [Archive Prompt](https://docs.greenflash.ai/api-reference/prompts/archive-prompt.md): Archive a prompt you no longer need. Archived prompts are soft-deleted (we set an `archived_at` timestamp) so you can still access them for historical data. - [List Prompts](https://docs.greenflash.ai/api-reference/prompts/list-prompts.md): Browse through all your prompts to see what you're using across your AI applications. Returns all prompts by default (both active and inactive versions), or filter by product or version to narrow down the results. - [Create Prompt](https://docs.greenflash.ai/api-reference/prompts/create-prompt.md): Create a new prompt that you can use across your AI applications. Build prompts from one or more components, and use handlebars-style variables like `{{userName}}` for personalization. - [List Segments](https://docs.greenflash.ai/api-reference/segments/list-segments.md): List all segments in your workspace. Returns summary data including member counts. Supports pagination. - [Create Segment](https://docs.greenflash.ai/api-reference/segments/create-segment.md): Create a custom user segment based on filter rules. Available on all plans, limited by your plan's `maxCustomSegments` quota. - [Get Segment](https://docs.greenflash.ai/api-reference/segments/get-segment.md): Get detailed information about a specific segment, including its filter configuration, description, and metadata. Accepts either a UUID or a preset ID for system segments. - [List Organizations](https://docs.greenflash.ai/api-reference/users/list-organizations.md): Browse through all the organizations (companies, teams, etc.) in your workspace. Search for specific organizations or paginate through the full list. Perfect for building admin dashboards or organization management interfaces. - [Create or Update an Organization](https://docs.greenflash.ai/api-reference/users/create-or-update-an-organization.md): Group your users by company, team, or any organizational structure that makes sense for your business. - [Update Organization](https://docs.greenflash.ai/api-reference/users/update-organization.md): Update specific fields of an existing organization without changing everything. - [List Users](https://docs.greenflash.ai/api-reference/users/list-users.md): Browse through all the users in your workspace. Filter by organization to see who belongs to specific teams or companies. Results are paginated for easy navigation through large user bases. - [Create or Update User Profile](https://docs.greenflash.ai/api-reference/users/create-or-update-user-profile.md): Keep track of who's talking to your AI by creating user profiles with contact information and custom properties. - [Update User Profile](https://docs.greenflash.ai/api-reference/users/update-user-profile.md): Update specific fields of an existing user profile without changing everything. - [Get User Segments](https://docs.greenflash.ai/api-reference/users/get-user-segments.md): Find out which segments a user belongs to. Returns segment membership data including segment ID, name, type, and preset identifier. - [TypeScript](https://docs.greenflash.ai/sdks/typescript.md): Get started with the Greenflash's [TypeScript SDK](https://github.com/greenflash-ai/typescript). - [Python](https://docs.greenflash.ai/sdks/python.md): Get started with Greenflash's [Python SDK](https://github.com/greenflash-ai/python) for seamless integration with the Greenflash REST API in your Python applications. - [SDK Integration Prompt (Python)](https://docs.greenflash.ai/prompts/sdk-integration-python.md): System prompts for coding agents to easily integrate the Greenflash Python SDK. Copy and paste the content of this page into your coding assistant. - [SDK Integration Prompt (TypeScript)](https://docs.greenflash.ai/prompts/sdk-integration-typescript.md): System prompt for coding agents to easily integrate the Greenflash TypeScript SDK. Copy and paste the content of this page into your coding assistant. - [Agentic Messages (Python)](https://docs.greenflash.ai/prompts/agentic-messages-python.md): System prompt for coding agents to upgrade an existing Python SDK integration to support agentic workflows with structured message types. Copy and paste the content of this page into your coding assistant. - [Agentic Messages (TypeScript)](https://docs.greenflash.ai/prompts/agentic-messages-typescript.md): System prompt for coding agents to upgrade an existing TypeScript SDK integration to support agentic workflows with structured message types. Copy and paste the content of this page into your coding assistant. - [Logging System Prompts (Python)](https://docs.greenflash.ai/prompts/logging-system-prompts-python.md): System prompt for coding agents to upgrade an existing Python SDK integration to log system prompts for prompt optimization. Copy and paste the content of this page into your coding assistant. - [Logging System Prompts (TypeScript)](https://docs.greenflash.ai/prompts/logging-system-prompts-typescript.md): System prompt for coding agents to upgrade an existing TypeScript SDK integration to log system prompts for prompt optimization. Copy and paste the content of this page into your coding assistant. - [Business Events (Python)](https://docs.greenflash.ai/prompts/logging-events-python.md): System prompt for coding agents to add business event tracking to an existing Python SDK integration. Copy and paste the content of this page into your coding assistant. - [Business Events (TypeScript)](https://docs.greenflash.ai/prompts/logging-events-typescript.md): System prompt for coding agents to add business event tracking to an existing TypeScript SDK integration. Copy and paste the content of this page into your coding assistant. - [Changelog](https://docs.greenflash.ai/changelog.md): New features and product updates ## OpenAPI Specs - [openapi](https://docs.greenflash.ai/api-reference/openapi.json) This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.