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

# List analysis items

> List analysis items available in the workspace.



## OpenAPI

````yaml /api-reference/openapi.json get /v1/convai/analysis-items
openapi: 3.1.0
info:
  title: Threetone API
  description: >-
    APIs for the Threetone Agents Platform and shared workspace resources.
    Authenticate programmatic requests with an API key in the x-api-key header.
  version: '1.0'
servers:
  - url: https://api.threetone.in
    description: Production
security: []
paths:
  /v1/convai/analysis-items:
    get:
      tags:
        - Agents Platform
      summary: List analysis items
      description: List analysis items available in the workspace.
      operationId: list_analysis_items_route
      parameters:
        - name: search
          in: query
          required: false
          schema:
            anyOf:
              - type: string
                maxLength: 100
              - type: 'null'
            description: >-
              If specified, only analysis items whose names start with this
              string are returned, ordered by relevance rather than
              sort_direction.
            title: Search
          description: >-
            If specified, only analysis items whose names start with this string
            are returned, ordered by relevance rather than sort_direction.
        - name: page_size
          in: query
          required: false
          schema:
            anyOf:
              - type: integer
                maximum: 100
                minimum: 1
              - type: 'null'
            description: >-
              How many documents to return at maximum. Can not exceed 100,
              defaults to 30.
            default: 30
            title: Page Size
          description: >-
            How many documents to return at maximum. Can not exceed 100,
            defaults to 30.
        - name: kind
          in: query
          required: false
          schema:
            anyOf:
              - $ref: '#/components/schemas/AnalysisItemKind'
              - type: 'null'
            description: If specified, only analysis items of this kind are returned.
            title: Kind
          description: If specified, only analysis items of this kind are returned.
        - name: analysis_item_ids
          in: query
          required: false
          schema:
            anyOf:
              - items:
                  type: string
                type: array
                maxItems: 100
                minItems: 1
              - type: 'null'
            description: If specified, only analysis items with these IDs are returned.
            title: Analysis Item Ids
          description: If specified, only analysis items with these IDs are returned.
        - name: created_by_user_id
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: >-
              Filter by creator user ID. Use '@me' to refer to the authenticated
              user.
            title: Created By User Id
          description: >-
            Filter by creator user ID. Use '@me' to refer to the authenticated
            user.
        - name: sort_direction
          in: query
          required: false
          schema:
            $ref: '#/components/schemas/SortDirection'
            description: The direction to sort the results
            default: desc
          description: The direction to sort the results
        - name: cursor
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Used for fetching next page. Cursor is returned in the response.
            title: Cursor
          description: Used for fetching next page. Cursor is returned in the response.
        - name: x-api-key
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: >-
              Your API key for programmatic access. Send it in the x-api-key
              header; you can create and manage keys from the Developers page.
            title: X-Api-Key
          description: >-
            Your API key for programmatic access. Send it in the x-api-key
            header; you can create and manage keys from the Developers page.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AnalysisItemsResponseModel'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    AnalysisItemKind:
      type: string
      enum:
        - evaluation
        - data_collection
      title: AnalysisItemKind
    SortDirection:
      type: string
      enum:
        - asc
        - desc
      title: SortDirection
    AnalysisItemsResponseModel:
      properties:
        analysis_items:
          items:
            $ref: '#/components/schemas/AnalysisItemResponseModel'
          type: array
          title: Analysis Items
        next_cursor:
          anyOf:
            - type: string
            - type: 'null'
          title: Next Cursor
        has_more:
          type: boolean
          title: Has More
      type: object
      required:
        - analysis_items
        - has_more
      title: AnalysisItemsResponseModel
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    AnalysisItemResponseModel:
      properties:
        id:
          type: string
          title: Id
        definition:
          oneOf:
            - $ref: '#/components/schemas/UserEvaluationAnalysisItem'
            - $ref: '#/components/schemas/UserDataCollectionAnalysisItem'
          title: Definition
          discriminator:
            propertyName: kind
            mapping:
              data_collection: '#/components/schemas/UserDataCollectionAnalysisItem'
              evaluation: '#/components/schemas/UserEvaluationAnalysisItem'
        access_info:
          $ref: '#/components/schemas/ResourceAccessInfo'
        created_at_unix_secs:
          type: integer
          title: Created At Unix Secs
        updated_at_unix_secs:
          type: integer
          title: Updated At Unix Secs
        current_version_id:
          type: string
          title: Current Version Id
        legacy_source_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Legacy Source Id
      type: object
      required:
        - id
        - definition
        - access_info
        - created_at_unix_secs
        - updated_at_unix_secs
        - current_version_id
      title: AnalysisItemResponseModel
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
    UserEvaluationAnalysisItem:
      properties:
        name:
          type: string
          title: Name
        source:
          type: string
          const: user
          title: Source
          default: user
        llm:
          anyOf:
            - $ref: '#/components/schemas/LLM'
            - type: 'null'
          description: >-
            LLM to use for this item. If unset, the attaching agent's
            analysis_llm default is used.
        kind:
          type: string
          const: evaluation
          title: Kind
          default: evaluation
        conversation_goal_prompt:
          type: string
          maxLength: 2000
          title: Conversation Goal Prompt
          description: The prompt used to evaluate the conversation.
        use_knowledge_base:
          type: boolean
          title: Use Knowledge Base
          description: >-
            Whether the attaching agent's knowledge base is used when evaluating
            this criterion.
          default: false
        scoring:
          oneOf:
            - $ref: '#/components/schemas/BinaryScoring'
            - $ref: '#/components/schemas/NumericUniformScoring'
          title: Scoring
          description: How this criterion is scored (binary or numeric_uniform).
          discriminator:
            propertyName: mode
            mapping:
              binary: '#/components/schemas/BinaryScoring'
              numeric_uniform: '#/components/schemas/NumericUniformScoring'
      type: object
      required:
        - name
        - conversation_goal_prompt
      title: UserEvaluationAnalysisItem
    UserDataCollectionAnalysisItem:
      properties:
        name:
          type: string
          title: Name
        source:
          type: string
          const: user
          title: Source
          default: user
        llm:
          anyOf:
            - $ref: '#/components/schemas/LLM'
            - type: 'null'
          description: >-
            LLM to use for this item. If unset, the attaching agent's
            analysis_llm default is used.
        kind:
          type: string
          const: data_collection
          title: Kind
          default: data_collection
        value_schema:
          $ref: '#/components/schemas/DataCollectionValueSchema'
          description: Type/description/enum describing the value to extract.
      type: object
      required:
        - name
        - value_schema
      title: UserDataCollectionAnalysisItem
    ResourceAccessInfo:
      properties:
        is_creator:
          type: boolean
          title: Is Creator
          description: Whether the user making the request is the creator of the agent
        creator_name:
          type: string
          title: Creator Name
          description: Name of the agent's creator
        creator_email:
          type: string
          title: Creator Email
          description: Email of the agent's creator
        role:
          type: string
          enum:
            - admin
            - editor
            - commenter
            - viewer
          title: Role
          description: The role of the user making the request
        anonymous_access_level_override:
          anyOf:
            - type: string
              enum:
                - admin
                - editor
                - commenter
                - viewer
            - type: 'null'
          title: Anonymous Access Level Override
          description: >-
            The access level for anonymous users. If None, the resource is not
            shared publicly.
        access_source:
          anyOf:
            - type: string
              enum:
                - creator
                - explicit
                - workspace_admin
                - workspace_default
            - type: 'null'
          title: Access Source
          description: >-
            Why the requesting user has access to this resource. 'creator' =
            caller is the owner. 'explicit' = caller (or one of their workspace
            groups) is listed in role_to_group_ids beyond the workspace-wide
            everyone group. 'workspace_default' = the workspace-wide everyone
            group is listed in role_to_group_ids (every non-anon workspace
            member, including admins, sees this resource). 'workspace_admin' =
            caller is a workspace admin and the admin seat is the *only* path to
            access; reserved for docs nobody else can see. Lets the UI disclose
            why an admin-bypass viewer sees a doc that wasn't explicitly shared
            with them.
      type: object
      required:
        - is_creator
        - creator_name
        - creator_email
        - role
      title: ResourceAccessInfo
      example:
        access_source: creator
        creator_email: john.doe@example.com
        creator_name: John Doe
        is_creator: true
        role: admin
    LLM:
      type: string
      enum:
        - gpt-4
        - gpt-5.1
        - gpt-5.2
        - gpt-5.2-chat-latest
        - gpt-5.4
        - gpt-5.4-mini
        - gpt-5.4-nano
        - gpt-5.5
        - gpt-5.6-sol
        - gpt-5.6-terra
        - gpt-5.6-luna
        - gpt-6-astra
        - gpt-6-sol
        - gpt-6-luna
        - gpt-6.1-sol
        - gpt-6.1-terra
        - gpt-6.2-astra
        - gpt-6.2-sol
        - gemini-1.5-pro
        - gemini-1.5-flash
        - gemini-2.5-flash-lite
        - gemini-2.5-flash
        - gemini-3-pro-preview
        - gemini-3-flash-preview
        - gemini-3.1-pro-preview
        - gemini-3.1-flash-lite-preview
        - gemini-3.1-flash-lite
        - gemini-3.5-flash
        - gemini-3.5-flash-lite
        - gemini-3.7-flash
        - gemini-3.8-flash
        - gemini-4-argon
        - gemini-4-hydrogen
        - gemini-4-neon
        - claude-opus-4-6
        - claude-opus-4-7
        - claude-opus-4-8
        - claude-opus-5
        - claude-opus-5-5
        - claude-sonnet-4-6
        - claude-sonnet-5
        - claude-sonnet-5-5
        - claude-haiku-4-5
        - claude-haiku-5-5
        - custom-llm
        - qwen3-4b
        - qwen3-30b-a3b
        - qwen36-35b-a3b
        - qwen35-397b-a17b
        - gpt-oss-20b
        - gpt-oss-120b
        - glm-45-air-fp8
        - glm-52
        - deepseek-v41-flash
        - nemotron-35-super-vl-nvfp4
        - gemini-2.5-flash-preview-09-2025
        - gemini-2.5-flash-lite-preview-09-2025
        - gemini-2.5-flash-preview-05-20
        - gemini-2.5-flash-preview-04-17
        - gemini-2.5-flash-lite-preview-06-17
        - gemini-1.5-flash-002
        - gemini-1.5-flash-001
        - gemini-1.5-pro-002
        - gemini-1.5-pro-001
        - claude-haiku-4-5@20251001
        - gpt-5.1-2025-11-13
        - gpt-5.2-2025-12-11
        - gpt-5.4-2026-03-05
        - gpt-5.4-mini-2026-03-17
        - gpt-5.4-nano-2026-03-17
        - gpt-5.5-2026-04-23
        - gpt-4-0613
        - gpt-4-0314
        - watt-tool-8b
        - watt-tool-70b
      title: LLM
    BinaryScoring:
      properties:
        mode:
          type: string
          const: binary
          title: Mode
          default: binary
      type: object
      title: BinaryScoring
    NumericUniformScoring:
      properties:
        mode:
          type: string
          const: numeric_uniform
          title: Mode
          default: numeric_uniform
        max_score:
          type: integer
          title: Max Score
        instructions:
          anyOf:
            - type: string
            - type: 'null'
          title: Instructions
      type: object
      required:
        - max_score
      title: NumericUniformScoring
    DataCollectionValueSchema:
      properties:
        type:
          anyOf:
            - type: string
              enum:
                - boolean
                - string
                - integer
                - number
            - items:
                type: string
              type: array
              maxItems: 2
              minItems: 2
          title: Type
        description:
          type: string
          title: Description
          description: >-
            The description of the property. When set, the LLM will provide the
            value based on this description. Mutually exclusive with
            dynamic_variable, is_system_provided, constant_value, and
            is_omitted.
          default: ''
        enum:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Enum
          description: List of allowed string values for string type parameters
        is_system_provided:
          type: boolean
          title: Is System Provided
          description: >-
            If true, the value will be populated by the system at runtime. Used
            by API Integration Webhook tools for templating. Mutually exclusive
            with description, dynamic_variable, constant_value, and is_omitted.
          default: false
        dynamic_variable:
          type: string
          title: Dynamic Variable
          description: >-
            The name of the dynamic variable to use for this property's value.
            Mutually exclusive with description, is_system_provided,
            constant_value, and is_omitted.
          default: ''
        allowed_values:
          anyOf:
            - $ref: '#/components/schemas/AllowedValues'
            - type: 'null'
          description: >-
            Server-side rejection guard for an LLM-provided value: the runtime
            rejects any value outside the permitted set this object names, and
            the set is not advertised to the LLM as an enum. Only supported when
            the value source is `description`; combining it with
            dynamic_variable, is_system_provided, constant_value, or is_omitted
            is rejected.
        constant_value:
          anyOf:
            - type: string
            - type: integer
            - type: number
            - type: boolean
            - type: 'null'
          title: Constant Value
          description: >-
            A constant value to use for this property. Mutually exclusive with
            description, dynamic_variable, is_system_provided, and is_omitted.
          default: ''
        is_omitted:
          type: boolean
          title: Is Omitted
          description: >-
            If true, this parameter will be completely omitted from the request.
            Only valid for optional parameters. Mutually exclusive with
            description, dynamic_variable, is_system_provided, and
            constant_value.
          default: false
      type: object
      required:
        - type
      title: DataCollectionValueSchema
      description: >-
        Schema property for literal JSON types. IMPORTANT: Only ONE of the
        following fields can be set: description (LLM provides value),
        dynamic_variable (value from variable), is_system_provided (system
        provides value), constant_value (fixed value), or is_omitted (parameter
        is omitted). These are mutually exclusive.
      example:
        description: A user-provided message
        type: string
    AllowedValues:
      properties:
        dynamic_variable:
          type: string
          minLength: 1
          title: Dynamic Variable
          description: >-
            Name of a dynamic variable that must resolve to a JSON array of
            permitted values, e.g. ["ws_alpha", "ws_beta"]. System variables
            work only if they resolve to a list.
      type: object
      required:
        - dynamic_variable
      title: AllowedValues

````

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