> ## 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 evaluation datasets

> List all evaluation datasets with pagination



## OpenAPI

````yaml get /v1/retrievers/evaluations/datasets
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/retrievers/evaluations/datasets:
    get:
      tags:
        - Retriever Evaluations
      summary: List evaluation datasets
      description: List all evaluation datasets with pagination
      operationId: list_datasets_v1_retrievers_evaluations_datasets_get
      parameters:
        - name: page
          in: query
          required: false
          schema:
            type: integer
            minimum: 1
            description: Page number (1-indexed)
            default: 1
            title: Page
          description: Page number (1-indexed)
        - name: page_size
          in: query
          required: false
          schema:
            type: integer
            maximum: 1000
            minimum: 1
            description: Items per page
            default: 20
            title: Page Size
          description: Items per page
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DatasetListResponse'
        '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'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    DatasetListResponse:
      properties:
        datasets:
          items:
            $ref: '#/components/schemas/EvaluationDataset'
          type: array
          title: Datasets
          description: List of datasets
        total:
          type: integer
          title: Total
          description: Total number of datasets
        page:
          type: integer
          title: Page
          description: Current page number
        page_size:
          type: integer
          title: Page Size
          description: Items per page
      type: object
      required:
        - datasets
        - total
        - page
        - page_size
      title: DatasetListResponse
      description: Response model for listing datasets.
    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
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    EvaluationDataset:
      properties:
        dataset_id:
          type: string
          title: Dataset Id
          description: Unique dataset identifier
        dataset_name:
          type: string
          title: Dataset Name
          description: Human-readable dataset name
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
          description: Dataset description
        queries:
          items:
            $ref: '#/components/schemas/GroundTruthQuery'
          type: array
          title: Queries
          description: List of queries with ground truth
        created_at:
          type: string
          format: date-time
          title: Created At
          description: When dataset was created
        updated_at:
          type: string
          format: date-time
          title: Updated At
          description: Last update timestamp
        namespace_id:
          type: string
          title: Namespace Id
          description: Namespace this dataset belongs to
        internal_id:
          type: string
          title: Internal Id
          description: Internal organization ID
        query_count:
          type: integer
          title: Query Count
          description: Number of queries in dataset
        metadata:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Metadata
          description: Additional metadata (e.g., labeling instructions, version info)
      type: object
      required:
        - dataset_id
        - dataset_name
        - queries
        - created_at
        - updated_at
        - namespace_id
        - internal_id
        - query_count
      title: EvaluationDataset
      description: >-
        Complete evaluation dataset with metadata.


        An evaluation dataset is a collection of queries with ground truth
        relevance labels,

        used to measure retriever quality.
    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.
    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
    GroundTruthQuery:
      properties:
        query_id:
          type: string
          title: Query Id
          description: Unique identifier for this query within the dataset
        query_input:
          additionalProperties: true
          type: object
          title: Query Input
          description: >-
            Query input in the same format as retriever execution (e.g.,
            {'text': '...'})
        relevant_documents:
          items:
            type: string
          type: array
          title: Relevant Documents
          description: List of feature_ids that are relevant for this query
        relevance_scores:
          anyOf:
            - additionalProperties:
                type: integer
              type: object
            - type: 'null'
          title: Relevance Scores
          description: >-
            Optional graded relevance scores (doc_id -> score, 0-5 where 5 is
            most relevant). Used for NDCG calculation.
      type: object
      required:
        - query_id
        - query_input
        - relevant_documents
      title: GroundTruthQuery
      description: |-
        Single query with ground truth relevance labels.

        This represents one query in an evaluation dataset, along with the list
        of documents that are considered relevant for that query.

````