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

# Submit Rlhf Numeric Scores

> Submit one/many absolute per-clip numeric scores (one per sample+axis).



## OpenAPI

````yaml /openapi.json post /v1/rlhf/experiments/{experiment_id}/numeric-scores
openapi: 3.1.0
info:
  description: Customer-owned evaluation lifecycle API.
  title: HeyBee Public API
  version: 1.0.0
servers:
  - description: Production
    url: https://api.heybee.app
security: []
paths:
  /v1/rlhf/experiments/{experiment_id}/numeric-scores:
    post:
      tags:
        - RLHF
      summary: Submit Rlhf Numeric Scores
      description: Submit one/many absolute per-clip numeric scores (one per sample+axis).
      operationId: >-
        submit_rlhf_numeric_scores_v1_rlhf_experiments__experiment_id__numeric_scores_post
      parameters:
        - in: path
          name: experiment_id
          required: true
          schema:
            format: uuid
            title: Experiment Id
            type: string
        - in: header
          name: Idempotency-Key
          required: true
          schema:
            maxLength: 128
            minLength: 8
            title: Idempotency-Key
            type: string
        - in: header
          name: authorization
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Authorization
        - in: header
          name: X-API-Key
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: X-Api-Key
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RlhfSubmitNumericScoresRequest'
        required: true
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RlhfSubmitNumericScoresResponse'
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      deprecated: true
      security:
        - BearerAuth: []
        - ApiKeyAuth: []
components:
  schemas:
    RlhfSubmitNumericScoresRequest:
      description: Submit one or many per-clip numeric scores in a single call.
      properties:
        round_id:
          anyOf:
            - type: string
            - type: 'null'
          description: Optional rlhf_loop round to tag these scores with.
          title: Round Id
        scores:
          items:
            $ref: '#/components/schemas/RlhfNumericScoreInput'
          maxItems: 1000
          minItems: 1
          title: Scores
          type: array
        source:
          default: human
          description: Origin of the scores. Human scores carry the caller identity.
          enum:
            - human
            - machine
            - import
          title: Source
          type: string
      required:
        - scores
      title: RlhfSubmitNumericScoresRequest
      type: object
    RlhfSubmitNumericScoresResponse:
      properties:
        experiment_id:
          title: Experiment Id
          type: string
        scores:
          items:
            $ref: '#/components/schemas/RlhfNumericScore'
          title: Scores
          type: array
        written:
          title: Written
          type: integer
      required:
        - experiment_id
        - written
        - scores
      title: RlhfSubmitNumericScoresResponse
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    RlhfNumericScoreInput:
      description: >-
        One absolute numeric rating a human/service assigns to one clip on one
        axis.
      properties:
        axis_key:
          description: Stable slug id for the criterion (any experiment axis).
          maxLength: 64
          minLength: 1
          pattern: ^[a-zA-Z0-9_-]+$
          title: Axis Key
          type: string
        notes:
          anyOf:
            - maxLength: 2000
              type: string
            - type: 'null'
          title: Notes
        sample_id:
          title: Sample Id
          type: string
        score:
          description: Absolute score on this axis (e.g. 0-10).
          title: Score
          type: number
      required:
        - sample_id
        - axis_key
        - score
      title: RlhfNumericScoreInput
      type: object
    RlhfNumericScore:
      description: >-
        A stored per-clip numeric score, joined back to its media and generation
        inputs.
      properties:
        anchor_value:
          anyOf:
            - type: string
            - type: 'null'
          title: Anchor Value
        axis_key:
          title: Axis Key
          type: string
        candidate_key:
          anyOf:
            - type: string
            - type: 'null'
          title: Candidate Key
        created_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Created At
        file_path:
          anyOf:
            - type: string
            - type: 'null'
          title: File Path
        id:
          title: Id
          type: string
        notes:
          anyOf:
            - type: string
            - type: 'null'
          title: Notes
        parameters:
          additionalProperties: true
          title: Parameters
          type: object
        rlhf_round_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Rlhf Round Id
        sample_id:
          title: Sample Id
          type: string
        score:
          title: Score
          type: number
        scorer_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Scorer Id
        session_voter_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Session Voter Id
        source:
          default: human
          title: Source
          type: string
      required:
        - id
        - sample_id
        - axis_key
        - score
      title: RlhfNumericScore
      type: object
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object
  securitySchemes:
    BearerAuth:
      bearerFormat: Supabase JWT
      scheme: bearer
      type: http
    ApiKeyAuth:
      in: header
      name: X-API-Key
      type: apiKey

````