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

# Gather high-scoring and positively critiqued pairs formatted for OpenAI fine-tuning



## OpenAPI

````yaml https://raw.githubusercontent.com/getplumai/docs/refs/heads/main/api-reference/openapi.yaml get /gather_openai/{id}
openapi: 3.0.0
info:
  title: Plum API
  version: 1.1.0
servers:
  - url: https://beta.getplum.ai/v1
security: []
paths:
  /gather_openai/{id}:
    get:
      summary: >-
        Gather high-scoring and positively critiqued pairs formatted for OpenAI
        fine-tuning
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
          description: ID of the evaluation results to gather pairs from
      responses:
        '200':
          description: Successfully gathered pairs in OpenAI JSONL format
          content:
            text/plain:
              schema:
                type: string
                description: >-
                  JSONL format for OpenAI fine-tuning, combining high-scoring
                  and positively critiqued pairs (deduplicated)
        '400':
          description: Bad request - evaluation results id is required
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
      security:
        - ApiKeyAuth: []
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: Authorization

````