> ## Documentation Index
> Fetch the complete documentation index at: https://docs.prisme.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# List analyzed conversations

> Returns the insights (analysis results) of the organization, most
recent first (`analyzed_at` descending). Date filters apply to the
analysis date, not to the conversation date.

Requires `ai-insights-v2:conversations` (`read`). Rate limit: 100
requests per minute.




## OpenAPI

````yaml /api-reference/ai-insights-v2/swagger.yml get /v1/insights
openapi: 3.0.3
info:
  version: 1.0.0
  title: AI Insights API
  description: |
    Public REST API for the Prisme.ai AI Insights workspace - analyzed
    conversations, analysis triggering and status, evaluation criteria,
    message feedback, organization analytics, LLM consumption, memory
    analytics, and the agent relationship graph.

    **Organization scope.** Every endpoint reads and writes the data of the
    caller's organization, taken from the session (or from the org API key).
    No parameter lets a caller target another organization.

    **Permissions.** Each endpoint checks an organization IAM permission
    `ai-insights-v2:<resource>` with the action `read` or `write`
    (`manage` grants both). The resources are `conversations`, `feedback`,
    `analytics`, and `queue`; each operation states the one it requires.
    Platform admins and workspace admins are always allowed.

    **Rate limits.** Limits are counted per caller (user, or org API key)
    and per endpoint, over a sliding window. Depending on the endpoint, an
    exceeded limit returns one of two 429 bodies; both are documented on
    each operation.
  contact:
    name: Prisme.ai
    url: https://prisme.ai
servers:
  - url: https://{host}/v2/workspaces/slug:ai-insights-v2/webhooks
    description: Prisme.ai workspace webhooks
    variables:
      host:
        default: api.studio.prisme.ai
        description: API host (override for self-hosted or sandbox)
security:
  - BearerAuth: []
  - OrgApiKeyAuth: []
tags:
  - name: Insights
    description: Per-conversation analysis results and analysis status.
  - name: Agents
    description: >-
      Analysis triggering, evaluation criteria, conversations, and users of one
      agent.
  - name: Feedback
    description: Like / dislike feedback on agent messages.
  - name: Analytics
    description: Organization-wide usage, quality, latency, and adoption metrics.
  - name: Consumption
    description: LLM requests, tokens, cost, and carbon footprint, per user and over time.
  - name: Queue
    description: State of the conversation analysis queue.
  - name: Memories
    description: Analytics built from the memories users accumulate with agents.
  - name: Graph
    description: >-
      Agent relationship graph - tools, categories, delegations, similarity, and
      clusters.
paths:
  /v1/insights:
    get:
      tags:
        - Insights
      summary: List analyzed conversations
      description: |
        Returns the insights (analysis results) of the organization, most
        recent first (`analyzed_at` descending). Date filters apply to the
        analysis date, not to the conversation date.

        Requires `ai-insights-v2:conversations` (`read`). Rate limit: 100
        requests per minute.
      operationId: listInsights
      parameters:
        - in: query
          name: agent_id
          schema:
            type: string
            maxLength: 64
          description: Only return insights for this agent.
        - in: query
          name: conversation_id
          schema:
            type: string
            maxLength: 128
          description: Only return the insight of this conversation.
        - in: query
          name: user_id
          schema:
            type: string
            maxLength: 256
          description: Only return insights whose `user_id` matches.
        - in: query
          name: from_date
          schema:
            type: string
            format: date-time
            maxLength: 64
          description: Lower bound (inclusive) on `analyzed_at`, ISO 8601.
        - in: query
          name: to_date
          schema:
            type: string
            format: date-time
            maxLength: 64
          description: Upper bound (inclusive) on `analyzed_at`, ISO 8601.
        - $ref: '#/components/parameters/Page'
        - $ref: '#/components/parameters/Limit'
      responses:
        '200':
          description: Paginated list of insights.
          content:
            application/json:
              schema:
                type: object
                properties:
                  insights:
                    type: array
                    items:
                      $ref: '#/components/schemas/Insight'
                  pagination:
                    $ref: '#/components/schemas/Pagination'
        '400':
          $ref: '#/components/responses/InvalidArguments'
        '401':
          $ref: '#/components/responses/Unauthenticated'
        '403':
          $ref: '#/components/responses/Forbidden'
        '429':
          $ref: '#/components/responses/TooManyRequests'
components:
  parameters:
    Page:
      in: query
      name: page
      schema:
        type: integer
        minimum: 1
        default: 1
      description: Page number (1-based).
    Limit:
      in: query
      name: limit
      schema:
        type: integer
        minimum: 1
        maximum: 100
        default: 20
      description: Items per page. Values above 100 are capped at 100.
  schemas:
    Insight:
      type: object
      description: Analysis result of one conversation.
      properties:
        id:
          type: string
          description: '`ins_{conversation_id}`.'
        conversation_id:
          type: string
        agent_id:
          type: string
        user_id:
          type: string
        orgSlug:
          type: string
          nullable: true
        summary:
          type: string
          nullable: true
          description: AI-generated summary of the conversation.
        topics:
          type: array
          nullable: true
          items:
            type: object
            properties:
              topic:
                type: string
              confidence:
                type: number
        sentiment:
          type: object
          nullable: true
          properties:
            overall:
              type: string
              enum:
                - positive
                - neutral
                - negative
            score:
              type: number
            progression:
              type: array
              items: {}
              description: Sentiment turn by turn.
        resolved:
          type: boolean
          nullable: true
          description: Whether the user's issue was resolved.
        key_moments:
          type: array
          nullable: true
          items:
            type: object
            properties:
              turn:
                type: integer
              type:
                type: string
              description:
                type: string
        custom_evaluations:
          type: array
          nullable: true
          description: One answer per evaluation criterion.
          items:
            type: object
            properties:
              criterion_id:
                type: string
              value:
                description: >-
                  `true`/`false`, a number, or a category depending on the
                  criterion type.
              reasoning:
                type: string
        evaluation_score:
          type: number
          nullable: true
          minimum: 0
          maximum: 100
          description: Weighted aggregate of the criteria answers.
        analyzed_at:
          type: string
          format: date-time
        analysis_model:
          type: string
          nullable: true
        analysis_version:
          type: string
          nullable: true
        cost_tracking:
          type: object
          nullable: true
          description: Tokens spent on the analysis itself.
          properties:
            input_tokens:
              type: integer
            output_tokens:
              type: integer
            model:
              type: string
        anonymized_at:
          type: string
          format: date-time
          nullable: true
          description: When personal data was anonymized (GDPR retention).
        retention_policy_id:
          type: string
          nullable: true
    Pagination:
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        page:
          type: integer
        total_pages:
          type: integer
    RuntimeError:
      type: object
      description: Error raised by the Prisme.ai runtime before the endpoint logic runs.
      required:
        - error
        - message
      properties:
        error:
          type: string
        message:
          type: string
        details:
          type: object
          additionalProperties: true
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: string
          description: >-
            Error code (e.g. `FORBIDDEN`), or error message on some validation
            errors.
        message:
          type: string
          description: Human-readable message.
  responses:
    InvalidArguments:
      description: >-
        A parameter does not match its schema (length, pattern, type, or
        required field).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/RuntimeError'
          example:
            error: InvalidArgumentsError
            message: Invalid arguments
            details:
              errors: []
    Unauthenticated:
      description: Missing or invalid credentials, or no organization context.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: UNAUTHORIZED
            message: Authentication required
    Forbidden:
      description: The caller lacks the permission required by the endpoint.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: FORBIDDEN
            message: 'Access denied: missing permission ''ai-insights-v2:analytics:read'''
    TooManyRequests:
      description: >-
        Rate limit exceeded. Retry after the number of seconds given in the
        `Retry-After` header.
      headers:
        Retry-After:
          schema:
            type: integer
          description: Seconds to wait before retrying.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/RuntimeError'
          example:
            error: TooManyRequests
            message: Too many requests for 'Insights'
            details:
              name: Insights
              ok: false
              retryAfter: 42.5
              limit: 100
              window: 60
              remaining: 0
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: |
        User-bound credential carrying an identity: either a session JWT
        or a user access token (`at:*`) generated from the user settings UI.
        Send as `Authorization: Bearer <token>`. The organization and the
        permissions applied are those of this user.
    OrgApiKeyAuth:
      type: apiKey
      in: header
      name: x-prismeai-api-key
      description: |
        Organization API key (`iak_{orgSlug}_{uuid}`), managed from the
        AI Governance UI. It is not tied to a user: its access is defined by
        the permissions attached to it, and all keys of an organization share
        the same rate-limit counters. Endpoints that describe "your own"
        data, such as `GET /v1/users/{user_id}`, need a user credential.
        Send as `x-prismeai-api-key: iak_...`.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.