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

# フィードバック作成

> call または object にフィードバックを追加します。



## OpenAPI

````yaml /ja/weave/reference/service-api/openapi.json post /feedback/create
openapi: 3.1.0
info:
  title: FastAPI
  version: 0.1.0
servers: []
security: []
paths:
  /feedback/create:
    post:
      tags:
        - Feedback
      summary: フィードバック作成
      description: call または object にフィードバックを追加します。
      operationId: feedback_create_feedback_create_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FeedbackCreateReq'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FeedbackCreateRes'
          description: 成功レスポンス
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: 検証エラー
      security:
        - HTTPBasic: []
        - HTTPBearer: []
components:
  schemas:
    FeedbackCreateReq:
      additionalProperties: false
      properties:
        annotation_ref:
          anyOf:
            - type: string
            - type: 'null'
          examples:
            - weave:///entity/project/object/name:digest
          title: Annotation Ref
        call_ref:
          anyOf:
            - type: string
            - type: 'null'
          examples:
            - weave:///entity/project/call/call_id
          title: Call Ref
        creator:
          anyOf:
            - type: string
            - type: 'null'
          examples:
            - Jane Smith
          title: Creator
        feedback_type:
          examples:
            - custom
          title: Feedback Type
          type: string
        id:
          anyOf:
            - type: string
            - type: 'null'
          description: クライアントから指定された場合、この ID はサーバー生成の ID の代わりにフィードバック行に使用されます。
          examples:
            - 018f1f2a-9c2b-7d3e-b5a1-8c9d2e4f6a7b
          title: Id
        payload:
          additionalProperties: true
          examples:
            - key: value
          title: Payload
          type: object
        project_id:
          examples:
            - entity/project
          title: Project Id
          type: string
        queue_id:
          anyOf:
            - type: string
            - type: 'null'
          description: >-
            このフィードバックの作成元となった annotation queue の ID。annotation_queues.id
            を参照します。キュー外でフィードバックが作成された場合は NULL です。
          examples:
            - 018f1f2a-9c2b-7d3e-b5a1-8c9d2e4f6a7b
          title: Queue Id
        runnable_ref:
          anyOf:
            - type: string
            - type: 'null'
          examples:
            - weave:///entity/project/op/name:digest
          title: Runnable Ref
        scorer_rating_confidences:
          additionalProperties:
            type: number
          description: レーティング名をキーとする、レーティングごとの信頼度 (0-1)
          examples:
            - _rating_: 0.92
          title: Scorer Rating Confidences
          type: object
        scorer_rating_reasons:
          additionalProperties:
            type: string
          description: レーティング名をキーとする、レーティングごとの理由テキスト
          examples:
            - _rating_: very confident response
          title: Scorer Rating Reasons
          type: object
        scorer_ratings:
          additionalProperties:
            type: number
          description: レーティング名をキーとする数値評価 (0-1)
          examples:
            - _rating_: 0.87
          title: Scorer Ratings
          type: object
        scorer_tag_confidences:
          additionalProperties:
            type: number
          description: タグ名をキーとする、タグごとの信頼度 (0-1)
          examples:
            - nsfw: 0.92
          title: Scorer Tag Confidences
          type: object
        scorer_tag_reasons:
          additionalProperties:
            type: string
          description: タグ名をキーとする、タグごとの理由テキスト
          examples:
            - nsfw: Contains explicit language
          title: Scorer Tag Reasons
          type: object
        scorer_tags:
          description: scorer が ref に適用したタグ
          examples:
            - - nsfw
              - high-quality
          items:
            type: string
          title: Scorer Tags
          type: array
        trigger_ref:
          anyOf:
            - type: string
            - type: 'null'
          examples:
            - weave:///entity/project/object/name:digest
          title: Trigger Ref
        wb_user_id:
          anyOf:
            - type: string
            - type: 'null'
          description: 直接設定しないでください。サーバーがこのフィールドを自動的に設定します。
          title: Wb User Id
        weave_ref:
          examples:
            - weave:///entity/project/object/name:digest
          title: Weave Ref
          type: string
      required:
        - project_id
        - weave_ref
        - feedback_type
        - payload
      title: FeedbackCreateReq
      type: object
    FeedbackCreateRes:
      properties:
        created_at:
          format: date-time
          title: Created At
          type: string
        id:
          title: Id
          type: string
        payload:
          additionalProperties: true
          title: Payload
          type: object
        wb_user_id:
          title: Wb User Id
          type: string
      required:
        - id
        - created_at
        - wb_user_id
        - payload
      title: FeedbackCreateRes
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      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:
    HTTPBasic:
      scheme: basic
      type: http
    HTTPBearer:
      scheme: bearer
      type: http

````