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

# Replay qualifier prompt

> Runs a candidate prompt on past jobs and saves nothing. Each job gets the verdict the new prompt would give, next to the stored one. Pick the jobs with projectIds, or take a sample of the newest qualified and disqualified verdicts. includeHidden adds jobs you hid in this filter. Charges the AI qualifier credits a real run would, and gives back the credits of calls that failed. 10 replays an hour per user



## OpenAPI

````yaml post /filters/{id}/qualifier/replay
openapi: 3.0.4
info:
  title: Vollna API
  description: API for managing Upwork profiles, proposals, results, and filters
  version: 1.0.0
servers:
  - url: https://api.vollna.com/v1
security: []
tags:
  - name: Profiles
    description: Manage Upwork profiles
  - name: Proposals
    description: Access and manage Upwork proposals
  - name: Results
    description: View monitoring results and projects
  - name: Filters
    description: Manage monitoring filters
  - name: Auto Bidding
    description: Manage auto bidding jobs and setups
  - name: Account
    description: The token team's account, plan and meters
  - name: Invitations
    description: Upwork invitations
  - name: Projects
    description: Upwork jobs and their competition
  - name: AI Qualifier
    description: A filter's AI qualifier and its verdicts
  - name: Market Insights
    description: Upwork market analytics and saved searches
  - name: Proposal Templates
    description: Proposal templates and their results
paths:
  /filters/{id}/qualifier/replay:
    post:
      tags:
        - AI Qualifier
      summary: Replay qualifier prompt
      description: >-
        Runs a candidate prompt on past jobs and saves nothing. Each job gets
        the verdict the new prompt would give, next to the stored one. Pick the
        jobs with projectIds, or take a sample of the newest qualified and
        disqualified verdicts. includeHidden adds jobs you hid in this filter.
        Charges the AI qualifier credits a real run would, and gives back the
        credits of calls that failed. 10 replays an hour per user
      parameters:
        - name: id
          in: path
          description: Filter ID
          required: true
          schema:
            type: integer
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                candidatePrompt:
                  type: string
                projectIds:
                  type: array
                  description: 1 to 20 job ids. Do not send with a sample
                  items:
                    type: integer
                  maxItems: 20
                sampleQualified:
                  type: integer
                  minimum: 0
                  maximum: 10
                  default: 0
                sampleDisqualified:
                  type: integer
                  minimum: 0
                  maximum: 10
                  default: 0
                includeHidden:
                  type: boolean
                  default: false
                model:
                  type: string
                  description: Defaults to the qualifier's model
              required:
                - candidatePrompt
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      filterId:
                        type: integer
                      model:
                        type: string
                      jobs:
                        type: array
                        items:
                          type: object
                          properties:
                            projectId:
                              type: integer
                            title:
                              type: string
                              nullable: true
                            url:
                              type: string
                              nullable: true
                            storedVerdict:
                              type: string
                              enum:
                                - qualified
                                - disqualified
                              nullable: true
                            storedReason:
                              type: string
                              nullable: true
                            newVerdict:
                              type: string
                              enum:
                                - qualified
                                - disqualified
                              nullable: true
                            newReason:
                              type: string
                              nullable: true
                            changed:
                              type: boolean
                            hiddenByUser:
                              type: boolean
                            error:
                              type: string
                              nullable: true
                      totals:
                        type: object
                        properties:
                          same:
                            type: integer
                          flippedToQualified:
                            type: integer
                          flippedToDisqualified:
                            type: integer
                          noStoredVerdict:
                            type: integer
                          errors:
                            type: integer
                      creditsUsed:
                        type: number
                      costUsd:
                        type: number
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '402':
          description: >-
            Not enough AI qualifier credits for these jobs, or the team's
            subscription is not active
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceError'
        '403':
          description: >-
            The token team cannot edit the filter, or the subscription is not
            active
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceError'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          description: 10 replays in the last hour, or the rate limit is reached
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceError'
      security:
        - apiToken: []
components:
  responses:
    BadRequest:
      description: >-
        Invalid request. message says what to send instead; fields names each
        invalid field
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ServiceError'
    Unauthorized:
      description: Missing or unknown API token
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    NotFound:
      description: Not found in the token's team
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ServiceError'
  schemas:
    ServiceError:
      type: object
      properties:
        error:
          type: string
          description: Short error title
          example: Validation failed
        message:
          type: string
          description: What went wrong and what to send instead, written for the user
        fields:
          type: object
          description: >-
            Per-field messages keyed by dot path, when several fields fail at
            once
          additionalProperties:
            type: string
    Error:
      type: object
      properties:
        error:
          type: string
  securitySchemes:
    apiToken:
      type: apiKey
      name: X-API-TOKEN
      in: header
      description: API token for authentication

````

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