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

# List Available Retriever Stages with Examples

> Discover all available retriever stages with extended information including example configurations, common use cases, and cost tiers. This endpoint provides more context than /v1/retrievers/stages for agent-driven configuration.



## OpenAPI

````yaml get /v1/discovery/stages
openapi: 3.1.0
info:
  title: Mixpeek API
  description: >-
    This is the Mixpeek API, providing access to various endpoints for data
    processing and retrieval.
  termsOfService: https://mixpeek.com/terms
  contact:
    name: Mixpeek Support
    url: https://mixpeek.com/contact
    email: info@mixpeek.com
  version: '0.82'
servers:
  - url: https://api.mixpeek.com
    description: Production
security: []
paths:
  /v1/discovery/stages:
    get:
      tags:
        - Discovery
      summary: List Available Retriever Stages with Examples
      description: >-
        Discover all available retriever stages with extended information
        including example configurations, common use cases, and cost tiers. This
        endpoint provides more context than /v1/retrievers/stages for
        agent-driven configuration.
      operationId: list_stages_with_examples_v1_discovery_stages_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/StageDiscovery'
                type: array
                title: Response List Stages With Examples V1 Discovery Stages Get
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    StageDiscovery:
      properties:
        stage_id:
          type: string
          title: Stage Id
          description: Unique identifier for the stage
        description:
          type: string
          title: Description
          description: Human-readable description of stage behavior
        category:
          type: string
          title: Category
          description: 'Transformation category: filter, sort, reduce, apply, enrich'
        icon:
          type: string
          title: Icon
          description: Lucide React icon identifier
        parameter_schema:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Parameter Schema
          description: JSON Schema for stage parameters
        example_config:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Example Config
          description: Example stage configuration
        common_use_cases:
          items:
            type: string
          type: array
          title: Common Use Cases
          description: Common scenarios where this stage is useful
        cost_tier:
          type: string
          title: Cost Tier
          description: 'Relative cost tier: cheap, moderate, expensive'
          default: moderate
        requires_collections:
          type: boolean
          title: Requires Collections
          description: Whether this stage requires collection access
          default: true
      type: object
      required:
        - stage_id
        - description
        - category
        - icon
      title: StageDiscovery
      description: |-
        Extended stage discovery information with examples.

        Includes everything from RetrieverStageDefinition plus
        usage examples and common patterns.
      examples:
        - category: filter
          common_use_cases:
            - Semantic search over embeddings
            - Multi-modal retrieval
            - Hybrid search with fusion
          cost_tier: moderate
          description: Unified multi-vector search with N feature URIs and fusion
          example_config:
            parameters:
              feature_uri: multimodal_extractor.v1.embedding
              query: '{{ INPUT.query }}'
              top_k: 25
            stage_id: feature_filter
            stage_name: semantic_search
          icon: search
          parameter_schema:
            properties:
              feature_uri:
                type: string
              top_k:
                default: 25
                type: integer
            type: object
          requires_collections: true
          stage_id: feature_filter
    ErrorResponse:
      properties:
        success:
          type: boolean
          title: Success
          description: Always false for error responses
          default: false
        status:
          type: integer
          title: Status
          description: HTTP status code for this error
        error:
          $ref: '#/components/schemas/ErrorDetail'
          description: Error details payload
      type: object
      required:
        - status
        - error
      title: ErrorResponse
      description: Error response model.
      examples:
        - error:
            details:
              id: ns_123
              resource: namespace
            message: Namespace not found
            type: NotFoundError
          status: 404
          success: false
    ErrorDetail:
      properties:
        message:
          type: string
          title: Message
          description: Human-readable error message
        type:
          type: string
          title: Type
          description: Stable error type identifier (machine-readable)
        code:
          anyOf:
            - type: string
            - type: 'null'
          title: Code
          description: >-
            Fine-grained error code for programmatic handling (e.g.,
            namespace_name_taken, feature_extractor_not_found). Present only
            when consumers may need to branch on a specific error condition.
        details:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Details
          description: >-
            Optional structured details to help debugging (validation errors,
            IDs, etc.)
      type: object
      required:
        - message
        - type
      title: ErrorDetail
      description: Error detail model.

````