> ## 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 Executions

> List execution history for a retriever.



## OpenAPI

````yaml post /v1/retrievers/{retriever_id}/executions/list
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/{retriever_id}/executions/list:
    post:
      tags:
        - Retrievers
      summary: List Executions
      description: List execution history for a retriever.
      operationId: list_executions_v1_retrievers__retriever_id__executions_list_post
      parameters:
        - name: retriever_id
          in: path
          required: true
          schema:
            type: string
            description: Retriever ID or name.
            title: Retriever Id
          description: Retriever ID or name.
        - name: limit
          in: query
          required: false
          schema:
            anyOf:
              - type: integer
                maximum: 1000
                minimum: 1
              - type: 'null'
            title: Limit
        - name: page_size
          in: query
          required: false
          schema:
            anyOf:
              - type: integer
                maximum: 1000
                minimum: 1
              - type: 'null'
            title: Page Size
        - name: offset
          in: query
          required: false
          schema:
            anyOf:
              - type: integer
                maximum: 10000
                minimum: 0
              - type: 'null'
            title: Offset
        - name: page
          in: query
          required: false
          schema:
            anyOf:
              - type: integer
                minimum: 1
              - type: 'null'
            title: Page
        - name: cursor
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Cursor
        - name: include_total
          in: query
          required: false
          schema:
            type: boolean
            default: false
            title: Include Total
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ListExecutionsRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListExecutionsResponse'
        '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:
    ListExecutionsRequest:
      properties:
        filters:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Filters
        sorts:
          anyOf:
            - items:
                additionalProperties: true
                type: object
              type: array
            - type: 'null'
          title: Sorts
        status:
          anyOf:
            - type: string
            - type: 'null'
          title: Status
          description: Optional status filter (completed, failed, running).
      type: object
      title: ListExecutionsRequest
      description: Request to list retriever executions.
    ListExecutionsResponse:
      properties:
        results:
          items:
            $ref: '#/components/schemas/RetrieverExecutionSummary'
          type: array
          title: Results
          description: Execution summaries
        pagination:
          $ref: '#/components/schemas/PaginationMetadata'
          description: Pagination metadata
      type: object
      required:
        - pagination
      title: ListExecutionsResponse
      description: Re-export shared execution listing response for OpenAPI docs.
    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
    RetrieverExecutionSummary:
      properties:
        execution_id:
          type: string
          title: Execution Id
          description: Execution identifier
        status:
          type: string
          title: Status
          description: Execution status
        created_at:
          type: string
          format: date-time
          title: Created At
          description: Creation timestamp
        completed_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Completed At
          description: Completion timestamp when available
        duration_ms:
          type: number
          minimum: 0
          title: Duration Ms
          description: Total execution time in ms
        credits_used:
          type: number
          minimum: 0
          title: Credits Used
          description: Credits consumed
        total_processed:
          type: integer
          minimum: 0
          title: Total Processed
          description: Documents processed across stages
        total_returned:
          type: integer
          minimum: 0
          title: Total Returned
          description: Documents returned to caller
        cache_hit_rate:
          anyOf:
            - type: number
              maximum: 1
              minimum: 0
            - type: 'null'
          title: Cache Hit Rate
          description: Average cache hit rate for stages
        inputs_hash:
          anyOf:
            - type: string
            - type: 'null'
          title: Inputs Hash
          description: Stable hash of retriever inputs for dedupe
        query_summary:
          anyOf:
            - type: string
            - type: 'null'
          title: Query Summary
          description: Representative snippet of query inputs
      type: object
      required:
        - execution_id
        - status
        - created_at
        - duration_ms
        - credits_used
        - total_processed
        - total_returned
      title: RetrieverExecutionSummary
      description: Summary document used for execution history listings.
    PaginationMetadata:
      properties:
        total:
          type: integer
          minimum: 0
          title: Total
          description: Total number of records
        limit:
          type: integer
          minimum: 0
          title: Limit
          description: Requested page size
        offset:
          type: integer
          minimum: 0
          title: Offset
          description: Offset applied to query
        has_next:
          type: boolean
          title: Has Next
          description: Whether additional pages exist
      type: object
      required:
        - total
        - limit
        - offset
        - has_next
      title: PaginationMetadata
      description: Pagination metadata envelope.
    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

````